Skip to content

Commit 601e65c

Browse files
committed
Fix Ruby test to accomodate updated Edge start message
1 parent a3718c4 commit 601e65c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ruby/spec/browsers/edge_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
service.log = file_name
6868

6969
@driver = Selenium::WebDriver.for :edge, service: service
70-
expect(File.readlines(file_name).first).to include('Starting Microsoft Edge WebDriver')
70+
expect(File.readlines(file_name).first).to include('Starting')
7171
end
7272

7373
it 'logs to console' do
@@ -77,7 +77,7 @@
7777

7878
expect {
7979
@driver = Selenium::WebDriver.for :edge, service: service
80-
}.to output(/Starting Microsoft Edge WebDriver/).to_stdout_from_any_process
80+
}.to output(/Starting/).to_stdout_from_any_process
8181
end
8282

8383
it 'sets log level' do

0 commit comments

Comments
 (0)