require "test_helper"

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080]
end

require "test_helper"

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  # For debugging JavaScript, make slower tests...
  # caps = Selenium::WebDriver::Remote::Capabilities.chrome(loggingPrefs: { browser: 'ALL' })
  # Add `options: { desired_capabilities: caps }` and then paste `pp page.driver.browser.manage.logs.get(:browser)`
  driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080]
end

Add comment for debugging JavaScript error
Add comment for debugging JavaScript error

Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
