You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tag-based slices
npm run test:smoke
npm run test:regression
npm run test:critical
npm run test:negative
npm run test:rbac
# Run a single feature
npx playwright test specs/features/auth/login.spec.ts
npx playwright test specs/features/dashboard/dashboard.spec.ts
# Run by Test ID prefix (e.g. all AUTH-1xx negative tests)
npx playwright test --grep "AUTH-10"
Adding new tests
Each new spec should:
Live under specs/features/<module>/<feature>.spec.ts.
Carry a Test ID prefix (e.g. PIM-001, LEAVE-101).
Use the role-based fixtures (loginAs, userPage, adminPage) — no manual login.
Use page objects for all locators; no inline selectors in specs.