What it does
A Cursor rules file that guides the AI editor to write Cypress end-to-end UI tests. It focuses on critical user flows such as login and checkout, prefers data-testid selectors, mocks external calls with cy.intercept and avoids hard-coded waits.
Use cases
- 01Test login and registration flows
- 02Cover checkout from cart to confirmation
- 03Mock API responses to keep tests deterministic