Skip to content

Commit

Permalink
updated test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Aug 28, 2024
1 parent 291d382 commit 6415acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
options = ENV["SELENIUM_REMOTE_URL"].present? ? { browser: :remote, url: ENV["SELENIUM_REMOTE_URL"] } : nil
driven_by :selenium, using: :chrome, screen_size: [1400, 1400], options: options do |driver_option|
driven_by :selenium, using: :headless_chrome, screen_size: [1400, 1400], options: options do |driver_option|
driver_option.add_argument('--disable-gpu')
driver_option.add_argument('--no-sandbox')
driver_option.add_argument('--disable-dev-shm-usage')
Expand Down

0 comments on commit 6415acf

Please sign in to comment.