Skip to content

Commit f5e195d

Browse files
committed
[rb] firefox scroll by amount is only failing on mac
1 parent 615bbb9 commit f5e195d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rb/spec/integration/selenium/webdriver/action_builder_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,9 @@ module WebDriver
316316
end
317317

318318
describe '#scroll_by', only: {browser: %i[chrome edge firefox]} do
319-
it 'scrolls by given amount', except: {browser: :firefox, reason: 'scrolls insufficient number of pixels'} do
319+
it 'scrolls by given amount', except: {browser: :firefox,
320+
platform: :macosx,
321+
reason: 'scrolls insufficient number of pixels'} do
320322
driver.navigate.to url_for('scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html')
321323
footer = driver.find_element(tag_name: 'footer')
322324
delta_y = footer.rect.y.round

0 commit comments

Comments
 (0)