feat(gro-1743): add UAT customer and pets to admin seed endpoint #69

Merged
The Dogfather merged 1 commits from fix/gro-1743-uat-seed-data into dev 2026-05-25 15:37:11 +00:00
Member

See PR description

See PR description
The Dogfather added 1 commit 2026-05-25 15:30:24 +00:00
feat(gro-1743): add UAT customer and pets to admin seed endpoint
CI / Lint & Typecheck (pull_request) Successful in 12s
CI / Test (pull_request) Successful in 12s
CI / Build & Push Docker Images (pull_request) Successful in 1m12s
a1466b44c9
Add UAT Customer (uat-customer@groombook.dev) with two pets (Bella and Max)
to the idempotent admin seed endpoint for portal UAT testing.

- Client: UAT Customer, email: uat-customer@groombook.dev, phone: 555-0100, status: active
- Pet 1: Bella, Dog, Poodle, coatType: curly
- Pet 2: Max, Dog, Labrador Retriever, coatType: short

Issue: GRO-1743
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Author
Member

Summary

  • Add UAT Customer (uat-customer@groombook.dev) with two pets (Bella and Max) to the idempotent admin seed endpoint for portal UAT testing
  • Client: UAT Customer, email: uat-customer@groombook.dev, phone: 555-0100, status: active
  • Pet 1: Bella, Dog, Poodle, coatType: curly
  • Pet 2: Max, Dog, Labrador Retriever, coatType: short

Acceptance Criteria

  • Client record in UAT database with correct fields
  • Two pet records linked to client (Bella + Max)
  • Idempotent (safe to run multiple times)
  • Extends existing seed.ts admin endpoint
  • UAT_PLAYBOOK.md already references uat-customer@groombook.dev in TC-API-1.6

Test plan

  1. Merge + promote to UAT
  2. Call POST /api/admin/seed as manager
  3. Verify via GET /api/clients and GET /api/pets
## Summary - Add UAT Customer (uat-customer@groombook.dev) with two pets (Bella and Max) to the idempotent admin seed endpoint for portal UAT testing - Client: UAT Customer, email: uat-customer@groombook.dev, phone: 555-0100, status: active - Pet 1: Bella, Dog, Poodle, coatType: curly - Pet 2: Max, Dog, Labrador Retriever, coatType: short ## Acceptance Criteria - [x] Client record in UAT database with correct fields - [x] Two pet records linked to client (Bella + Max) - [x] Idempotent (safe to run multiple times) - [x] Extends existing seed.ts admin endpoint - [x] UAT_PLAYBOOK.md already references uat-customer@groombook.dev in TC-API-1.6 ## Test plan 1. Merge + promote to UAT 2. Call POST /api/admin/seed as manager 3. Verify via GET /api/clients and GET /api/pets
Lint Roller approved these changes 2026-05-25 15:34:36 +00:00
Lint Roller left a comment
Member

QA Review: APPROVED

All acceptance criteria met. CI green.

Verified:

  • UAT Customer record: name, email (uat-customer@groombook.dev), phone (555-0100), status active
  • Pet 1 — Bella: Dog, Poodle, coatType curly
  • Pet 2 — Max: Dog, Labrador Retriever, coatType short
  • Idempotent: email-based existence check before insert, matches Demo Client pattern ✓
  • Extended apps/api/src/routes/admin/seed.ts
  • Branch fix/gro-1743-uat-seed-data targets dev
  • CI: Lint/Typecheck passed, Tests passed, Docker build passed ✓

UAT_PLAYBOOK.md: Not required — admin seed is a manager-only internal utility, not user-facing behaviour. Downstream portal and impersonation test cases (TC-API-8.x, TC-API-12.x) already exist.

Ready for CTO merge.

## QA Review: APPROVED All acceptance criteria met. CI green. **Verified:** - UAT Customer record: name, email (`uat-customer@groombook.dev`), phone (`555-0100`), status `active` ✓ - Pet 1 — Bella: Dog, Poodle, coatType `curly` ✓ - Pet 2 — Max: Dog, Labrador Retriever, coatType `short` ✓ - Idempotent: email-based existence check before insert, matches Demo Client pattern ✓ - Extended `apps/api/src/routes/admin/seed.ts` ✓ - Branch `fix/gro-1743-uat-seed-data` targets `dev` ✓ - CI: Lint/Typecheck passed, Tests passed, Docker build passed ✓ **UAT_PLAYBOOK.md:** Not required — admin seed is a manager-only internal utility, not user-facing behaviour. Downstream portal and impersonation test cases (TC-API-8.x, TC-API-12.x) already exist. Ready for CTO merge.
The Dogfather merged commit 040ff4a253 into dev 2026-05-25 15:37:11 +00:00
Sign in to join this conversation.