# Cypress E2E Testing

> End-to-end test conventions for a Cypress suite

Source: https://aistack.sh/rule/cypress-e2e-testing
Real source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/cypress-e2e-testing-cursorrules-prompt-file.mdc
Author: awesome-cursorrules community (curated by PatrickJS)
Category: cursor-rule
Stack: Cypress, Testing
Last verified: 2026-09-06

Cursor Project Rules for Cypress end-to-end testing: test structure, selectors, and common assertion patterns.

## Install

### cursor

```
mkdir -p .cursor/rules
curl -o .cursor/rules/cypress-e2e-testing-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/cypress-e2e-testing-cursorrules-prompt-file.mdc
```

Per the repo's own instructions: create a .cursor/rules/ directory in your project, then copy the .mdc file into it. Cursor auto-attaches the rule based on the globs in its frontmatter.

---

From aistack.sh. Last verified 2026-09-06.
