Test volunteer sign-ups and payment choices as user journeys - #1925
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughChangesPayment provider coverage
Volunteer sign-up coverage
Test infrastructure updates
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Scenario
participant AdminSettings
participant PaymentState
Scenario->>AdminSettings: Submit Stripe provider selection
AdminSettings->>PaymentState: Preserve saved Stripe test key
PaymentState-->>AdminSettings: Render Stripe selected and test-mode notice
AdminSettings-->>Scenario: Verify provider labels and saved key
sequenceDiagram
participant Volunteer
participant SignUp
participant AttendeeRecords
participant Organiser
Volunteer->>SignUp: Submit free shift and access request
SignUp->>AttendeeRecords: Record booking and access note
Organiser->>AttendeeRecords: Open shift attendees
AttendeeRecords-->>Organiser: Show volunteer details and access note
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/scripts/specs/evidence-style.test.ts`:
- Around line 50-60: Update the variable-name list in the evidence-style
completeness test to include --color-accent, --color-secondary, and
--color-shadow, ensuring every variable generated by brandedThemeCss and used by
the payment CSS is asserted.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: b1408266-6bd7-4711-90ba-08b441d5516d
📒 Files selected for processing (14)
scripts/specs/evidence/declarations.tsspecs/bookings/volunteer-sign-up.featurespecs/owners.jsonspecs/payments/payment-provider-choice.featuretest/e2e/booking.test.tstest/scripts/specs/catalog.test.tstest/scripts/specs/evidence-style.test.tstest/shared/db/backup/restore.test.tstest/specs/steps/payment-provider-choice.tstest/specs/steps/servicing-hold.tstest/specs/steps/volunteer-sign-up.tstest/specs/support/browser.tstest/specs/support/world.tstest/test-utils/test-browser.ts
💤 Files with no reviewable changes (2)
- test/e2e/booking.test.ts
- test/test-utils/test-browser.ts
stefan-burke
enabled auto-merge
July 26, 2026 11:01
This was referenced Jul 27, 2026
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.
What changed
Why
These journeys now document the rules in plain language and still exercise the real rendered forms. The screenshot used by the website comes from the same payment-provider story.
Verification
nix develop -c deno task test:files test/scripts/specs/evidence-style.test.tsnix develop -c deno task precommitnix develop -c deno task test:screenshot-contractnix develop -c deno task specs:evidence