Skip to content

Commit

Permalink
Merge branch 'trunk' into add-duration-to-action-constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
iampopovich authored Jun 13, 2024
2 parents 3da9a0f + 9938f15 commit 0ef4c94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ def test_set_socket_url():
options = ArgOptions()
options.web_socket_url = "socket_url"
assert options.enable_bidi is True
assert options.web_socket_url is "socket_url"
assert options.web_socket_url == "socket_url"
2 changes: 2 additions & 0 deletions rb/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Metrics/PerceivedComplexity:
Naming/FileName:
Exclude:
- 'lib/selenium-webdriver.rb'
- 'Rakefile'
- '../Rakefile'

Naming/MethodParameterName:
AllowedNames:
Expand Down
5 changes: 1 addition & 4 deletions rb/spec/integration/selenium/webdriver/driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ module WebDriver
}.to raise_error(Error::NoSuchElementError, /errors#no-such-element-exception/)
end

it 'raises if invalid locator',
except: {browser: %i[chrome edge],
reason: 'https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743'},
exclude: {browser: %i[safari safari_preview], reason: 'Safari TimeoutError'} do
it 'raises if invalid locator', exclude: {browser: %i[safari safari_preview], reason: 'Safari TimeoutError'} do
driver.navigate.to url_for('xhtmlTest.html')
expect {
driver.find_element(xpath: '*?//-')
Expand Down

0 comments on commit 0ef4c94

Please sign in to comment.