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

Add another safety check.
このコミットが含まれているのは:
Sébastien Lucas 2014-04-13 06:40:40 +02:00
コミット 258ee57556
1個のファイルの変更3行の追加2行の削除

ファイルの表示

@ -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"]);