File tree 4 files changed +10
-4
lines changed 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
require 'spec_helper'
2
4
3
5
RSpec . describe 'Logging' do
Original file line number Diff line number Diff line change 131
131
'offline' => false ,
132
132
'latency' => 100 ,
133
133
'download_throughput' => 200 ,
134
- 'upload_throughput' => 200 )
134
+ 'upload_throughput' => 200
135
+ )
135
136
end
136
137
137
138
it 'gets the browser logs' do
Original file line number Diff line number Diff line change 131
131
'offline' => false ,
132
132
'latency' => 100 ,
133
133
'download_throughput' => 200 ,
134
- 'upload_throughput' => 200 )
134
+ 'upload_throughput' => 200
135
+ )
135
136
end
136
137
137
138
it 'gets the browser logs' do
@@ -164,6 +165,6 @@ def driver_finder
164
165
165
166
def permission ( name )
166
167
@driver . execute_async_script ( 'callback = arguments[arguments.length - 1];' \
167
- 'callback(navigator.permissions.query({name: arguments[0]}));' , name ) [ 'state' ]
168
+ 'callback(navigator.permissions.query({name: arguments[0]}));' , name ) [ 'state' ]
168
169
end
169
170
end
Original file line number Diff line number Diff line change 2
2
3
3
require 'spec_helper'
4
4
5
+ # rubocop:disable RSpec/MultipleDescribes
5
6
RSpec . describe 'Safari' , exclusive : { platform : :macosx } do
6
7
describe 'Options' do
7
8
it 'basic options' do
33
34
end
34
35
end
35
36
36
- RSpec . describe 'Safari Technology Preview' , skip : "This test is being skipped as GitHub Actions have no support for Safari Technology Preview" do
37
+ RSpec . describe 'Safari Technology Preview' , skip : 'This test is being skipped as GitHub Actions ' \
38
+ 'have no support for Safari Technology Preview' do
37
39
it 'sets the technology preview' do
38
40
Selenium ::WebDriver ::Safari . technology_preview!
39
41
local_driver = Selenium ::WebDriver . for :safari
You can’t perform that action at this time.
0 commit comments