Skip to content

Commit 2f5c9be

Browse files
committed
fix guard
1 parent bf45af7 commit 2f5c9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ module WebDriver
102102
expect(new_rect.height).to eq(target_height)
103103
end
104104

105-
it 'can maximize the current window' do
105+
it 'can maximize the current window', except: {browser: :firefox, platform: :macosx, headless: true} do
106106
window.size = old_size = Dimension.new(700, 700)
107107

108108
window.maximize
109109
wait.until { window.size != old_size }
110110

111111
new_size = window.size
112112
expect(new_size.width).to be > old_size.width
113-
expect(new_size.height).to be >= old_size.height
113+
expect(new_size.height).to be > old_size.height
114114
end
115115

116116
it 'can make window full screen', except: {browser: %i[chrome edge], headless: true} do

0 commit comments

Comments
 (0)