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

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

@@ -14,6 +14,7 @@ group :development, :test do
gem 'cuprite'
gem 'rspec_junit_formatter'
gem 'rspec-rails'
gem 'rspec-retry'
# Linters
gem 'fasterer'

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

@@ -13,6 +13,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -220,6 +220,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -295,6 +297,7 @@ DEPENDENCIES
puma
rails (~> 5.2.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -14,6 +14,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -225,6 +225,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -297,6 +299,7 @@ DEPENDENCIES
puma
rails (~> 6.0.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -14,6 +14,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -233,6 +233,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -316,6 +318,7 @@ DEPENDENCIES
puma
rails (~> 6.0.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -13,6 +13,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -228,6 +228,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -294,6 +296,7 @@ DEPENDENCIES
puma
rails (~> 6.1.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -13,6 +13,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -228,6 +228,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -294,6 +296,7 @@ DEPENDENCIES
puma
rails (~> 6.1.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -14,6 +14,7 @@ group :development, :test do
gem "cuprite"
gem "rspec_junit_formatter"
gem "rspec-rails"
gem "rspec-retry"
gem "fasterer"
gem "rubocop"
gem "rubocop-packaging"

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

@@ -251,6 +251,8 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
@@ -319,6 +321,7 @@ DEPENDENCIES
puma
rails (~> 7.0.0)
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-packaging

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

@@ -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