diff --git a/rb/Gemfile.lock b/rb/Gemfile.lock index 2def709ddc400..f19bba78c2ceb 100644 --- a/rb/Gemfile.lock +++ b/rb/Gemfile.lock @@ -98,4 +98,4 @@ DEPENDENCIES yard (~> 0.9.11) BUNDLED WITH - 2.2.33 + 2.2.34 diff --git a/rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb b/rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb index 7a3510c9522ce..dce9f99b24208 100644 --- a/rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb +++ b/rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb @@ -37,18 +37,22 @@ class BiDi expect(browsing_context.id).not_to be_nil end - it 'can create a window with a reference context', except: {browser: %i[chrome edge]} do + it 'can create a window with a reference context', except: [{browser: :chrome, + platform: %i[linux macosx]}, + {browser: :edge}] do browsing_context = described_class.new(driver: driver, type: :window, reference_context: driver.window_handle) expect(browsing_context.id).not_to be_nil end - it 'can create a tab' do + it 'can create a tab without a reference context' do browsing_context = described_class.new(driver: driver, type: :tab) expect(browsing_context.id).not_to be_nil end - it 'can create a tab with a reference context', except: {browser: %i[chrome edge]} do + it 'can create a tab with a reference context', except: [{browser: :chrome, + platform: %i[linux macosx]}, + {browser: :edge}] do browsing_context = described_class.new(driver: driver, type: :tab, reference_context: driver.window_handle) expect(browsing_context.id).not_to be_nil end diff --git a/rb/spec/integration/selenium/webdriver/manager_spec.rb b/rb/spec/integration/selenium/webdriver/manager_spec.rb index 0209d3beae197..faac873e51ea2 100644 --- a/rb/spec/integration/selenium/webdriver/manager_spec.rb +++ b/rb/spec/integration/selenium/webdriver/manager_spec.rb @@ -81,14 +81,6 @@ module WebDriver expect(driver.manage.cookie_named('domain')[:domain]).to eq('.saucelabs.com') end - it 'does not allow domain to be set for localhost', except: {browser: %i[safari safari_preview]} do - expect { - driver.manage.add_cookie name: 'domain', - value: 'localhost', - domain: 'localhost' - }.to raise_error(Error::UnableToSetCookieError) - end - it 'does not allow setting on a different domain', except: {browser: %i[safari safari_preview]} do expect { driver.manage.add_cookie name: 'domain',