Skip to content

Commit

Permalink
Fix? "Browser did not produce websocket url within 10 seconds, try to…
Browse files Browse the repository at this point in the history
… increase `:process_timeout`"
  • Loading branch information
rickychilcott committed Jul 19, 2024
1 parent 1d31250 commit cac0a20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,12 @@ def with_thredded_setting(setting, value)

# https://evilmartians.com/chronicles/system-of-a-test-setting-up-end-to-end-rails-testing
Capybara.register_driver(:cuprite) do |app|
browser_options = {}
browser_options['no-sandbox'] = nil if ENV['CI']

options = {
window_size: [1280, 1024],
browser_options: {},
browser_options: browser_options,
# Increase Chrome startup wait time (required for stable CI builds)
process_timeout: 10,
# Enable debugging capabilities
Expand Down

0 comments on commit cac0a20

Please sign in to comment.