You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cy.visit() should itself accept the option baseUrl: null.
Then it can be disabled on a case-by-case basis without impacting an entire test by specifying in options for it or by calling Cypress.config('baseUrl', null).
You'll note the attached issues feature people needing to call Cypress.config('baseUrl', null') before their cy.visit().
Mutating the config for a single call seems a little harsh when what is really required is simply setting baseUrl for the single cy.visit() call. Which could be done by adding it to the options in the signature.
What would you like?
cy.visit()
should itself accept the optionbaseUrl: null
.Then it can be disabled on a case-by-case basis without impacting an entire test by specifying in options for
it
or by callingCypress.config('baseUrl', null)
.Why is this needed?
#2918
#4450
Other
cypress/packages/driver/src/cy/commands/navigation.ts
Lines 805 to 813 in 0fec07b
The text was updated successfully, but these errors were encountered: