Commit 42a87672 authored by Simon Knox's avatar Simon Knox Committed by Ash McKenzie

Always use port 1111 for local Capybara runs

I want to save some pages  (mainly graphql-explorer) and random ports
prevent that
parent 4d3ef0f8
......@@ -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