Skip to content

Commit c7d622d

Browse files
committed
[rb] unguard tests now passing
1 parent 33db2e9 commit c7d622d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ class BiDi
3737
expect(browsing_context.id).not_to be_nil
3838
end
3939

40-
it 'can create a window with a reference context', except: [{browser: :chrome,
41-
platform: %i[linux macosx]},
42-
{browser: :edge}] do
40+
it 'can create a window with a reference context' do
4341
browsing_context = described_class.new(driver: driver, type: :window,
4442
reference_context: driver.window_handle)
4543
expect(browsing_context.id).not_to be_nil
@@ -50,9 +48,7 @@ class BiDi
5048
expect(browsing_context.id).not_to be_nil
5149
end
5250

53-
it 'can create a tab with a reference context', except: [{browser: :chrome,
54-
platform: %i[linux macosx]},
55-
{browser: :edge}] do
51+
it 'can create a tab with a reference context' do
5652
browsing_context = described_class.new(driver: driver, type: :tab, reference_context: driver.window_handle)
5753
expect(browsing_context.id).not_to be_nil
5854
end

rb/spec/integration/selenium/webdriver/element_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ module WebDriver
421421
end
422422
end
423423

424-
it 'returns ARIA role', only: {browser: %i[chrome edge]} do
424+
it 'returns ARIA role' do
425425
driver.navigate.to 'data:text/html,' \
426426
"<div role='heading' aria-level='1'>Level 1 Header</div>" \
427427
'<h1>Level 1 Header</h1>' \
@@ -431,7 +431,7 @@ module WebDriver
431431
expect(driver.find_element(tag_name: 'h2').aria_role).to eq('alert')
432432
end
433433

434-
it 'returns accessible name', only: {browser: %i[chrome edge]} do
434+
it 'returns accessible name' do
435435
driver.navigate.to 'data:text/html,<h1>Level 1 Header</h1>'
436436
expect(driver.find_element(tag_name: 'h1').accessible_name).to eq('Level 1 Header')
437437
end

0 commit comments

Comments
 (0)