Этот коммит содержится в:
Mattia Roccoberton
2022-04-19 22:07:02 +02:00
родитель edf5cbcb13
Коммит b00fcd90ab
15 изменённых файлов: 30 добавлений и 2 удалений

Просмотреть файл

@@ -10,6 +10,7 @@ abort('The Rails environment is running in production mode!') if Rails.env.produ
require 'rspec/rails'
require 'capybara/rails'
require 'rspec/retry'
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }
@@ -34,6 +35,8 @@ RSpec.configure do |config|
config.use_instantiated_fixtures = false
config.render_views = false
config.default_retry_count = 2
config.before(:suite) do
intro = ('-' * 80)
intro << "\n"

Просмотреть файл

@@ -14,9 +14,9 @@ Capybara.register_driver(:cuprite) do |app|
# See additional options for Dockerized environment in the respective section of this article
browser_options: browser_options,
# Increase Chrome startup wait time (required for stable CI builds)
process_timeout: 30,
process_timeout: 20,
# The number of seconds we'll wait for a response when communicating with browser. Default is 5
timeout: 30,
timeout: 20,
# Enable debugging capabilities
inspector: true,
# Allow running Chrome in a headful mode by setting HEADLESS env var to a falsey value