Skip to content

Conversation

georgeclaghorn
Copy link
Contributor

@georgeclaghorn georgeclaghorn commented Jul 7, 2019

It's intended not to be set if Capybara starts the app server itself. Base Rails-generated URLs off of Capybara.current_session.server_url instead.

Closes #36608.

/cc @twalpole

It's intended not to be set if Capybara starts the app server itself. Base Rails-generated URLs off of Capybara.current_session.server_url instead.
@georgeclaghorn georgeclaghorn merged commit d415eb4 into rails:master Jul 25, 2019
@georgeclaghorn georgeclaghorn deleted the no-default-system-test-host branch July 25, 2019 02:19
y-yagi added a commit that referenced this pull request Sep 6, 2019
System tests depend on Capybara 3.26 or newer. Ref: #36615.
@taylorthurlow
Copy link

Just wanted to say thanks for fixing this, this caused a problem for me a few years back, and today I found that I needed to make a change which wasn't compatible with my workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System Tests don't easily allow for https sessions
4 participants