Skip to content

Commit

Permalink
Fix rubocop error with test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 26, 2019
1 parent 87d060e commit bf3a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/spec/integration/selenium/webdriver/element_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module WebDriver
driver.find_element(id: 'imageButton').click
end

it 'should raise if different element receives click', only: {browser: %i[chrome]} do
it 'should raise wrong error if different element receives click in Chrome', only: {browser: %i[chrome]} do
driver.navigate.to url_for('click_tests/overlapping_elements.html')
element_error = 'Other element would receive the click: <div id="over"><\/div>'
error = /is not clickable at point \(\d+, \d+\)\. #{element_error}/
Expand Down

0 comments on commit bf3a65f

Please sign in to comment.