- Replaced `LIST_PUBLIC_CATEGORIES` with `LIST_ADMIN_CATEGORIES_FLAT` in `ArticleFormModal.tsx`. - Removed the "Add Event" button from the dashboard page. - Simplified the `EventsPage` by removing the button and adjusting the layout. - Cleaned up the `AdminEventEditPage` by removing unnecessary props. - Deleted unused layout and page files related to event creation. - Updated `AdminAuthContent` to use `useAdminCitiesQuery` instead of `useDiscoveryCitiesQuery`. - Refactored `EventGuestListAccessPanel` to remove the `accessMode` prop and adjust API calls accordingly. - Removed several unused components and tests related to event creation, enhancing project maintainability. |
||
|---|---|---|
| .. | ||
| admin | ||
| fixtures | ||
| shared | ||
| global-setup.ts | ||
| global-teardown.ts | ||
| README.md | ||
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