Add Test Rules: every fix must ship with an e2e test

This commit is contained in:
2026-04-23 13:36:16 +03:00
parent 49a19a7f63
commit c90b33368c
+4
View File
@@ -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.