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
On content/real-world-examples/overview/custom-cypress-commands.mdx, under cy.loginByAPI(), it says: Note how we are using [Cypress.env()](https://docs.cypress.io/api/cypress-api/env) to handle our environment variables. You can find these in cypres/plugins/index.ts and cypress.json, respectively.
I find the statement "You can find these in cypres/plugins/index.ts and cypress.json, respectively." confusing or misleading, as the variables are actually defined in cypress.config.ts
The text was updated successfully, but these errors were encountered:
You're right. The description became incorrect after the Cypress Real World App was migrated to Cypress 10.x. It used to be correct for legacy configurations of Cypress 9.x and lower.
On
content/real-world-examples/overview/custom-cypress-commands.mdx
, undercy.loginByAPI()
, it says:Note how we are using [Cypress.env()](https://docs.cypress.io/api/cypress-api/env) to handle our environment variables. You can find these in cypres/plugins/index.ts and cypress.json, respectively.
I find the statement "
You can find these in cypres/plugins/index.ts and cypress.json, respectively.
" confusing or misleading, as the variables are actually defined incypress.config.ts
The text was updated successfully, but these errors were encountered: