зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-04 02:35:51 +03:00
Add rspec-retry gem
Этот коммит содержится в:
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user