Skip to content

Commit

Permalink
Disable Firefox fullscreen/minimize tests on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Oct 4, 2018
1 parent f377ced commit 027b294
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rb/spec/integration/selenium/webdriver/window_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ module WebDriver
end

# Edge: Not Yet - https://dev.windows.com/en-us/microsoft-edge/platform/status/webdriver/details/
it 'can make window full screen', only: {window_manager: true, browser: [:ie, :firefox]} do
# https://github.com/mozilla/geckodriver/issues/1281
it 'can make window full screen', only: {window_manager: true, browser: [:ie, :firefox]}, exclude: {driver: :remote, browser: :firefox, platform: :linux} do
window.size = old_size = Dimension.new(200, 200)

window.full_screen
wait.until { window.size != old_size }

new_size = window.size
Expand All @@ -127,7 +127,8 @@ module WebDriver
end

# Edge: Not Yet - https://dev.windows.com/en-us/microsoft-edge/platform/status/webdriver/details/
it 'can minimize the window', only: {window_manager: true, browser: [:ie, :firefox]} do
# https://github.com/mozilla/geckodriver/issues/1281
it 'can minimize the window', only: {window_manager: true, browser: [:ie, :firefox]}, exclude: {driver: :remote, browser: :firefox, platform: :linux} do
window.minimize
expect(driver.execute_script('return document.hidden;')).to be true
end
Expand Down

0 comments on commit 027b294

Please sign in to comment.