Skip to content

test(waitlist): add form/success/validation tests - #281

Merged
martinzhames merged 2 commits into
dupdab:mainfrom
CodedBay:test/waitlist-page-form
Aug 29, 2026
Merged

test(waitlist): add form/success/validation tests#281
martinzhames merged 2 commits into
dupdab:mainfrom
CodedBay:test/waitlist-page-form

Conversation

@CodedBay

Copy link
Copy Markdown
Contributor
  • Install Jest + Testing Library infrastructure
  • Fix FormField: add htmlFor/id association for accessibility and correct label-to-input binding in tests
  • Tests: successful join renders CheckCircle confirmation and calls API; failed join shows toast.error and keeps form visible; specific API error message surfaces in toast; fallback message when no specific error; required attribute present on email input; fieldset disabled and button shows 'Joining...' while in-flight

closes #135

- Install Jest + Testing Library infrastructure
- Fix FormField: add htmlFor/id association for accessibility and
  correct label-to-input binding in tests
- Tests: successful join renders CheckCircle confirmation and calls API;
  failed join shows toast.error and keeps form visible; specific API
  error message surfaces in toast; fallback message when no specific
  error; required attribute present on email input; fieldset disabled
  and button shows 'Joining...' while in-flight
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@CodedBay Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@martinzhames
martinzhames merged commit 169c935 into dupdab:main Aug 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for the waitlist join flow and the post-join success state

2 participants