Skip to content

Commit 6d8c621

Browse files
committed
rb - specs passing on safari
1 parent 26e4ac8 commit 6d8c621

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

rb/spec/integration/selenium/webdriver/element_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
require_relative 'spec_helper'
2121

2222
describe "Element" do
23+
before do
24+
compliant_on :browser => :safari do
25+
sleep 0.5 # Some kind of race condition preventing initial navigation; only on safari
26+
end
27+
end
2328

2429
it "should click" do
2530
driver.navigate.to url_for("formPage.html")

rb/spec/integration/selenium/webdriver/target_locator_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
end
7777
end
7878

79+
# Safari Note - Ensure Popup Blocker turned off to prevent failures
7980
not_compliant_on :browser => :iphone do
8081
it "should switch to a window and back when given a block" do
8182
driver.navigate.to url_for("xhtmlTest.html")

0 commit comments

Comments
 (0)