Skip to content

Commit

Permalink
rb - remote specs passing on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Oct 12, 2015
1 parent 69be286 commit 9200baa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rb/spec/integration/selenium/webdriver/element_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
not_compliant_on :driver => :wires do
it "should submit" do
driver.navigate.to url_for("formPage.html")
wait(5).until {driver.find_elements(:id, "submitButton").size > 0}
driver.find_element(:id, "submitButton").submit
end
end
Expand Down
2 changes: 1 addition & 1 deletion rb/spec/integration/selenium/webdriver/error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}.to raise_error(WebDriver::Error::NoSuchElementError)
end

compliant_on :driver => [:remote, :firefox] do
compliant_on({:driver => :firefox}, {:driver => :remote, :browser => :firefox}) do
it "should show stack trace information" do
driver.navigate.to url_for("xhtmlTest.html")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module WebDriver
driver.file_detector = nil
end

not_compliant_on :browser => :phantomjs do
not_compliant_on :browser => [:phantomjs, :safari] do
it "uses the file detector" do
driver.navigate.to url_for("upload.html")

Expand Down

0 comments on commit 9200baa

Please sign in to comment.