Cypress.config('baseUrl', 'someUrl.com') after v10 upgrade #22300
Unanswered
jasoncarty
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is the following still correct after the upgrade to version 10?
The reason I ask is because I use TypeScript and TypeScript is telling me that
baseUrl
is not allowed to be used here:Some other observations:
In the documentation it states that we should declare the baseUrl in the config like this:
From this, one might assume that we would have to set the baseUrl like this:
But, having a config defined as by the documentation and doing this:
results in
So, it seems to me that
baseUrl
was missed in the typings of Cypress.config. Anyone know?Beta Was this translation helpful? Give feedback.
All reactions