A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/04e1dfc1fdbcd91684b6b9eb3547e77464501449 below:

[rb] run dev tools tests on Firefox · SeleniumHQ/selenium@04e1dfc · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+11

-9

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+11

-9

lines changed Original file line number Diff line number Diff line change

@@ -298,6 +298,7 @@ ruby_test(

298 298

deps = [

299 299

":bidi",

300 300

":firefox",

301 +

":devtools",

301 302

":specs",

302 303

],

303 304

)

@@ -494,6 +495,7 @@ ruby_test(

494 495

],

495 496

deps = [

496 497

":bidi",

498 +

":devtools",

497 499

":firefox",

498 500

":remote",

499 501

":specs",

Original file line number Diff line number Diff line change

@@ -21,10 +21,10 @@

21 21 22 22

module Selenium

23 23

module WebDriver

24 -

describe BiDi, exclusive: {browser: %i[firefox_nightly]} do

24 +

describe BiDi, exclusive: {browser: %i[firefox firefox_nightly]} do

25 25

it 'gets session status' do

26 26

status = driver.bidi.session.status

27 -

expect(status.ready).to be_false

27 +

expect(status.ready).to eq false

28 28

expect(status.message).to eq('Session already started')

29 29

end

30 30

end

Original file line number Diff line number Diff line change

@@ -21,7 +21,7 @@

21 21 22 22

module Selenium

23 23

module WebDriver

24 -

describe DevTools, exclusive: {browser: %i[chrome edge firefox_nightly]} do

24 +

describe DevTools, exclusive: {browser: %i[chrome edge firefox firefox_nightly]} do

25 25

after { reset_driver! }

26 26 27 27

it 'sends commands' do

@@ -46,7 +46,7 @@ module WebDriver

46 46

expect { driver.navigate.to url_for('xhtmlTest.html') }.to raise_error(RuntimeError, "This is fine!")

47 47

end

48 48 49 -

context 'authentication', except: {browser: :firefox_nightly,

49 +

context 'authentication', except: {browser: %i[firefox firefox_nightly],

50 50

reason: 'Fetch.enable is not yet supported'} do

51 51

let(:username) { SpecSupport::RackServer::TestApp::BASIC_AUTH_CREDENTIALS.first }

52 52

let(:password) { SpecSupport::RackServer::TestApp::BASIC_AUTH_CREDENTIALS.last }

@@ -94,7 +94,7 @@ module WebDriver

94 94

)

95 95

end

96 96 97 -

it 'notifies about document log messages', except: {browser: :firefox_nightly,

97 +

it 'notifies about document log messages', except: {browser: %i[firefox firefox_nightly],

98 98

reason: 'Firefox & Chrome parse document differently'} do

99 99

logs = []

100 100

driver.on_log_event(:console) { |log| logs.push(log) }

@@ -108,7 +108,7 @@ module WebDriver

108 108

)

109 109

end

110 110 111 -

it 'notifies about document log messages', only: {browser: :firefox_nightly,

111 +

it 'notifies about document log messages', only: {browser: %i[firefox firefox_nightly],

112 112

reason: 'Firefox & Chrome parse document differently'} do

113 113

logs = []

114 114

driver.on_log_event(:console) { |log| logs.push(log) }

@@ -135,7 +135,7 @@ module WebDriver

135 135

expect(exception.stacktrace).not_to be_empty

136 136

end

137 137 138 -

it 'notifies about DOM mutations', except: {browser: :firefox_nightly,

138 +

it 'notifies about DOM mutations', except: {browser: %i[firefox firefox_nightly],

139 139

reason: 'Runtime.addBinding not yet supported'} do

140 140

mutations = []

141 141

driver.on_log_event(:mutation) { |mutation| mutations.push(mutation) }

@@ -151,7 +151,7 @@ module WebDriver

151 151

expect(mutation.old_value).to eq('display:none;')

152 152

end

153 153 154 -

context 'network interception', except: {browser: :firefox_nightly,

154 +

context 'network interception', except: {browser: %i[firefox firefox_nightly],

155 155

reason: 'Fetch.enable is not yet supported'} do

156 156

it 'continues requests' do

157 157

requests = []

@@ -201,7 +201,7 @@ module WebDriver

201 201

end

202 202

end

203 203 204 -

context 'script pinning' do

204 +

context 'script pinning', except: {browser: %i[firefox firefox_nightly]} do

205 205

before do

206 206

driver.navigate.to url_for('xhtmlTest.html')

207 207

end

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4