Skip to content

Commit

Permalink
[rb] add test guard back
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jun 16, 2024
1 parent 7eaf154 commit 419944d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ module Firefox
page: {width: 30})).to include(magic_number)
end

it 'prints full page', except: {platform: :windows,
reason: 'Some issues with resolution?'} do
it 'prints full page', except: [{platform: :windows,
reason: 'Some issues with resolution?'},
{platform: :macosx,
reason: 'showing half resolution of what expected'}] do
viewport_width = driver.execute_script('return window.innerWidth;')
viewport_height = driver.execute_script('return window.innerHeight;')

Expand Down

0 comments on commit 419944d

Please sign in to comment.