Skip to content

Commit

Permalink
[rb] remove passing guards
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtierney committed Jan 16, 2019
1 parent 97c9393 commit 69089db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module WebDriver
expect(driver.find_element(id: 'result').text.strip).to be_empty
end

# https://github.com/mozilla/geckodriver/issues/646
it 'can send keys with shift pressed', except: {browser: %i[firefox safari safari_preview]} do
it 'can send keys with shift pressed', except: {browser: %i[safari safari_preview]} do
driver.navigate.to url_for('javascriptPage.html')

event_input = driver.find_element(id: 'theworks')
Expand Down
2 changes: 1 addition & 1 deletion rb/spec/integration/selenium/webdriver/window_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module WebDriver
expect(new_rect.height).to eq(target_height)
end

it 'can maximize the current window', except: {window_manager: false} do
it 'can maximize the current window', except: {window_manager: false, browser: %i[ie firefox safari]} do
window.size = old_size = Dimension.new(200, 200)

window.maximize
Expand Down

0 comments on commit 69089db

Please sign in to comment.