diff --git a/rb/spec/integration/selenium/webdriver/window_spec.rb b/rb/spec/integration/selenium/webdriver/window_spec.rb index 6f78e57b77b20..faa630d5ae5a8 100644 --- a/rb/spec/integration/selenium/webdriver/window_spec.rb +++ b/rb/spec/integration/selenium/webdriver/window_spec.rb @@ -116,7 +116,8 @@ module WebDriver # Edge: Not Yet - https://dev.windows.com/en-us/microsoft-edge/platform/status/webdriver/details/ # 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 + it 'can make window full screen', only: {window_manager: true, browser: %i[ie firefox]}, + exclude: {driver: :remote, browser: :firefox, platform: :linux} do window.size = old_size = Dimension.new(200, 200) wait.until { window.size != old_size } @@ -128,7 +129,8 @@ module WebDriver # Edge: Not Yet - https://dev.windows.com/en-us/microsoft-edge/platform/status/webdriver/details/ # 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 + it 'can minimize the window', only: {window_manager: true, browser: %i[ie firefox]}, + exclude: {driver: :remote, browser: :firefox, platform: :linux} do window.minimize expect(driver.execute_script('return document.hidden;')).to be true end