method
system_test_configuration
v8.1.1 -
Show latest stable
- Class:
Rails::Generators::DevcontainerGenerator
system_test_configuration()private
No documentation available.
# File railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb, line 160
def system_test_configuration
optimize_indentation( if ENV["CAPYBARA_SERVER_PORT"] served_by host: "rails-app", port: ENV["CAPYBARA_SERVER_PORT"] driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ], options: { browser: :remote, url: "http://#{ENV["SELENIUM_HOST"]}:4444" } else driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ] end, 2).chomp
end