Fixes automation.

This commit is contained in:
Krunoslav Zaher 2016-01-10 22:42:15 +01:00
parent 3b0c80dbf1
commit 38cd00522d
4 changed files with 4 additions and 4 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()[10].tap();
target.frontMostApp().mainWindow().tableViews()[0].cells()[11].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()[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});

View File

@ -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();

View File

@ -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();