[CL-QA-API] QA: тестовый suite REST API (Playwright+TS+Zod) — smoke prod-safe + 401-матрица #502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/claude-api-test-suite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что сделано
qa/api-tests/— автономный API test suite (Playwright API-only + Zod-контракты), без зависимости от БДsrc/inventory/endpoints.json: 145 endpoints / 8 доменов, извлечён изapi/src/routes/*(mount-routes + mount-financial) наf0507bb3dmutationsAllowed()требуетALLOW_MUTATIONS=1И не-продBASE_URL.forgejo/workflows/api-tests.yml— nightly smoke + workflow_dispatch + PR-регрессия наqa/api-tests/**Зачем
План тестирования
cd qa/api-tests && npm test(smoke против прод) — 177 passed / 0 failed / 26 skippednpm run typecheck— чистоГде могу ошибаться
GET /api/objectsна проде отдаётcache-control: private, no-cache(vault документирует 300s public) — возможная регрессия кэширования каталога