Skip to content

Commit

Permalink
Ensure DevTools tests don't leak into other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Mar 23, 2020
1 parent b65d665 commit 2a8d807
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rb/spec/integration/selenium/webdriver/devtools_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
module Selenium
module WebDriver
describe DevTools, only: {driver: :chrome} do
after do
quit_driver
end

it 'sends commands' do
driver.devtools.page.navigate(url: url_for('xhtmlTest.html'))
expect(driver.title).to eq("XHTML Test Page")
Expand Down

0 comments on commit 2a8d807

Please sign in to comment.