From cc87ca0e434b5f89bbc8a7ed9d20b94939093ccb Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Mon, 1 May 2023 07:45:50 -0700 Subject: [PATCH] [rb] Disable window minimize test for Chrome on Linux CI --- rb/spec/integration/selenium/webdriver/window_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rb/spec/integration/selenium/webdriver/window_spec.rb b/rb/spec/integration/selenium/webdriver/window_spec.rb index d47fd3df08616..0696ea9779da4 100644 --- a/rb/spec/integration/selenium/webdriver/window_spec.rb +++ b/rb/spec/integration/selenium/webdriver/window_spec.rb @@ -124,7 +124,10 @@ module WebDriver expect(new_size.height).to be > old_size.height end - it 'can minimize the window', except: {browser: %i[chrome edge], headless: true} do + 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 window.minimize expect(driver.execute_script('return document.hidden;')).to be true end