diff --git a/rb/spec/integration/selenium/webdriver/window_spec.rb b/rb/spec/integration/selenium/webdriver/window_spec.rb index 0696ea9779da4..d47fd3df08616 100644 --- a/rb/spec/integration/selenium/webdriver/window_spec.rb +++ b/rb/spec/integration/selenium/webdriver/window_spec.rb @@ -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