denise-oneill-inbox-ru's picture
D8 staging from 92665ef4298ecff6735b080ff7901f2c19f719a7 (part 2)
38367b5 verified
Raw History Blame Contribute Delete
414 Bytes
# frozen_string_literal: true
require "capybara/rspec"
RSpec.configure do |config|
config.before(:each, type: :system) do
driven_by :rack_test
end
config.before(:each, type: :system, js: true) do
driven_by :selenium, using: :headless_chrome, screen_size: [ 1280, 800 ] do |options|
options.add_argument("--no-sandbox")
options.add_argument("--disable-dev-shm-usage")
end
end
end