diff --git a/scripts/automation-tests/02_searchWikipedia.js b/scripts/automation-tests/02_searchWikipedia.js index 85b52746..ede5f993 100644 --- a/scripts/automation-tests/02_searchWikipedia.js +++ b/scripts/automation-tests/02_searchWikipedia.js @@ -6,7 +6,7 @@ test("----- searchWikipedia -----", function (check, pass) { var width = target.frontMostApp().mainWindow().rect().size.width - target.frontMostApp().mainWindow().tableViews()[0].cells()[10].tap(); + target.frontMostApp().mainWindow().tableViews()[0].cells()[11].tap(); target.delay(2); diff --git a/scripts/automation-tests/03_masterDetail.js b/scripts/automation-tests/03_masterDetail.js index 9305e68d..2ccfc3dd 100644 --- a/scripts/automation-tests/03_masterDetail.js +++ b/scripts/automation-tests/03_masterDetail.js @@ -8,7 +8,7 @@ test("----- masterDetail -----", function (check, pass) { var target = UIATarget.localTarget() - target.frontMostApp().mainWindow().tableViews()[0].cells()[8].tap(); + target.frontMostApp().mainWindow().tableViews()[0].cells()[9].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}); diff --git a/scripts/automation-tests/05_reactivePartialUpdates.js b/scripts/automation-tests/05_reactivePartialUpdates.js index 3605b25b..8840090e 100644 --- a/scripts/automation-tests/05_reactivePartialUpdates.js +++ b/scripts/automation-tests/05_reactivePartialUpdates.js @@ -3,7 +3,7 @@ test("----- reactivePartialUpdates -----", function (check, pass) { var target = UIATarget.localTarget() - target.frontMostApp().mainWindow().tableViews()[0].cells()[9].tap(); + target.frontMostApp().mainWindow().tableViews()[0].cells()[10].tap(); var rightButton = target.frontMostApp().navigationBar().rightButton(); rightButton.tap(); diff --git a/scripts/automation-tests/main.js b/scripts/automation-tests/main.js index a0588dd8..51e5c556 100644 --- a/scripts/automation-tests/main.js +++ b/scripts/automation-tests/main.js @@ -9,7 +9,7 @@ var target = UIATarget.localTarget(); // open all screens -for (var i = 0; i < 11; ++i) { +for (var i = 0; i < 12; ++i) { log(i); target.delay( 0.5 ); target.frontMostApp().mainWindow().tableViews()[0].cells()[i].tap();