Waitlist Button Test

Test Provider (Mock Data)

User: Not logged in

Provider: Test Clinic

Accepting Clients: No

Waitlist Button Component:

Real Provider (First in Database)

Provider: Test site

Accepting Clients: Yes

Waitlist Button Component:

Testing Instructions:

  • If not logged in, you should see a "Join Waitlist" button that prompts login
  • If logged in, you should see a "Join Waitlist" button that opens a form
  • If provider is accepting clients, the waitlist button won't show (it's replaced by booking buttons)
  • Fill out the form and submit to join the waitlist
  • After joining, you should see "On Waitlist (#position)" with a Leave button