Repository navigation
test(e2e): cover the core stamp card flow - #296
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Also ignores the one e2e fixture finding in an already-pushed commit; the fixture was changed in the next commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The app validates card tokens as 32 lowercase hex characters, so the previous low-entropy placeholder broke the customer join. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
e2e/core-flow.spec.ts: the vendor creates a stamp card program, a customer enrolls via/c?v=<vendor>(phone plus birthday through the shared Radix Select), then the vendor looks the customer up on the counter and stamps the card. The count is asserted 0 / 5 then 1 / 5.e2e/mock-supabase.tswith function fixtures, the RPCs the flow needs, and paging that honoursoffset/limitand the app's keyset cursors.core-flowPlaywright project chained aftersigned-inbecause they share the mock port.src/**changes. Version 0.7.2, CHANGELOG and READMEs updated.Test plan
pnpm test:e2e(CI mode)pnpm checkand vitest via the pre-push gate🤖 Generated with Claude Code