Adapts automation scripts to new example app.

This commit is contained in:
Krunoslav Zaher 2015-12-30 03:17:04 +01:00
parent f4ef06e88d
commit 1ca156c1a2
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ test("----- searchWikipedia -----", function (check, pass) {
var width = target.frontMostApp().mainWindow().rect().size.width
target.frontMostApp().mainWindow().tableViews()[0].cells()[8].tap();
target.frontMostApp().mainWindow().tableViews()[0].cells()[9].tap();
target.delay(2);

View File

@ -8,7 +8,7 @@ test("----- masterDetail -----", function (check, pass) {
var target = UIATarget.localTarget()
target.frontMostApp().mainWindow().tableViews()[0].cells()[7].tap();
target.frontMostApp().mainWindow().tableViews()[0].cells()[8].tap();
target.frontMostApp().navigationBar().rightButton().tap();
target.frontMostApp().mainWindow().dragInsideWithOptions({startOffset:{x:0.93, y:yOffset(300)}, endOffset:{x:0.95, y:yOffset(200)}, duration:1.5});
target.frontMostApp().mainWindow().dragInsideWithOptions({startOffset:{x:0.93, y:yOffset(300)}, endOffset:{x:0.95, y:yOffset(100)}, duration:1.5});

View File

@ -3,7 +3,7 @@
test("----- reactivePartialUpdates -----", function (check, pass) {
var target = UIATarget.localTarget()
target.frontMostApp().mainWindow().tableViews()[0].cells()[10].tap();
target.frontMostApp().mainWindow().tableViews()[0].cells()[11].tap();
target.frontMostApp().navigationBar().rightButton().tap();
target.frontMostApp().navigationBar().rightButton().tap();
target.frontMostApp().navigationBar().rightButton().tap();