-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Docs cypress have wrong function name #3070
Copy link
Copy link
Closed
Description
Problem
In Astro's testing doc's testing section, we have 2 hint for configure to base url for fast usage of playwright and cypress with less code but cypress have the wrong function name in hint.
Solution
Should change
You can set "baseUrl": "http://localhost:3000" in the cypress.config.js configuration file to use cy.visit("/") instead of page.goto("http://localhost:3000/") for a more convenient URL.
to
You can set "baseUrl": "http://localhost:3000" in the cypress.config.js configuration file to use cy.visit("/") instead of cy.visit("http://localhost:3000/") for a more convenient URL.
Going to open an PR for this after this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels