Skip to content

Commit

Permalink
Document marionette/geckodriver bug that causes test failure - https:…
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Aug 27, 2018
1 parent 4ebb92d commit 6472e2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/capybara/spec/session/has_selector_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
expect(@session).to have_selector(:id, 'second', text: 'text with whitespace', normalize_ws: true)
end
end

context 'Capybara.default_normalize_ws = true' do
it 'should support normalize_ws option' do
Capybara.default_normalize_ws = true
Expand Down
2 changes: 1 addition & 1 deletion spec/selenium_spec_firefox_remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module TestSessions
when /^Capybara::Session selenium node #double_click/
pending "selenium-webdriver/geckodriver doesn't generate double click event" if marionette_lt?(59, @session)
when 'Capybara::Session selenium_firefox_remote #accept_prompt should accept the prompt with a blank response when there is a default'
pending "Geckodriver doesn't set a blank response currently"
pending "Geckodriver doesn't set a blank response currently - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485"
when 'Capybara::Session selenium_firefox_remote #attach_file with multipart form should fire change once for each set of files uploaded',
'Capybara::Session selenium_firefox_remote #attach_file with multipart form should fire change once when uploading multiple files from empty'
pending 'Due to having to work around selenium remote lack of multiple file upload support the change event count is off'
Expand Down
2 changes: 1 addition & 1 deletion spec/selenium_spec_marionette.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module TestSessions
when /^Capybara::Session selenium node #double_click/
pending "selenium-webdriver/geckodriver doesn't generate double click event" if marionette_lt?(59, @session)
when 'Capybara::Session selenium #accept_prompt should accept the prompt with a blank response when there is a default'
pending "Geckodriver doesn't set a blank response currently"
pending "Geckodriver doesn't set a blank response currently - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485"
when 'Capybara::Session selenium #attach_file with multipart form should fire change once for each set of files uploaded'
pending 'Gekcodriver appends files so we have to first call clear for multiple files which creates an extra change ' \
'if files are already set'
Expand Down

0 comments on commit 6472e2e

Please sign in to comment.