fix CI
This commit is contained in:
committed by
Alex Turchyn
parent
2fb5de4fa9
commit
bc4c21f804
@@ -25,7 +25,8 @@ Capybara.register_driver(:headless_cuprite) do |app|
|
|||||||
Capybara::Cuprite::Driver.new(app, window_size: [1200, 800],
|
Capybara::Cuprite::Driver.new(app, window_size: [1200, 800],
|
||||||
process_timeout: 20,
|
process_timeout: 20,
|
||||||
timeout: 20,
|
timeout: 20,
|
||||||
js_errors: true)
|
js_errors: true,
|
||||||
|
browser_options: { 'no-sandbox' => nil })
|
||||||
end
|
end
|
||||||
|
|
||||||
Capybara.register_driver(:headful_cuprite) do |app|
|
Capybara.register_driver(:headful_cuprite) do |app|
|
||||||
@@ -33,7 +34,8 @@ Capybara.register_driver(:headful_cuprite) do |app|
|
|||||||
headless: false,
|
headless: false,
|
||||||
process_timeout: 20,
|
process_timeout: 20,
|
||||||
timeout: 20,
|
timeout: 20,
|
||||||
js_errors: true)
|
js_errors: true,
|
||||||
|
browser_options: { 'no-sandbox' => nil })
|
||||||
end
|
end
|
||||||
|
|
||||||
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }
|
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }
|
||||||
|
|||||||
Reference in New Issue
Block a user