Commit cac0c17f authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'psimyn-master-patch-60721' into 'master'

Configurable port for local Capybara runs

See merge request gitlab-org/gitlab!34897
parents d594d490 42a87672
......@@ -9,6 +9,9 @@ require 'selenium-webdriver'
# Give CI some extra time
timeout = ENV['CI'] || ENV['CI_SERVER'] ? 60 : 30
# Support running Capybara on a specific port to allow saving commonly used pages
Capybara.server_port = ENV['CAPYBARA_PORT'] if ENV['CAPYBARA_PORT']
# Define an error class for JS console messages
JSConsoleError = Class.new(StandardError)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment