Unverified Commit b3b8836e authored by CJ Dunteman's avatar CJ Dunteman Committed by GitHub

[docs] Update Cypress config file name (#40849)

The latest version of Cypress no longer supports `cypress.json`, use `cypress.config.js` instead. See details in the Cypress [docs](https://docs.cypress.io/guides/references/configuration).
parent 719116ac
...@@ -107,7 +107,7 @@ describe('Navigation', () => { ...@@ -107,7 +107,7 @@ describe('Navigation', () => {
}) })
``` ```
You can use `cy.visit("/")` instead of `cy.visit("http://localhost:3000/")` if you add `"baseUrl": "http://localhost:3000"` to the `cypress.json` configuration file. You can use `cy.visit("/")` instead of `cy.visit("http://localhost:3000/")` if you add `baseUrl: 'http://localhost:3000'` to the `cypress.config.js` configuration file.
### Running your Cypress tests ### Running your Cypress tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment