diff --git a/rb/spec/integration/selenium/webdriver/action_builder_spec.rb b/rb/spec/integration/selenium/webdriver/action_builder_spec.rb index a997b52fad285..b1edeb6a3a193 100644 --- a/rb/spec/integration/selenium/webdriver/action_builder_spec.rb +++ b/rb/spec/integration/selenium/webdriver/action_builder_spec.rb @@ -317,7 +317,7 @@ module WebDriver end describe '#scroll_by' do - it 'scrolls by given amount' do + it 'scrolls by given amount', except: {browser: :firefox, reason: 'returns false on firefox'} do driver.navigate.to url_for('scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html') footer = driver.find_element(tag_name: 'footer') delta_y = footer.rect.y.round diff --git a/rb/spec/integration/selenium/webdriver/bidi/network_spec.rb b/rb/spec/integration/selenium/webdriver/bidi/network_spec.rb index 2819b0eafc0ab..e83328dcd33dd 100644 --- a/rb/spec/integration/selenium/webdriver/bidi/network_spec.rb +++ b/rb/spec/integration/selenium/webdriver/bidi/network_spec.rb @@ -145,7 +145,8 @@ class BiDi end end - it 'provides response' do + it 'provides response', except: { browser: :firefox, + reason: 'https://github.com/w3c/webdriver-bidi/issues/747' } do reset_driver!(web_socket_url: true) do |driver| network = described_class.new(driver.bidi) network.add_intercept(phases: [described_class::PHASES[:response_started]]) diff --git a/rb/spec/integration/selenium/webdriver/network_spec.rb b/rb/spec/integration/selenium/webdriver/network_spec.rb index 210e2d2e9d229..fb08967da3b46 100644 --- a/rb/spec/integration/selenium/webdriver/network_spec.rb +++ b/rb/spec/integration/selenium/webdriver/network_spec.rb @@ -21,8 +21,8 @@ module Selenium module WebDriver - describe Network, exclusive: {bidi: true, reason: 'only executed when bidi is enabled'}, - only: {browser: %i[chrome edge firefox]} do + describe Network, exclusive: { bidi: true, reason: 'only executed when bidi is enabled' }, + only: { browser: %i[chrome edge firefox] } do let(:username) { SpecSupport::RackServer::TestApp::BASIC_AUTH_CREDENTIALS.first } let(:password) { SpecSupport::RackServer::TestApp::BASIC_AUTH_CREDENTIALS.last } @@ -160,7 +160,7 @@ module WebDriver sameSite: 'Strict', expiry: 1234 }) - request.body = ({test: 'example'}) + request.body = ({ test: 'example' }) request.continue end driver.navigate.to url_for('formPage.html') @@ -262,7 +262,9 @@ module WebDriver end end - it 'adds a response handler that provides a response' do + it 'adds a response handler that provides a response', + except: { browser: :firefox, + reason: 'https://github.com/w3c/webdriver-bidi/issues/747' } do reset_driver!(web_socket_url: true) do |driver| network = described_class.new(driver) network.add_response_handler do |response|