Skip to content

Commit c31090a

Browse files
committed
[rb] get specs passing again for firefox
1 parent de5c81f commit c31090a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

rb/spec/integration/selenium/webdriver/driver_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
module Selenium
2121
module WebDriver
2222
describe Driver do
23-
it_behaves_like 'driver that can be started concurrently', except: [{browser: :edge}, {driver: %i[safari safari_preview]}]
23+
it_behaves_like 'driver that can be started concurrently', except: [{browser: :edge}, {driver: :safari}], exclude: {browser: :safari_preview}
2424

2525
it 'should get the page title' do
2626
driver.navigate.to url_for('xhtmlTest.html')

rb/spec/integration/selenium/webdriver/keyboard_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module WebDriver
2323
# Edge - https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8339952
2424
describe Keyboard, except: {browser: %i[edge firefox ie]} do
2525
# Edge - https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8339952
26-
it 'sends keys to the active element', except: {browser: %i[safari safari_preview]} do
26+
it 'sends keys to the active element', except: [{browser: %i[safari safari_preview]}, {browser: :ff_esr, platform: :linux}] do
2727
driver.navigate.to url_for('bodyTypingTest.html')
2828

2929
driver.keyboard.send_keys 'ab'

rb/spec/integration/selenium/webdriver/target_locator_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ module WebDriver
102102
expect(driver.title).to eq('XHTML Test Page')
103103

104104
driver.switch_to.window(new_window)
105+
wait.until { driver.title == 'We Arrive Here'}
105106
expect(driver.title).to eq('We Arrive Here')
106107
end
107108

0 commit comments

Comments
 (0)