1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

FF 63 fixes prompt response issue

This commit is contained in:
Thomas Walpole 2018-08-31 13:33:42 -07:00
parent 14376690fd
commit 77f764c055
3 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ Capybara::SpecHelper.run_specs TestSessions::RemoteFirefox, FIREFOX_REMOTE_DRIVE
when /^Capybara::Session selenium node #double_click/ when /^Capybara::Session selenium node #double_click/
pending "selenium-webdriver/geckodriver doesn't generate double click event" if marionette_lt?(59, @session) 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' 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 - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485" pending "Geckodriver doesn't set a blank response in FF < 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485" if marionette_lt?(63, @session)
when 'Capybara::Session selenium_firefox_remote #attach_file with multipart form should fire change once for each set of files uploaded', 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' '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' pending 'Due to having to work around selenium remote lack of multiple file upload support the change event count is off'

View file

@ -46,11 +46,11 @@ Capybara::SpecHelper.run_specs TestSessions::SeleniumIE, 'selenium', capybara_sk
when /#double_click should allow multiple modifiers$/ when /#double_click should allow multiple modifiers$/
skip "Windows can't :alt double click due to being properties shortcut" skip "Windows can't :alt double click due to being properties shortcut"
when /via clicking the wrapping label if possible$/ when /via clicking the wrapping label if possible$/
pending "IEDriver has an issue with the click location of elements with multiple children if the first child is a text node and the page is scrolled" pending 'IEDriver has an issue with the click location of elements with multiple children if the first child is a text node and the page is scrolled'
end end
end end
RSpec.describe 'Capybara::Session with Internet Explorer', capybara_skip: skipped_tests do RSpec.describe 'Capybara::Session with Internet Explorer', capybara_skip: skipped_tests do # rubocop:disable RSpec/MultipleDescribes
include Capybara::SpecHelper include Capybara::SpecHelper
include_examples 'Capybara::Session', TestSessions::SeleniumIE, :selenium_ie include_examples 'Capybara::Session', TestSessions::SeleniumIE, :selenium_ie
include_examples Capybara::RSpecMatchers, TestSessions::SeleniumIE, :selenium_ie include_examples Capybara::RSpecMatchers, TestSessions::SeleniumIE, :selenium_ie

View file

@ -55,7 +55,7 @@ Capybara::SpecHelper.run_specs TestSessions::SeleniumMarionette, 'selenium', cap
when /^Capybara::Session selenium node #double_click/ when /^Capybara::Session selenium node #double_click/
pending "selenium-webdriver/geckodriver doesn't generate double click event" if marionette_lt?(59, @session) 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' 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 - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485" pending "Geckodriver doesn't set a blank response in FF < 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1486485" if marionette_lt?(63, @session)
when 'Capybara::Session selenium #attach_file with multipart form should fire change once for each set of files uploaded' 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 ' \ pending 'Gekcodriver appends files so we have to first call clear for multiple files which creates an extra change ' \
'if files are already set' 'if files are already set'