admin/e2e/README.md
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

1.1 KiB

Frontend Playwright E2E

Specs are grouped by product surface so admin vs consumer coverage is obvious.

e2e/
  admin/       # dashboard shell, staff auth, admin CRUD / oversight
  consumer/    # AuthGate, bookings, payments, chat, host flows, profile areas
  shared/      # access control across roles, public pages, a11y, performance
  fixtures/    # session + API helpers shared by suites
Folder Examples
admin/ /auth + dashboard login/logout, event management, discount codes, chat oversight, admin list UX
consumer/ AuthGate login/register, booking, payment, chat, host management, profile areas, native UX
shared/ role boundaries, public marketing pages, accessibility sweeps, CWV budget

Run all: pnpm test:e2e
Run one area: pnpm exec playwright test e2e/consumer --project=chromium