Keep AI-generated changes reliable, testable, and aligned with framework standards.
- Prefer small, focused changes.
- Do not weaken lint, formatting, or test gates.
- Avoid brittle selectors and hard sleeps.
- Keep page objects interaction-focused and reusable.
- Keep tests assertion-driven and outcome-focused.
npm run format:checknpm run lintnpm run test:ci
- Add tests in
e2e-tests/*.spec.js. - Store test data in
test-data/*.json. - Put reusable UI actions in
e2e-tests/page-objects/. - Keep fixture expansion in
e2e-tests/fixtures/testFixtures.js.
If scripts, execution behavior, or quality gates change, update README.md and GUARDRAILS.md in the same PR.