Skip to content

Commit 6ce1d98

Browse files
committed
try with a different guard to avoid mac failures
1 parent 52641fc commit 6ce1d98

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,7 @@ module WebDriver
260260
end
261261
end
262262

263-
describe 'pen stylus', except: [{browser: :firefox, reason: 'Unknown pointerType'},
264-
{browser: :safari, reason: 'Some issues with resolution?'}] do
263+
describe 'pen stylus', only: [{browser: %i[chrome edge]}] do
265264
it 'sets pointer event properties' do
266265
driver.navigate.to url_for('pointerActionsPage.html')
267266
pointer_area = driver.find_element(id: 'pointerArea')
@@ -302,9 +301,8 @@ module WebDriver
302301
end
303302
end
304303

305-
describe '#scroll_to', only: {browser: %i[chrome edge firefox]} do
306-
it 'scrolls to element',
307-
except: {browser: :firefox, reason: 'incorrect MoveTargetOutOfBoundsError'} do
304+
describe '#scroll_to', only: {browser: %i[chrome edge]} do
305+
it 'scrolls to element' do
308306
driver.navigate.to url_for('scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html')
309307
iframe = driver.find_element(tag_name: 'iframe')
310308

@@ -330,8 +328,7 @@ module WebDriver
330328
end
331329

332330
describe '#scroll_from' do
333-
it 'scrolls from element by given amount',
334-
except: {browser: %i[firefox safari], reason: 'incorrect MoveTargetOutOfBoundsError'} do
331+
it 'scrolls from element by given amount', only: {browser: %i[chrome edge]} do
335332
driver.navigate.to url_for('scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html')
336333
iframe = driver.find_element(tag_name: 'iframe')
337334
scroll_origin = WheelActions::ScrollOrigin.element(iframe)
@@ -344,8 +341,7 @@ module WebDriver
344341
expect(in_viewport?(checkbox)).to be true
345342
end
346343

347-
it 'scrolls from element by given amount with offset',
348-
except: {browser: %i[firefox safari], reason: 'incorrect MoveTargetOutOfBoundsError'} do
344+
it 'scrolls from element by given amount with offset', only: {browser: %i[chrome edge]} do
349345
driver.navigate.to url_for('scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html')
350346
footer = driver.find_element(tag_name: 'footer')
351347
scroll_origin = WheelActions::ScrollOrigin.element(footer, 0, -50)

0 commit comments

Comments
 (0)