Revert to iPhone 6.1 (don't why it fails)

Add another safety check.
This commit is contained in:
Sébastien Lucas 2014-04-13 06:40:40 +02:00
parent 5e541e02e3
commit 258ee57556
1 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,8 @@ class Cops extends Sauce\Sausage\WebDriverTestCase
'desiredCapabilities' => array( 'desiredCapabilities' => array(
'app' => 'safari', 'app' => 'safari',
'device' => 'iPhone Simulator', 'device' => 'iPhone Simulator',
'version' => '7.1', 'version' => '6.1',
'platform' => 'Mac 10.9', 'platform' => 'Mac 10.8',
) )
), ),
// run Mobile Browser on Android // run Mobile Browser on Android
@ -154,6 +154,7 @@ class Cops extends Sauce\Sausage\WebDriverTestCase
}; };
// Click on the wrench to enable tag filtering // Click on the wrench to enable tag filtering
$this->spinWait ("", $element_present, [ "class name", 'icon-wrench']);
$this->byClassName ("icon-wrench")->click (); $this->byClassName ("icon-wrench")->click ();
$this->spinWait ("", $element_present, [ "id", "html_tag_filter"]); $this->spinWait ("", $element_present, [ "id", "html_tag_filter"]);