Sha256: 5b063a69a26239c02acd912316796232cc16652d93f37b0559006bb29ea3c255

Contents?: true

Size: 542 Bytes

Versions: 6

Compression:

Stored size: 542 Bytes

Contents

require "test_helper"
require "capybara/cuprite"

Capybara.register_driver(:cuprite) do |app|
  Capybara::Cuprite::Driver.new(
    app, **{
      window_size: [1200, 800],
      browser_options: {},
      process_timeout: 10,
      inspector: true,
      headless: false # !ENV["HEADLESS"].in?(%w[n 0 no false])
    }
  )
end
Capybara.default_driver = Capybara.javascript_driver = :cuprite

Capybara.server = :puma, { Silent: true }

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :cuprite, using: :chromium
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bard-file_field-0.1.5 dummy/test/application_system_test_case.rb
bard-file_field-0.1.4 dummy/test/application_system_test_case.rb
bard-file_field-0.1.3 dummy/test/application_system_test_case.rb
bard-file_field-0.1.2 dummy/test/application_system_test_case.rb
bard-file_field-0.1.1 dummy/test/application_system_test_case.rb
bard-file_field-0.1.0 dummy/test/application_system_test_case.rb