Resources QA ChecklistResources QA Checklist
Steps to validate seeding, curation, tags, flags, and related UI.
Pre-req
- Local dev running, seeded public templates.
Seed data
- GET
/api/dev/seed returns { success: true } and count >= 0. - POST
/api/dev/seed-starter-collections with { accountSlug } returns { success: true, name, count }.
Library and Collections
- Navigate to
Home → Library for the account; confirm seeded templates visible. - Confirm a collection named
Starters: Grade 8 Language exists and contains items.
Admin curation
- Visit
/admin/curation. - Add/remove items, reorder, save; refresh and confirm persistence.
- Visit My Library; add a tag to a resource; refresh page and confirm tag persists.
- GET
/api/tags?accountId=<uuid> returns a map of templateId → tags[] that includes the tag. - DELETE endpoint removes the tag; UI reflects change on refresh.
Flags
- From a resource detail page, flag a resource with reason and optional notes.
- GET
/api/flags?accountId=<uuid> includes the new flag with status open. - In
/admin/flags, update a flag to in_review, then resolved; confirm updates via GET.
Smoke
- No client or server errors in console while performing above.
- Pages render quickly; list pages paginate or limit reasonably.