File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 97
97
cd examples/ruby
98
98
bundle exec rspec
99
99
new_command_on_retry : |
100
- cd examples/ruby; $env:DEBUG="true"; bundle exec rspec --only-failures
100
+ cd examples/ruby; $env:DEBUG="true"; bundle exec rspec --only-failures --backtrace
101
101
- name : Run tests on ${{ matrix.os }}
102
102
if : matrix.os != 'windows'
103
103
uses :
nick-invision/[email protected]
@@ -109,4 +109,4 @@ jobs:
109
109
bundle exec rspec
110
110
new_command_on_retry : |
111
111
cd examples/ruby
112
- DEBUG=true bundle exec rspec --only-failures
112
+ DEBUG=true bundle exec rspec --only-failures --backtrace
Original file line number Diff line number Diff line change 89
89
describe 'Features' do
90
90
let ( :driver ) { start_firefox }
91
91
92
- it 'installs addon' , :skip => "Skipping tests until Firefox 127 is released" do
92
+ it 'installs addon' do
93
93
extension_file_path = File . expand_path ( '../spec_support/extensions/webextensions-selenium-example.xpi' , __dir__ )
94
94
95
95
driver . install_addon ( extension_file_path )
99
99
expect ( injected . text ) . to eq 'Content injected by webextensions-selenium-example'
100
100
end
101
101
102
- it 'uninstalls addon' , :skip => "Skipping tests until Firefox 127 is released" do
102
+ it 'uninstalls addon' do
103
103
extension_file_path = File . expand_path ( '../spec_support/extensions/webextensions-selenium-example.xpi' , __dir__ )
104
104
extension_id = driver . install_addon ( extension_file_path )
105
105
109
109
expect ( driver . find_elements ( id : 'webextensions-selenium-example' ) ) . to be_empty
110
110
end
111
111
112
- it 'installs unsigned addon' , :skip => "Skipping tests until Firefox 127 is released" do
112
+ it 'installs unsigned addon' do
113
113
extension_dir_path = File . expand_path ( '../spec_support/extensions/webextensions-selenium-example/' , __dir__ )
114
114
115
115
driver . install_addon ( extension_dir_path , true )
Original file line number Diff line number Diff line change 49
49
driver . quit
50
50
end
51
51
52
- it 'adds the silent option' , skip : 'This capability will be added on the release 4.22.0' do
52
+ it 'adds the silent option' do
53
53
@options . silent = true
54
54
expect ( @options . silent ) . to be_truthy
55
55
end
Original file line number Diff line number Diff line change 33
33
end
34
34
end
35
35
36
- RSpec . describe 'Safari Technology Preview' , skip : "This test is being skipped as GitHub Actions have no support for Safari Technology Preview" do
36
+ RSpec . describe 'Safari Technology Preview' do
37
37
it 'sets the technology preview' do
38
38
Selenium ::WebDriver ::Safari . technology_preview!
39
39
local_driver = Selenium ::WebDriver . for :safari
Original file line number Diff line number Diff line change @@ -33,16 +33,19 @@ def start_session
33
33
options = Selenium ::WebDriver ::Chrome ::Options . new
34
34
options . add_argument ( 'disable-search-engine-choice-screen' )
35
35
options . add_argument ( '--no-sandbox' )
36
+ options . browser_version = 'stable'
36
37
@driver = Selenium ::WebDriver . for ( :chrome , options : options )
37
38
end
38
39
39
40
def start_bidi_session
40
41
options = Selenium ::WebDriver ::Chrome ::Options . new ( web_socket_url : true )
42
+ options . browser_version = 'stable'
41
43
@driver = Selenium ::WebDriver . for :chrome , options : options
42
44
end
43
45
44
46
def start_firefox
45
47
options = Selenium ::WebDriver ::Options . firefox ( timeouts : { implicit : 1500 } )
48
+ options . browser_version = 'stable'
46
49
@driver = Selenium ::WebDriver . for :firefox , options : options
47
50
end
48
51
end
You can’t perform that action at this time.
0 commit comments