mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-10 16:27:06 +02:00
14 lines
515 B
Ruby
14 lines
515 B
Ruby
require "test_helper"
|
|
|
|
if ENV["TRAVIS"]
|
|
require "chromedriver/helper"
|
|
Chromedriver.set_version "2.35"
|
|
end
|
|
|
|
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
|