Skip to content

Commit

Permalink
[rb] Disable permission tests in Chrome 109
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Jan 19, 2023
1 parent 4a2c863 commit e375dd8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def get_permission(name)
'callback(navigator.permissions.query({name: arguments[0]}));', name)['state']
end

it 'can set single permissions' do
it 'can set single permissions', except: {
browser: :chrome, reason: 'https://bugs.chromium.org/p/chromedriver/issues/detail?id=4335'
} do
driver.navigate.to url_for('xhtmlTest.html')

expect(get_permission('clipboard-read')).to eq('prompt')
Expand All @@ -171,7 +173,9 @@ def get_permission(name)
reset_driver!
end

it 'can set multiple permissions' do
it 'can set multiple permissions', except: {
browser: :chrome, reason: 'https://bugs.chromium.org/p/chromedriver/issues/detail?id=4335'
} do
driver.navigate.to url_for('xhtmlTest.html')

expect(get_permission('clipboard-read')).to eq('prompt')
Expand Down

0 comments on commit e375dd8

Please sign in to comment.