|
|
@ -12,7 +12,7 @@ empty_directory_with_keep_file "test/unit/lib/tasks"
|
|
|
|
|
|
|
|
|
|
|
|
gsub_file "test/application_system_test_case.rb", /^ driven_by :selenium.*$/, <<~RUBY
|
|
|
|
gsub_file "test/application_system_test_case.rb", /^ driven_by :selenium.*$/, <<~RUBY
|
|
|
|
driven_by :selenium,
|
|
|
|
driven_by :selenium,
|
|
|
|
using: (ENV["HEADLESS_CHROME"] ? :headless_chrome : :chrome),
|
|
|
|
using: (ENV["DISABLE_HEADLESS_CHROME"] ? :chrome : :headless_chrome),
|
|
|
|
screen_size: [1400, 1400] do |options|
|
|
|
|
screen_size: [1400, 1400] do |options|
|
|
|
|
options.add_argument("no-sandbox")
|
|
|
|
options.add_argument("no-sandbox")
|
|
|
|
end
|
|
|
|
end
|
|
|
|