Every test starts by going somewhere. That sounds trivial, and there is one habit here that catches real bugs.
cy.visit loads a page:
cy.visit, clicking links, and checking the URL. Plus why asserting on the address is a real test, not a formality.
Every test starts by going somewhere. That sounds trivial, and there is one habit here that catches real bugs.
cy.visit loads a page:
full course
The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.
See course plans →