gitdataai/admin/tests
ZhenYi a7e31d5649 feat(tests): add comprehensive Playwright integration tests for all API endpoints
- tests/01: add graceful login timeout handling with try/catch
- tests/02: migrate from isolated request.newContext to uiLogin + page.request pattern
- tests/03: workspace members, platform users CRUD, billing, alert-config
- tests/04: room messages, room list, repo list/detail APIs
- tests/05: project members CRUD, project detail, project billing
- tests/06: API token CRUD, logout, health check
- tests/07: AI provider/model/version/pricing CRUD
- tests/08: admin user CRUD, role CRUD

All tests use consistent checkBackendAvailable() + uiLogin() pattern with
graceful degradation (test.skip) when backend is unreachable.
2026-04-20 22:37:05 +08:00
..
01-auth.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
02-admin-api.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
03-platform-workspaces.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
04-platform-rooms.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
05-project-members-api.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
06-api-tokens-auth.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
07-ai-crud-api.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00
08-users-roles-crud.spec.ts feat(tests): add comprehensive Playwright integration tests for all API endpoints 2026-04-20 22:37:05 +08:00