Skip to content

Commit

Permalink
Revert "[rb] Disable window minimize test for Chrome on Linux CI"
Browse files Browse the repository at this point in the history
This reverts commit cc87ca0.
  • Loading branch information
p0deje committed May 1, 2023
1 parent cc87ca0 commit 83b0b0d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rb/spec/integration/selenium/webdriver/window_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ module WebDriver
expect(new_size.height).to be > old_size.height
end

it 'can minimize the window', except: [
{browser: %i[chrome edge], headless: true, reason: 'Cannot minimize a headless window'},
{browser: :chrome, platform: :linux, ci: :github, reason: 'Minimize fails with an error'}
] do
it 'can minimize the window', except: {browser: %i[chrome edge], headless: true} do
window.minimize
expect(driver.execute_script('return document.hidden;')).to be true
end
Expand Down

0 comments on commit 83b0b0d

Please sign in to comment.