From 30e33a980456bb3bfa68611429d935b6440d4e3f Mon Sep 17 00:00:00 2001 From: titusfortner Date: Wed, 3 Feb 2021 18:05:06 -0600 Subject: [PATCH] [rb] guard spec for Firefox secure cookie handling pending https://github.com/mozilla/geckodriver/issues/1840 --- rb/spec/integration/selenium/webdriver/manager_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rb/spec/integration/selenium/webdriver/manager_spec.rb b/rb/spec/integration/selenium/webdriver/manager_spec.rb index d8b2cbc981f38..57ec36aadfcd2 100644 --- a/rb/spec/integration/selenium/webdriver/manager_spec.rb +++ b/rb/spec/integration/selenium/webdriver/manager_spec.rb @@ -64,7 +64,8 @@ module WebDriver expect(driver.manage.cookie_named('security')[:http_only]).to eq true end - it 'should not show secure when insecure' do + it 'should not add secure when http', except: {browser: :firefox, + reason: 'https://github.com/mozilla/geckodriver/issues/1840'} do driver.navigate.to url_for('xhtmlTest.html') driver.manage.add_cookie name: 'security', value: 'secure',