rule-frontend-e2e-tests
CommunityStandardize Playwright E2E tests.
Authorbtabaska
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This rule enforces standardized tagging and organization for Playwright E2E tests in the frontend/tests/e2e directory, ensuring consistency across the team.
Core Features & Use Cases
- Execution tagging: Each test must have exactly one execution tag (e.g., @smoke, @core-regression, @full-regression, @extended) to control CI runs.
- Optional feature tags: Use centralized feature tags (e.g., @grantee, @opportunity-search, @apply) defined in frontend/tests/e2e/tags.ts to classify tests.
- Directory and naming conventions: Organize tests by feature under frontend/tests/e2e and name files consistently (happy-path vs failure-path patterns where applicable).
- Page object utilities: Prefer utility-based page objects and place feature utilities under frontend/tests/e2e/utils.
- Test data and fixtures: Use dedicated fixtures and utilities; avoid embedding large data inline in specs.
- Playwright configuration awareness: Follow environment-specific timeouts, retries, and reporting guidance to ensure reliable test runs.
- BDD feature files: .feature files may accompany .spec.ts files; leverage Gherkin for scenario definitions when appropriate.
Quick Start
Tag each E2E test with exactly one execution tag and organize tests under feature folders in frontend/tests/e2e.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rule-frontend-e2e-tests Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-frontend-e2e-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.