fix(e2e): accept an auto-rejoined game in reconnectToRoom #15

Merged
hmajid2301 merged 1 commit from fix/e2e-reconnect-flake into main 2026-12-01 12:21:25 +00:00
Owner

After a reload mid-game, the server can rejoin the player from the session cookie before the nickname form renders, so reconnectToRoom timed out waiting for it (2/25 local repro, same error as CI). Now waits for either the form or the in-game round label and only refills the form when it is shown.

Local: TestE2EReconnect -count 25 → started_game 25/25 (was 23/25). just_one_player failed 1/25 on a pre-existing 5s networkidle wait; untouched here.

After a reload mid-game, the server can rejoin the player from the session cookie before the nickname form renders, so reconnectToRoom timed out waiting for it (2/25 local repro, same error as CI). Now waits for either the form or the in-game round label and only refills the form when it is shown. Local: TestE2EReconnect -count 25 → started_game 25/25 (was 23/25). just_one_player failed 1/25 on a pre-existing 5s networkidle wait; untouched here.
fix(e2e): accept an auto-rejoined game in reconnectToRoom
All checks were successful
CI / lint (pull_request) Successful in 1m9s
CI / unit (pull_request) Successful in 1m17s
CI / generate (pull_request) Successful in 1m59s
CI / integration (pull_request) Successful in 2m13s
CI / e2e (pull_request) Successful in 6m2s
CI / ci (pull_request) Successful in 0s
CI / publish (pull_request) Has been skipped
CI / generate (push) Has been skipped
CI / unit (push) Successful in 1m5s
CI / lint (push) Successful in 1m59s
CI / integration (push) Successful in 2m0s
CI / e2e (push) Successful in 6m2s
CI / ci (push) Successful in 0s
CI / publish (push) Successful in 2m17s
4f7b82bb0a
hmajid2301 deleted branch fix/e2e-reconnect-flake 2026-12-01 12:21:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hmajid2301/banterbus!15
No description provided.