// 00 QA & TEST AUTOMATION
Test cases, skills matrix, and CI gates.
Concise reference of scenarios covered across projects, confirmed QA capabilities, bug report structure, and pull-request checks.
// 01 TEST CASESBY PROJECT
MZ-API-01API / SQL
10 parallel POST /bookings requests for the same hall slot.
Assert:1 × 201 Created, 9 × 409 Conflict; 1 row in PostgreSQL.
MZ-API-02API / SQL
Tenant A token requests GET /bookings/:id from Tenant B.
Assert:403 or 404 returned without tenant data in response.
MZ-E2E-03Playwright E2E
Create booking, record advance deposit, cancel, then re-book slot.
Assert:Role locators confirm status updates, 0 balance, and open slot.
MZ-A11Y-04A11y / axe
Run axe-core on booking modal and keyboard-only date picker.
Assert:Zero critical/serious WCAG 2.2 AA violations; visible focus ring.
// 02 BUG REPORT FORMATSEVERITY: HIGH · PRIORITY: P1
[Booking API] Parallel POST requests bypass check-then-insert slot lock
Steps to Reproduce
- Seed free hall slot H1 with synthetic test tenant.
- Send 10 parallel POST /bookings calls for slot H1.
- Inspect HTTP status codes and PostgreSQL booking rows.
Expected vs Observed
Expected: 1 × 201 Created, 9 × 409 Conflict; 1 row stored.
Fix rule: Failing concurrency test first, then advisory lock + partial unique index.
// 03 SKILLS MATRIXCONFIRMED SCOPE ONLY
| Skill | Stage | Level |
|---|---|---|
| TypeScript type check (tsc) | Static | Core |
| ESLint | Static | Working |
| REST API checks: status codes, schemas, auth, negative cases, idempotency | API | Core |
| Postman | API | Working |
| SQL assertions on PostgreSQL | API | Core |
| Playwright with TypeScript | E2E | Core |
| axe-core, WCAG 2.2 AA, keyboard checks | A11y | Working |
| k6 smoke-level tests with p95 baselines | Perf | Core |
| GitHub Actions pull-request gates and trace artifacts | Gate | Core |
| Git and GitHub | Gate | Working |
| Risk-based testing, bug reports with severity and priority | General | Core |
| Exploratory, regression and smoke testing, synthetic test data | General | Working |
| Next.js, React, Node.js, Python, Flutter | General | Working |
// 04 CI QUALITY GATE
name: qa-gates
on: [pull_request, push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npx tsc --noEmit && npm run lint
- run: npm run test:api
- run: npx playwright install --with-deps chromium
- run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/Delivery and flake policy
Contact- Flaky tests: Quarantine broken specs, find the race, shared state, or selector drift, and fix instead of retrying blindly.
- AI-assisted tests: Review every assertion manually and confirm the test fails against broken code.
- Coverage limits: Document untested flows and environments explicitly.