From 258ee57556c0923ae0aa8a222917d07cc3e0e415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 13 Apr 2014 06:40:40 +0200 Subject: [PATCH] Revert to iPhone 6.1 (don't why it fails) Add another safety check. --- test/Sauce.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Sauce.php b/test/Sauce.php index f90d8b8..f605b38 100644 --- a/test/Sauce.php +++ b/test/Sauce.php @@ -43,8 +43,8 @@ class Cops extends Sauce\Sausage\WebDriverTestCase 'desiredCapabilities' => array( 'app' => 'safari', 'device' => 'iPhone Simulator', - 'version' => '7.1', - 'platform' => 'Mac 10.9', + 'version' => '6.1', + 'platform' => 'Mac 10.8', ) ), // run Mobile Browser on Android @@ -154,6 +154,7 @@ class Cops extends Sauce\Sausage\WebDriverTestCase }; // Click on the wrench to enable tag filtering + $this->spinWait ("", $element_present, [ "class name", 'icon-wrench']); $this->byClassName ("icon-wrench")->click (); $this->spinWait ("", $element_present, [ "id", "html_tag_filter"]);