Skip to content

Commit

Permalink
Ensure failing new_window tests are not pending
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Mar 26, 2019
1 parent 2960a3d commit 44df7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rb/spec/integration/selenium/webdriver/options_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ module WebDriver
end
end

describe 'new_window', only: {browser: %i[safari_preview firefox ie]} do
describe 'new_window' do
types = [:tab, :window] # Stores the valid type values for new_window
types.each do |type|
it "should be able to open a new #{type}" do
it "should be able to open a new #{type}", only: {browser: %i[safari_preview firefox ie]} do
# Store the count of window handles before executing action
before_window_handles = driver.window_handles.length
# Open a new window
Expand Down

0 comments on commit 44df7c4

Please sign in to comment.