Fixed two android tests to account for small emulator screens and floating density

This commit is contained in:
Hristo Hristov
2017-11-06 17:02:44 +02:00
parent 501b954c47
commit 2e2467ce5d
2 changed files with 11 additions and 11 deletions

View File

@@ -172,7 +172,7 @@ class ScrollLayoutTest extends UITest<ScrollView> {
helper.goBack();
// Check horizontalOffset after navigation
TKUnit.assertEqual(this.testView.horizontalOffset, 100, "this.testView.horizontalOffset after navigation");
TKUnit.assertEqual(this.testView.horizontalOffset, offset, "this.testView.horizontalOffset after navigation");
}
public test_scrollView_vertical_raised_scroll_event() {