test(e2e): add full player journey e2e test - #652
Open
AbdulSnk wants to merge 1 commit into
Open
Conversation
|
@dev-Abdul25 is attempting to deploy a commit to the aminubabafatima8-gmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an end-to-end test for the complete player journey, per #625.
The application had solid coverage on individual modules, but no
single test verified that a player can actually go from start to
finish in a real game session.
What's covered
Changes
test/player-journey.e2e-spec.tstest/app.e2e-spec.ts, withapp.close()added inafterEachto avoid leaking open connections between test runs
How to test
Notes for reviewers
This is a sequential test (single
it()block) rather thanseparate cases per step, since later steps depend on state
(
authToken,gameId) created in earlier steps — this keeps thetest representing one continuous journey rather than isolated,
order-dependent test cases.
Closes #625