Volleyball Elite Academy development update
|
Volleyball Elite Academy
Cover the SuperAdmin Reply action with a browser-or-route test
|
Cover the SuperAdmin Reply action with a browser-or-route testVolleyball Elite Academy — Development Update • June 8, 2026
--- title: Cover the SuperAdmin Reply action with a browser-or-route test ---
Cover the SuperAdmin Reply action with a browser-or-route test
## What & Why Task #640 added test coverage for the new Forward action on the SuperAdmin Conversations tab, but its sibling Reply route — (just above the Forward route in ) — is still uncovered. The reply route has the same blast radius as Forward (a regression silently breaks the SuperAdmin triage workflow) and the same shape (target, optional note, email_log row tagged , kept linked to the source thread via ).
## Done looks like - A real-DB route test (sibling to ) or a Playwright e2e under that: - Seeds a thread with at least one inbound message - Calls the reply route with a body / note - Asserts an row was inserted with , matching the source thread, matching the original counterparty, and the body persisted with the admin's reply content - Asserts the In-Reply-To / References headers thread back to the inbound's Message-ID so external mail clients keep the conversation grouped
## Relevant files - (the route just above the route) - (use as a template — same fixture / Resend-stub pattern) - (UI side if going the e2e route)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment