File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 17
17
config . include ActiveJob ::TestHelper
18
18
19
19
config . before ( :each , type : :system ) do
20
- driven_by ( :cuprite , screen_size : [ 1440 , 810 ] , options : {
21
- js_errors : true ,
22
- headless : %w[ 0 false ] . exclude? ( ENV [ "HEADLESS" ] ) ,
23
- inspector : %w[ 1 true ] . include? ( ENV [ "INSPECTOR" ] ) ,
24
- slowmo : ENV [ "SLOWMO" ] &.to_f ,
25
- process_timeout : 15 ,
26
- timeout : 10 ,
27
- browser_options : ENV [ "CI" ] ? { "no-sandbox" => nil } : { }
28
- } )
20
+ driven_by ( :cuprite ,
21
+ screen_size : [ 1440 , 810 ] ,
22
+ options : {
23
+ js_errors : true ,
24
+ headless : %w[ 0 false ] . exclude? ( ENV [ "HEADLESS" ] ) ,
25
+ inspector : %w[ 1 true ] . include? ( ENV [ "INSPECTOR" ] ) ,
26
+ slowmo : ENV [ "SLOWMO" ] &.to_f ,
27
+ process_timeout : 15 ,
28
+ timeout : 10 ,
29
+ browser_options : ENV [ "CI" ] ? {
30
+ "no-sandbox" => nil ,
31
+ "disable-smooth-scrolling" => true
32
+ } : { }
33
+ } )
29
34
end
30
35
31
36
config . filter_gems_from_backtrace ( "capybara" , "cuprite" , "ferrum" )
You can’t perform that action at this time.
0 commit comments