...
Refer to
groups.cy.ts
for an example of a test for a page with searching and an additional action (the ‘new group’ modal).agencies.cy.ts
is a useful template test with lots of informative comments for every testing step.patronRequests.cy.ts
is a good example of a test for a ‘standard’ page - i.e. one with no additional actions.
Real-World Examples
These examples are useful for understanding the wider context of Cypress testing.
The Cypress real-world app: this is the definitive official Cypress example application.
This example of Cypress with Next.js - while focused on component testing, it also has several useful E2E examples.
Debugging
Cypress' documentation has an excellent guide to debugging that can be found here. The standard Developer Tools for your browser can be used in operation with Cypress, making debugging considerably easier.
...