Add Test Rules: every fix must ship with an e2e test
This commit is contained in:
@@ -76,3 +76,7 @@ The following are contractual hard constraints for the remote frontend component
|
||||
- Never add `Co-Authored-By` lines to commit messages.
|
||||
- Commit messages in English, concise, focused on "why" not "what".
|
||||
- Commit autonomously when changes are complete and stable — no need to ask for permission. Group related edits into logical commits. Still ask before pushing, force-pushing, or any destructive git operation.
|
||||
|
||||
## Test Rules
|
||||
|
||||
- **Every fix must have an e2e test**. Before committing a behaviour change, either create a new Playwright spec under `tests/e2e/` that exercises the fix, or extend/update the existing spec that covers the affected page. Tests must run green before commit; never commit a fix without proving it through Playwright.
|
||||
|
||||
Reference in New Issue
Block a user