From fc8e6516fe721256f2696aca91d877e03c409436 Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Sun, 14 Apr 2024 15:22:20 -0700 Subject: [PATCH] Skip popover click test in firefox until supported --- spec/selenium_spec_firefox.rb | 2 ++ spec/selenium_spec_firefox_remote.rb | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/spec/selenium_spec_firefox.rb b/spec/selenium_spec_firefox.rb index 8d63c37e9..4881b510e 100644 --- a/spec/selenium_spec_firefox.rb +++ b/spec/selenium_spec_firefox.rb @@ -89,6 +89,8 @@ module TestSessions skip 'Not supported with this geckodriver version' if geckodriver_lt?('0.31.0', @session) when /Capybara::Session selenium node #set should submit single text input forms if ended with \\n/ pending 'Firefox/geckodriver doesn\'t submit with values ending in \n' + when /Capybara::Session selenium #click_button should work with popovers/ + skip "Firefox doesn't currently support popover functionality" when /popover/ pending "Firefox doesn't currently support popover functionality" end diff --git a/spec/selenium_spec_firefox_remote.rb b/spec/selenium_spec_firefox_remote.rb index 028197945..7fee34948 100644 --- a/spec/selenium_spec_firefox_remote.rb +++ b/spec/selenium_spec_firefox_remote.rb @@ -79,6 +79,10 @@ module TestSessions skip 'Not supported with this geckodriver version' if geckodriver_lt?('0.31.0', @session) when /Capybara::Session selenium node #set should submit single text input forms if ended with \\n/ pending 'Firefox/geckodriver doesn\'t submit with values ending in \n' + when /Capybara::Session selenium_firefox_remote #click_button should work with popovers/ + skip "Firefox doesn't currently support popover functionality" + when /popover/ + pending "Firefox doesn't currently support popover functionality" end end