Files
euchre_camp/e2e
david e1b43c0702
Pull Request / unit-tests (pull_request) Failing after 43s
Pull Request / e2e-tests (pull_request) Has been skipped
Pull Request / analyze-bump-type (pull_request) Has been skipped
fix: make schedule generation tests reliable (#33)
Root cause: The tests used a navigate-away-and-back pattern to verify
schedule persistence, which created a race condition with the PrismaPg
adapter connection pool. The POST handler's transaction committed on one
connection, but the subsequent GET from page.goto() could use a different
pool connection that hadn't seen the commit yet.

Fix: Remove the navigate-away-and-back pattern entirely. After clicking
'Generate Schedule', the component calls router.refresh() which triggers
a server-side re-fetch and re-render in-place. The test now waits for
the round headers to appear on the same page with a 30s timeout.

All 39 scenarios pass reliably.
2026-05-02 05:16:51 -07:00
..