Skip to content

Commit cc87ca0

Browse files
committed
[rb] Disable window minimize test for Chrome on Linux CI
1 parent f2b2780 commit cc87ca0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rb/spec/integration/selenium/webdriver/window_spec.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ module WebDriver
124124
expect(new_size.height).to be > old_size.height
125125
end
126126

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

0 commit comments

Comments
 (0)