Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When baseUrl is set, spawn cypress directly to this domain #382

Closed
brian-mann opened this issue Jan 19, 2017 · 1 comment
Closed

When baseUrl is set, spawn cypress directly to this domain #382

brian-mann opened this issue Jan 19, 2017 · 1 comment
Assignees
Labels
type: enhancement Requested enhancement of existing feature
Milestone

Comments

@brian-mann
Copy link
Member

brian-mann commented Jan 19, 2017

In every single spec file, when Cypress first opens, it will open on localhost + a random port.

When Cypress begins processing the first spec file it will almost always encounter a cy.visit(...) to a different host and/or port.

This causes Cypress to change to the new host + port which is an unnecessary waste of time.

If baseUrl is set in cypress.json we should immediately open Cypress to this superdomain. This would avoid the initial page reload.

@brian-mann brian-mann added the type: enhancement Requested enhancement of existing feature label Jan 19, 2017
@brian-mann brian-mann self-assigned this Jan 19, 2017
@brian-mann brian-mann changed the title When baseUrl is set, spawn cypress already on this host instead of random localhost + port When baseUrl is set, spawn cypress directly to this domain Jan 19, 2017
@brian-mann
Copy link
Member Author

brian-mann commented Jan 30, 2017

Fixed in 0.18.6.

@brian-mann brian-mann added this to the 0.18.6 milestone Jan 30, 2017
@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

1 participant