Flea Flicker
964c63bbdf
GRO-1636: fix scrypt keylen=64 and add email+password UAT test cases
...
CI / Test (pull_request) Successful in 25s
CI / E2E Tests (pull_request) Failing after 48s
CI / Build (pull_request) Successful in 24s
CI / Lint & Typecheck (pull_request) Successful in 23s
CI / Build & Push Docker Images (pull_request) Has been skipped
CI / Update Infra Image Tags (pull_request) Has been skipped
CI / Web E2E (Dev) (pull_request) Has been cancelled
CI / Deploy PR to groombook-dev (pull_request) Has been cancelled
1. Fix scrypt keylen: positional arg is output key length, not N cost.
Correct call: scrypt(pass, salt, 64, {N:16384, r:8, p:1})
This produces a 64-byte key matching Better Auth's expected format.
2. Update UAT_PLAYBOOK.md §4.1 with 6 new email+password login test
cases covering all 4 UAT personas (super, groomer, customer, tester),
renumbered session/logout/RBAC tests, and a reset-cycle survival test.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-05-23 20:41:30 +00:00
Flea Flicker
de3877b28d
docs(app): add UAT_PLAYBOOK.md section 4.20 for STOP/HELP consent handler
...
CI / Update Infra Image Tags (pull_request) Has been skipped
CI / Lint & Typecheck (pull_request) Failing after 24s
CI / Test (pull_request) Successful in 25s
CI / E2E Tests (pull_request) Has been skipped
CI / Build (pull_request) Has been skipped
CI / Build & Push Docker Images (pull_request) Has been skipped
CI / Deploy PR to groombook-dev (pull_request) Has been cancelled
CI / Web E2E (Dev) (pull_request) Has been cancelled
Adds 12 test cases covering:
- STOP/START/HELP flows and their auto-reply verification
- Alias keywords (STOPALL, UNSUBSCRIBE, CANCEL, END, QUIT / UNSTOP, YES, SUBSCRIBE, INFO)
- Idempotency for double STOP and double START
- Case-insensitivity and whitespace trimming
- Non-keyword message rejection
- Consent event audit log verification
Refs: GRO-1205, GRO-1469, PR #426
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-05-21 19:50:37 +00:00
Chris Farhood
3063fde870
docs: add UAT test cases for size/coat booking and cascading delay
...
Updated UAT_PLAYBOOK.md §4.5 with TC-APP-4.5.7 through TC-APP-4.5.13
covering the booking wizard dropdowns, buffer-aware duration, cascade
trigger/shift/notification, day-boundary guard rail, and status guards.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-16 16:19:15 +00:00
Chris Farhood
8d5b71dc0f
docs(UAT_PLAYBOOK): add §4.20 Staff Messages test cases
...
Add missing test coverage for the staff Messages page introduced
by PR #405 (GRO-106). Covers inbox load, conversation open,
send message, empty state, unread indicator, and cross-tenant
isolation per QA review on PR #408 .
Updated UAT_PLAYBOOK.md §4.20 — staff Messages feature (GRO-106)
2026-05-14 16:37:04 +00:00
Chris Farhood
f43e566dbd
fix(GRO-1215): resolve ESLint error, cursor pagination, and UAT playbook gaps
...
- Add and() + lt() imports from @groombook/db
- Apply businessId to conversation WHERE clause for cross-tenant isolation
(GET /portal/conversation: clientId AND businessId both scoped)
- Fix cursor pagination: apply lt(messages.createdAt, cursorMsg.createdAt)
to the cursor WHERE clause so pages actually paginate
- Add UAT_PLAYBOOK.md §4.9.1 Communication tab test cases:
TC-APP-4.9.6 message history with conversation
TC-APP-4.9.7 empty state (no conversation yet)
TC-APP-4.9.8 composer disabled with tooltip
TC-APP-4.9.9 cross-tenant isolation
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-05-14 12:40:06 +00:00