Skip to content

Commit

Permalink
Merge branch 'trunk' into pinned-browser-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
VietND96 authored Oct 30, 2024
2 parents 43f24b5 + 5be3015 commit d86a9dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions rb/spec/integration/selenium/webdriver/remote/driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ module Remote

it 'errors when not set', {except: {browser: :firefox, reason: 'grid always sets true and firefox returns it'},
exclude: {browser: :safari, reason: 'grid hangs'}} do
expect {
driver.downloadable_files
}.to raise_exception(Error::WebDriverError,
'You must enable downloads in order to work with downloadable files.')
reset_driver!(enable_downloads: false) do |driver|
expect {
driver.downloadable_files
}.to raise_exception(Error::WebDriverError,
'You must enable downloads in order to work with downloadable files.')
end
end

private
Expand Down

0 comments on commit d86a9dc

Please sign in to comment.