-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Dynamically setting baseUrl with TestConfigOverrides
#22072
Comments
The Setting the it('should visit', { baseUrl: 'http://127.0.0.1:8080' }, () => {
cy.visit('/')
}) However, setting it('should visit', { e2e: { baseUrl: 'http://127.0.0.1:8080' }}, () => {
cy.visit('/')
}) @estrada9166, do you know if we are intending to support |
We want to support setting |
@jennifer-shehane @mschile what's the status on this? We still need to add |
@PepijnSenders, there is a PR open to fix this issue #22445. Once that PR merges it will go in the next release. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
In v9 we were able to set the
baseUrl
but it has disappeared from theTestConfigOverrides
type.Desired behavior
Add the
e2e
key to theTestConfigOverrides
type.Test code to reproduce
cypress/cli/types/cypress.d.ts
Line 3006 in e6b2466
Cypress Version
10.0.2
Other
No response
The text was updated successfully, but these errors were encountered: