Client
86 cases79 passed 3 manual 2 retired 2 skipped by design
1A. Marketing & Public Pages
6 passed 1 retired
PassedTC-C-01Homepage loads correctly5.9s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/ - Scroll through the full page
Expected
- Header (dark on the homepage): "Pax Psychology" plus nav "Stories" (→
/stories), "Psychologists", "Toolkit"; right-hand "Sign in" and "Find my match". There are no "How it works" or "Who we help" links - Header on scroll (desktop): tall at the very top, then as soon as you scroll it shrinks to a slim bar and turns white with dark text and a dark "Find my match" button, without the page jumping; back at the top it is dark and tall again. Sections fade up into view as you scroll (no motion with the OS "reduce motion" setting). On a phone it stays one slim bar
- Hero: dark, text only (no photo). H1 "Shit happens. It's good to talk about it.", paragraph "Our goal is to match people with the right psychologist.", a white "Find my match" button (→
/onboarding) and a "Scroll" link down to How this works. No Medicare claim anywhere on the page - Sections in order:
- "How this works": a vertical title beside a photo and one step at a time ("01." "Tell us about you", "02." "Choose your match", "03." "Talk it out"), with dots and arrows; the photo changes with each step
- A coral band "When it's personal, you need the right person." with a "Take our 3 minute quiz" link and a "Find my match" button
- "Breathe. There's no judgement here" beside a sideways-scrolling row of psychologist cards in green, coral and blue, each with "Book with {first name}" (→ that psychologist's profile)
- "Toolkit" (vertical title) with three article cards, each with a coloured category label, and a "Read more" button (→
/toolkit) - "How we can help": "Mental Health" (yellow), "Performance" (blue) and "Wellbeing" (green) cards, each linking to its section of
/our-story - FAQs on a blue band, white rows that open in place (lazy – may pop in a beat later)
- "The right time is now. Take action." beside a coral panel with a photo, "Subscribe today" and a sign-up form (first name, email, "Sign up")
- There is no client testimonial (the old Priya pull-quote is gone)
- Cookie notice "We keep cookies to a minimum" on first visit: Pax Psychology uses a few cookies of its own to keep you signed in and to see which ads and links bring people in, "No advertising trackers.", a "privacy policy" link and a single "Got it" button
- Footer (dark): column headings "About" (Our Story, Your Stories, Privacy policy, Terms of Use), "Support" (Find my match, Toolkit), "Contact" (info@paxpsychology.com.au, Get in touch, Practitioner portal) and "Subscribe" (first name, email, "Sign up"). No crisis callout, no "For business" and no "Join Pax Psychology" link
- Footer small print "Copyright © 2026 Pax Psychology. All Rights Reserved." and an Acknowledgement of Country ("Pax Psychology acknowledges Traditional Owners of Country throughout Australia…")
Notes Check mobile at 375px: the nav collapses to a kebab menu (aria-label "Open menu"/"Close menu") whose panel adds a "Contact" link that the desktop nav does not have.
Automated run
- 1. Navigate to https://paxpsychology.dev/
- 2. Scroll through the full page
- Notes. At 375px the nav collapses to a kebab menu whose panel adds Contact
PassedTC-C-02Navigate to Our Story page2.2s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/our-story
Expected
- Browser tab title "Our story | Pax Psychology"
- Heading row: "Your stories" in outline (a link to
/stories) beside the H1 "Our story" - Founders section: a vertical "The founders" title beside the founders photo, and the story ("Pax Psychology started when two friends…")
- "Peace of mind over perfection." followed by a paragraph starting "These days it can be easy for us to strive for ‘perfection’…"
- Three half-and-half blocks: "Wellbeing" (
#wellbeing, green photo panel), "Performance" (#performance, blue, photo on the left), "Mental Health" (#mental-health, yellow), each with a full paragraph (for example "Wellbeing Psychology aims to improve one’s holistic management…") - A light blue band "We'll help find a psychologist for you." with a "Find my match" button →
/onboarding
Automated run
- 1. Navigate to https://paxpsychology.dev/our-story
PassedTC-C-03Navigate to For Business page1.4s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/for-business - Click "Enter" with the code field empty
- Type any code and click "Enter"
Expected
- H1 "Look after the people who look after the work." with nothing above it
- Unique-code panel "Already have a unique code?" with a single input (placeholder "Enter your unique code") and an "Enter" button
- Empty submit shows the red error "The code you entered is invalid. Please check and try again."
- A non-empty code navigates to
/psychologists?unique-code=<code> - Four service cards: "Employee assistance programs", "Workplace wellbeing", "Performance psychology", "Custom solutions"
- CTA with buttons "Get in touch" (→
/contact) and "Browse psychologists"
Notes Known quirk – the code is not validated here; any non-empty string is accepted and passed through to the directory.
Automated run
- 1. Navigate to https://paxpsychology.dev/for-business
- 2. Click “Enter” with the code field empty
- 3. Type any code and click “Enter”
PassedTC-C-04Navigate to Contact page4.7s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/contact - Click "Send message" with the form empty, and check the validation messages
- Fill in the form: Name
Test User, Email addresse2e+contact@paxpsychology.dev, Phone0412 345 678, What's this about? "I'm a psychologist and want to join Pax Psychology", MessageThis is a staging test submission. - Click "Send message"
Expected
- H1 "Contact us" with nothing above it, the intro "We're here to help. Send us a message and we'll get back to you. We usually reply within 24 to 48 hours on business days.", the link
info@paxpsychology.com.au(opens your mail app), a line linking the FAQs, and "Psychologist wanting to join? Choose “I'm a psychologist and want to join Pax Psychology” and tell us a little about your practice." - A red-tinted crisis note beside the form (above it on a phone): "If you're not safe right now, call Lifeline on 13 11 14 or 000…", with both numbers as call links
- The form sits in a white card on a coral panel, headed "Send us a message" and "All fields are required unless marked optional.", with a visible sentence-case label on each field (no placeholder text, no capitals or letter-spacing): "Name", "Email address", "Phone", "What's this about? (optional)", "Message"; a collection notice linking the privacy policy sits above the button
- "What's this about? (optional)" is a dropdown that starts on "Choose a topic" and offers "I'm looking for support", "I'm a psychologist and want to join Pax Psychology", "Billing or my account" and "Something else"; leaving it on "Choose a topic" is fine
- Below the form, a light blue band "Looking for a psychologist?" with "Find my match" (→
/onboarding) and "Search Psychologists" (→/psychologists) - Validation: focus moves to a red summary at the top of the form, "There are 4 problems with your message", listing "Name must be at least 2 characters", "Please enter a valid email address", "Phone number is required" / "Please enter a valid Australian phone number", "Message must be at least 10 characters" as links; each link jumps to its field, and the same message shows under each field. The summary shrinks, and then goes, as you fix the fields.
- Button shows a spinner and "Sending…" while submitting
- On success the form is replaced by "Thanks for your message." and "We've emailed you a copy of what you sent. We usually reply within 24 to 48 hours on business days.", with a "Back to the homepage" button
- Two emails go out:
Contact form (Psychologist joining Pax Psychology): Test Userto support, with a "Topic" row reading "I'm a psychologist and want to join Pax Psychology" (a message with no topic is justContact form: <name>, its row "Not chosen"), and "Thank you for contacting Pax Psychology" to the sender, which says "We usually reply within 24 to 48 hours on business days."
Notes Cloudflare Turnstile runs invisibly when a site key is configured; "Send message" stays disabled until it has issued its token (a second or so after the page loads). If verification fails the red banner reads "Verification failed. Please try again." Sending more than 5 messages from one email address in an hour shows "Too many attempts. Please try again in an hour." After a failed validation the next "Send message" goes through without tabbing out of the last field first.
Automated run
- 1. Navigate to https://paxpsychology.dev/contact
- 2. Click “Send message” with the form empty, and check the validation messages
- 3. Fill in the form: Name, Email address, Phone and Message
- 4. Click “Send message”
- Email "Contact form (Psychologist joining Pax Psychology): Test User" is sent to support@paxpsychology.dev
- Email "Thank you for contacting Pax Psychology" is sent to e2e+contact@paxpsychology.dev
PassedTC-C-05Privacy Policy and Terms of Use pages load1.5s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/privacy-policy - Navigate to
https://paxpsychology.dev/terms-of-use
Expected
- Privacy Policy: H1 "Privacy Policy" with a "Last updated" date under it, 18 numbered sections (1. Introduction … 18. Contact Us, including 11. Service providers and overseas disclosure), entity named as "Pax Psychology Pty Ltd (ABN 85 643 512 305, ACN 643 512 305), trading as Pax Psychology"
- Terms: H1 "Pax Psychology Terms and Conditions of Use", 21 numbered sections including 7. Cancellation Policy (24-hour window) and 6. Fees
- Both pages readable with no broken layout
Notes Both pages are linked from the footer's "About" column ("Privacy policy", "Terms of Use") and from the booking consent checkbox.
Automated run
- 1. Navigate to https://paxpsychology.dev/privacy-policy
- 2. Navigate to https://paxpsychology.dev/terms-of-use
RetiredTC-C-06Newsletter signup from homepage footer–
Retired by the 2026-09-03 script revision: the homepage and footer no longer contain a newsletter form. The only signup on the site is the strip at the foot of /toolkit, covered by TC-C-27.
PassedTC-C-141The Zoom help page explains adding, using and removing the app (new)1.6s
Test script
Preconditions None (signed out)
Steps
- Navigate to
https://paxpsychology.dev/help/zoom - Click "Removing Zoom" under "On this page"
- Check the links under "Getting help"
Expected
- Step 1: the page loads signed out, titled "Using Zoom | Pax Psychology", with the H1 "Using Zoom with Pax Psychology", a "Last updated" date and seven sections: What the Zoom app does, Adding Zoom, Using Zoom with Pax Psychology, Removing Zoom, Your data and privacy, Troubleshooting and Getting help. Adding Zoom has the steps from Connections, Video, Zoom, Connect, and lists each permission Zoom's consent screen asks for with what it's used for (Update meetings moves a rescheduled session's meeting, Delete meetings deletes a cancelled session's); Using covers booked sessions, moved sessions ("moves its meeting in your Zoom account to the new date, time and length. The meeting keeps the same Zoom link") and cancelled sessions ("its meeting is deleted from your Zoom account"), "Waiting for <First>?", recordings with consent and "Needs reconnecting"
- Step 2: the page scrolls to Removing Zoom (
#removing): disconnecting in Connections, and removing the app in the Zoom App Marketplace (Manage, Added apps, Remove), with what happens to sessions and data - Step 3: the support email (
info@paxpsychology.com.au) as a mailto link, "Contact us" to/contact, and the privacy policy link
Notes The page is in the sitemap and llms.txt, and indexable in production. It is not a maintenance route, so it stays up during maintenance. The Zoom card in Connections links to it ("How Zoom works with Pax Psychology", TC-P-154).
Automated run
- 1. Signed out, navigate to https://paxpsychology.dev/help/zoom
- 2. Click "Removing Zoom" under On this page
- 3. Check the support links under Getting help
1B. Find Your Match (matching quiz + booking wizard)
3 passed
PassedTC-C-07Complete the full match wizard12.1s
Test script
Preconditions At least one bookable psychologist (i.e. test@paxpsychology.dev). Clear localStorage first if you have a part-finished run.
Steps
- Navigate to
https://paxpsychology.dev/onboarding - Confirm the chrome: a back chevron and the "Pax Psychology" brand link in a tall bar (it shrinks once you scroll, like the site header), on a pale blue-grey page, with no step counter, progress bar or "Save & exit". A row of dots at the bottom (the current one a short coral bar) tracks progress, with black up/down arrow buttons at the bottom right ("Back" and "Next"). The same dots carry on through availability, the shortlist, the time and the details steps, where the arrows are "Previous step" and "Next step". On a phone the dots and left/right arrows sit above the question. Click the back chevron: a "Leave for now?" dialog says your answers are saved. Click "Keep going" to stay (or "Leave" goes to the homepage)
- Welcome. H1 "When it's personal, you need the right person.", with a "data privacy policy" link, "Press Enter ↵" and "Takes 3+ min" notes. Click "Let's go!" (or press Enter)
- Urgency. H1 "How important is it that you talk to someone?". The lede starts "Pax Psychology is not an emergency service." and links Emergency Services (000) and Lifeline (131114). The three answers are coloured rows (coral, yellow, green), each with a numbered key. Click "As soon as" (or press 2; single-choice answers move on as soon as they are clicked; there is no Continue button)
- First time. H1 "Is this your first time speaking with a psychologist?". Click "Yes"
- Name. H1 "What should we call you?". "Ok" is disabled until something is typed. Type
Test Clientand click "Ok". The next screen reads "Hi Test, we’re so pleased that you’re here."; click "Continue" - Identity and status. "How do you identify?": click "Male". "What is your status?": click "Single"
- Date of birth. H1 "What's your date of birth?", with Day, Month and Year boxes. First type a date 10 years ago, then change it to
17/05/1990and click "Ok" - Area. H1 "Which area can we help you with?" with three cards: "Mental Health Psychology", "Performance Psychology", "Wellbeing Psychology". Click "Mental Health Psychology"
- Tags. H1 "Do any of these tags reflect your Mental Health needs?". Select "Anxiety" (it turns coral with a ×) and click "Ok" (tags are optional; "Skip" is offered while none are chosen)
- Motivation. H1 "What’s your main motivation for speaking to someone?". Type a sentence and click "Ok" ("Skip" is offered while the box is empty)
- Preferences. "Who would you prefer to talk to?": click "Either". "How much are you hoping to spend per session?": click "Don’t mind"
- Availability. The dots move on past the quiz. H1 "When are you usually free?". Pick one chip: "Weekdays, daytime", "Weekday evenings", "Weekends", or "I'm flexible". Click "See my matches" - Confirm there is no video-vs-in-person question anywhere; the lede states sessions are by video
- Shortlist. On a mint page. H1 "Thanks Test, here’s N people we think can help" ("person" when there is one) on the left, beside a fanned stack of psychologist cards. Each card shows a match percentage; the front card has a "Choose" button that becomes "Chosen". The dots and arrows under the stack flip through the cards, and clicking a card behind brings it forward and chooses it. Pick one, then click "Pick a session time"
- Time slot. H1 "When suits for your first session?". Wait for the calendar, pick a slot, then click "Continue to details"
- Details + payment. H1 "Your details, and you're booked.". "Full name" is already filled in with
Test Clientfrom the quiz. Fill "Email" and "Mobile". Tick "I agree with the Terms of Use and Privacy Policy". Click "Continue to payment", then complete the Stripe card form with4242 4242 4242 4242/12/30/123and click "Save card and confirm booking" - Confirmation. Verify the success screen
- Crisis screen. Clear
localStorage, reopen/onboarding, click "Let's go!" and this time click "Urgent". Then click "Continue"
Expected
- The quiz shows one question per screen and the dots track it: 17 dots, or 18 once "Urgent" adds the crisis screen (13 or 14 questions, then the four booking steps). After the last question the coral dot carries on along the same row. Screen readers hear "Question n of 13" and then "Step 2 of 5" to "Step 5 of 5"
- "As soon as" and "No urgency" go straight to the first-time question; only "Urgent" shows the crisis screen
- Under-18 block: a date of birth less than 18 years ago (on the Sydney calendar) replaces "Ok" with the "Sorry, you need to be 18 or over to use Pax Psychology" panel (Kids Helpline 1800 55 1800, headspace, Lifeline 13 11 14, 000; see TC-C-93), and the "Next" arrow stays disabled (pressing Enter does not move on either);
1990clears the panel and brings "Ok" back. A date that doesn't exist (31 / 02) reads "Check your date of birth." - The shortlist heading starts "Thanks Test," and names how many matches there are; matches favour the chosen area and tags, the preferred gender and the budget
- On the details step, with name, email and mobile filled but the terms box unticked, the payment area reads "Agree to the Terms of Use and Privacy Policy to continue to payment." instead of the "Continue to payment" button
- The payment block reads "Nothing comes out today. Need to move it? Reschedule or cancel free up to 24 hours before. Cancelling within 24 hours of the session is charged the full session fee." and the summary row is "Charged after your session" (the same payment step as booking from a profile, TC-C-17)
- No Medicare rebate wording anywhere in the quiz or booking steps (no rebate line, amount or "Medicare then refunds" sentence), even when the session type has a rebate set: Pax Psychology makes no rebate claims or promises
- Confirmation screen: H1 "You're booked.", a "Confirmed. <First> is expecting you." badge, summary rows "Your psychologist" / "First session" / "Charged after your session", and the button "View my appointments" →
/dashboard/appointments(the booked screen shared with booking from a profile) - A confirmation email arrives at the address entered
- The appointment appears in the psychologist's Schedule, and on their New-clients screen the client shows their age from the date of birth, the chosen tags, the motivation, and a line with the preferred psychologist gender and budget (when "Don't Mind" wasn't chosen)
- Crisis screen (step 18): H1 "Help is only a phone call away", lede "If you need help urgently, please call one of the below numbers right away.", and three call buttons "Call: 000" (
tel:000), "Call: Lifeline" (tel:131114) and "Call: Beyond Blue" (tel:1300224636). The third of 18 dots is the coral one. "Continue" moves on to "Is this your first time speaking with a psychologist?"
Notes "Back" (the up arrow, or left arrow on a phone) on any quiz screen returns to the previous question with its answer kept; "Back" on "When are you usually free?" returns to the budget question. The "Change" links on the time and details steps jump back to the shortlist / slot picker. Stripe failures surface as "Please check your card details." or "We couldn't confirm your card."
Automated run
- 1. Navigate to https://paxpsychology.dev/onboarding
- 2. Confirm the chrome: back chevron, brand link and progress dots, no “Save & exit”; the chevron asks before leaving
- 3. Welcome. Click “Let’s go!”
- 4. Urgency. Click “As soon as”
- 5. First time. Click “Yes”
- 6. Name. Type “Test Client”, click “Ok”, then “Continue” on the greeting
- 7. Identity and status. Click “Male”, then “Single”
- 8. Date of birth. Try a date 10 years ago, then type 17 / 05 / 1990 and click “Ok”
- 9. Area. Click “Mental Health Psychology”
- 10. Tags. Select “Anxiety”, then click “Ok”
- 11. Motivation. Type a sentence, then click “Ok”
- 12. Preferences. Click “Either”, then “Don’t mind”
- 13. Availability. Pick a chip, then click “See my matches”
- 14. Shortlist. Pick a psychologist, then click “Pick a session time”
- 15. Time slot. Pick a slot, then “Continue to details”
- 16. Details + payment. Fill the details, agree to the terms and save the card
- 17. Confirmation. Verify the success screen
- 18. Crisis screen. Start a fresh quiz and click “Urgent”
- Email "Appointment Confirmation" is sent to e2e+e2e-20261104-gh41924178588-c07@paxpsychology.dev
PassedTC-C-08Match wizard progress persistence4.9s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/onboarding - Answer the quiz as in TC-C-07 as far as "What's your date of birth?" ("Question 8 of 13") and type
17/05/1990, but do not click "Ok" - Close the tab, then reopen
https://paxpsychology.dev/onboarding. Click "Back" (the up arrow) a few times - Repeat, but this time finish the quiz, pick an availability chip and get as far as the shortlist before closing the tab
Expected
- Reopening mid-quiz puts you back on the same question ("What's your date of birth?", the eighth dot) with
17/05/1990still typed; going "Back" shows your earlier answers still selected ("Single", "Male") and your name still filled in - Only the quiz and availability persist. After reaching the shortlist or later, reopening drops you back to "When are you usually free?" with your chip still selected; the shortlist, slot and details are never stored
- Progress lives in
localStorageunder the keypax-match-wizard-v2({ step, quiz, quizIndex, when }); it is cleared once payment succeeds. The oldpax-match-wizardkey is ignored
Notes Clear that key in DevTools to start fresh.
Automated run
- 1. Navigate to https://paxpsychology.dev/onboarding
- 2. Answer the quiz as far as “What’s your date of birth?” and type 17 / 05 / 1990, without clicking “Ok”
- 3. Close the tab, then reopen https://paxpsychology.dev/onboarding
- 4. Repeat, but get as far as the shortlist before closing; only the quiz and availability persist
PassedTC-C-08aEmail validation on the details step (new)3.2s
Test script
Preconditions Reached the details step ("Your details, and you're booked.") of the wizard
Steps
- Type
notanemailinto "Email" then click elsewhere (blur the field) - Correct it to a valid address and fill "Mobile"
- Tick "I agree with the Terms of Use and Privacy Policy"
Expected
- "Full name" is already filled in with the name given in the quiz
- On blur, the inline error "Enter a valid email address" appears; it then updates live on each keystroke until the address is valid
- With any of name / email / mobile still incomplete, the gate text reads "Add your name, email and mobile above to continue to payment." instead of the "Continue to payment" button
- Once the details are complete but the terms box is unticked, the gate text reads "Agree to the Terms of Use and Privacy Policy to continue to payment."
- Ticking the box shows the "Continue to payment" button
Automated run
- Precondition. Reach the details step (Step 5 of 5) of the wizard
- 1. Type `notanemail` into “Email” then click elsewhere (blur the field)
- 2. Correct it to a valid address – the error updates live on each keystroke
1C. Psychologist Directory
5 passed
PassedTC-C-09Browse the directory and use the desktop filters14.2s
Test script
Preconditions At least one psychologist profile exists
Steps
- Navigate to
https://paxpsychology.dev/psychologistson a desktop-width window (1024px or wider) - Confirm the H1 "Search psychologists" with a sliders icon at its right, and three columns below: "Filter by", "Search results" and "Popular choices"
- Search using the box (placeholder "Enter psychologist name, location, focus area or issue") – try a psychologist's name, then a location
- In "Filter by", open the "Gender" row and tick an option
- Open the "Issue" row and tick an issue
- Open the "Availability" row and tick "Taking clients now"
- Change the sort dropdown from "Best match" to "Lowest rate"
- Click "Clear all" in the chip row above the columns
- Shortlist a psychologist with the + icon on their row, then remove them
- Scroll past the directory
Expected
- No eyebrow above the H1. The search field is full width under it
- Results header reads "Search results", with "<n> psychologists matched" (no Medicare claim) and the sort dropdown on the right
- "Filter by" rows, in order, each an accordion with a plus icon (a minus when open) and a grey rule under it: "Gender" (Woman, Man, Non-binary or other, Prefer not to say), "Focus area" (Mental Health, Performance, Wellbeing), "Issue", "Session type", "Availability" ("Taking clients now") and "Name" (a text field that searches by name). Every "Focus area" and "Issue" option is a name from the speciality list (
config/specialities.ts, e.g. "Lifestyle changes & decisions"), so each one can match a psychologist; there is no "Trauma" option. Every option is a small square checkbox that turns coral with a white tick when ticked, and you can tick more than one gender. There is no Location filter. Rows holding an active filter start open - Search matches psychologist name, bio, location, qualifications and speciality (case-insensitive, 300 ms debounce)
- Every control applies immediately – there is no Apply button – and the controls dim while the new results load
- Active filters show as coral chips with an X above the columns; "Clear all" resets them while keeping the search term
- Empty state: "There are no matching search results. Please try a different keyword." with a "Clear all filters" link
- Result rows are compact white bars: photo, name, location (plus "not taking new clients" for a psychologist who isn't, and the next free slot when known), a +/- shortlist icon and a black "Book" button
- Shortlisting adds a "Shortlisted" group above "Search results" (removed with the − icon); the shortlist is kept in the browser between visits
- "Popular choices" cards show a photo, name, title, a full-width "Book appointment" button and a "Shortlist" toggle. Arriving from the quiz (a
?questionnaire=link) the column reads "Your matches" with a green tick and shows the top matches instead - More than 20 results page with small square page buttons (current filled dark) and arrows under the list
- Below the directory: the "It's normal" stories carousel (clients' stories, as on the WordPress site: a row of the /stories cards, each a photo, the person's name, an excerpt and "Read <name>'s story" opening
/stories/<slug>, with dots and arrows that move one card at a time, and a "See all stories" link to/stories), the sky "When it's personal, you need the right person." band with "Find my match", the Toolkit preview ("Toolkit") and "The right time is now. Take action."
Notes A psychologist's name (or photo) opens their Practitioner page directly; "Book" goes straight to booking. There is no quick-view drawer.
Automated run
- 1. Navigate to /psychologists on a desktop-width window
- 2. Confirm the H1 “Search psychologists” and the three columns
- 3. Search using the box – try a psychologist’s name, then a location
- 4. Check the “Filter by” rows, then open “Gender” and choose an option
- 5. Open “Issue” and tick an issue
- 6. Open “Availability” and tick “Taking clients now”
- 7. Change the sort dropdown from “Best match” to “Lowest rate”
- 8. Click “Clear all” in the chip row above the columns
- 9. Shortlist a psychologist with the + icon, then remove them
- 10. Scroll past the directory
PassedTC-C-10View an individual psychologist profile page3.2s
Test script
Preconditions At least one psychologist profile exists
Steps
- From
/psychologists, click a psychologist's name (it opens the Practitioner page directly; there is no quick-view drawer), or go straight to/psychologists/[psychologistSlug](the slug is made from the name without the title, e.g./psychologists/emily-thompson)
Expected
- The Practitioner page: a back chevron in the header ("Back to all psychologists", to
/psychologists), portrait, H1 = psychologist name, title and location, any ticked highlights, and a "Shortlist" toggle that becomes "Shortlisted" - A "Bio" section with the full bio (paragraphs and bullet lists), beside "Availability" (weekly hours such as "Weekdays 9am–5pm", a "Taking clients" or "Not taking new clients" pill and next-available slot pills, which a psychologist not taking new clients doesn't show), "Fee" ("$<fee> per session", with copy saying the card is saved securely when you book and is only charged after the session), "Details" ("Telehealth: …", "In person: …", and "Ahpra registration PSY…" with "Check it on the Ahpra register") and "Specialities" chips with a "See more" toggle when the list is long. No Medicare copy, except "No Medicare rebate" for a psychologist whose clients can't claim (TC-C-126). The location line is the public location ("Telehealth across Australia" or "Based in <state>"), never a street
- Primary CTA "Book appointment" →
/book/[psychologistSlug](on a phone it is a black bar pinned to the bottom of the screen while you scroll the profile) - A "Discover other psychologists" band whose cards have "Book appointment" buttons and a "Shortlist" toggle, with a "Search psychologists" button
- A closing "The right time is now. Take action." block with "Find my match"
- An unknown psychologist slug returns a real 404
Notes Signed in as an admin or psychologist you see "As a staff member, please create appointments through the dashboard." instead of the CTA.
Automated run
- 1. From /psychologists, click a psychologist['’]s name
- An unknown psychologist slug returns a real 404
PassedTC-C-127An unapproved psychologist isn't in the directory, search or matches, and their booking URL is not found (new)838ms
Test script
Preconditions Signed out. unapproved@ (Dr Uma Unapproved) has payouts on, a bookable Zoom session type with a fee and everything else a listed psychologist has, but no admin approval
Steps
- Search
/psychologistsfor "Uma Unapproved" - Open
/psychologists/uma-unapproved - Open
/book/uma-unapproved
Expected
- Step 1 finds nobody by that name
- Steps 2 and 3 are the not-found page
Notes Live means approved by an admin, payouts on, and at least one bookable session type (a working video provider and a fee above zero), and not paused (docs/psychologist-onboarding-plan.md). The match results after the quiz read the same rule, so an unapproved psychologist is never matched either. Booking is also refused on the server.
Automated run
- 1. Search the directory for "Uma Unapproved"
- 2. Open /psychologists/uma-unapproved
- 3. Open /book/uma-unapproved
PassedTC-C-126No Medicare rebate shows before booking when clients can't claim; no rebate is advertised otherwise (new)2.1s
Test script
Preconditions Signed out. A live psychologist who answered Medicare "No", and one who answered "Yes"
Steps
- Open the first one's profile, then "Book appointment"
- Open the second one's profile
Expected
- Step 1: "No Medicare rebate. You can't claim a Medicare rebate for this session. You pay the full fee." under Details, and again on the booking page's time step (and the session type step, if they offer two)
- Step 2: no Medicare copy at all
Notes Rebates aren't advertised (decision 10). The notice follows the psychologist's Medicare answer in setup.
Automated run
- 1. Open the first one's profile, then "Book appointment"
- 2. Open the second one's profile
PassedTC-C-128The profile shows the public location and the Ahpra number with a register link (new)867ms
Test script
Preconditions Signed out. A live psychologist who chose "Based in Tasmania" and gave an Ahpra number
Steps
- Open their profile
Expected
- Under the title: "Based in Tasmania" (or "Telehealth across Australia"), never a suburb or street
- Under Details: "Ahpra registration PSY…" and "Check it on the Ahpra register", which opens the public register
Notes The practice address is never on the profile, the booking page, receipts or letters.
Automated run
- 1. Open their profile
1D. Authentication
7 passed 2 manual
PassedTC-C-11Login with email/password2.4s
Test script
Preconditions client@paxpsychology.dev exists
Steps
- Navigate to
https://paxpsychology.dev/auth/login - Check the page copy
- Enter
client@paxpsychology.devandTest123! - Click "Sign in"
Expected
- Desktop: a yellow photo panel on the left with the Pax Psychology logo (the ink speech-bubble P and the name, linking home), the headline "Shit happens. It's good to talk about it." and, under it, a shield icon with "Private and secure. Your sessions stay yours.". There is no eyebrow above the headline. Mobile: the photo sits above the form with the logo top left and a close (X) button back to the homepage top right, and no headline
- H1 "Sign in"
- Visible labels "Email" and "Password" above the fields (the email field's placeholder is
you@email.com); the password field has a show/hide toggle - Button "Sign in", showing "Signing in…" while pending
- Below it, a "Forgot password" link (there is no "Remember me" checkbox), then "Don't have an account? Create an account"
- An "or" divider, then "Continue with Google / Apple / Microsoft"
- Footer "By continuing you agree to Pax Psychology's Terms and Privacy Policy."
- Redirected to
/dashboard, which loads the client portal Home (see TC-C-20)
Notes The register, forgot/reset password, check-email, verification, error, two-step sign-in and sign-out pages share the same photo panel (logo, headline and trust line, no eyebrow). Two-step verification setup and its gate swap the headline for "Your sessions stay between you and us.". The "Login with Google" button labels are gone.
Automated run
- 1. Navigate to https://paxpsychology.dev/auth/login
- 2. Check the page copy
- 3. Enter client@paxpsychology.dev and Test123!
- 4. Click “Sign in”
ManualTC-C-12Login with Google OAuth–
Google's hosted consent screen cannot be driven from Playwright (bot detection plus a real Google account and 2FA). Verify by hand: /auth/login → “Continue with Google” → land on /dashboard.
Test script
Preconditions A Google account linked to a staging user
Steps
- Navigate to
https://paxpsychology.dev/auth/login - Click "Continue with Google" and complete the OAuth flow
Expected
- Redirected to
/dashboardafter successful Google authentication.
Notes The social buttons are "Continue with Google", "Continue with Apple" and "Continue with Microsoft", separated from the form by an "or" divider. /auth/register offers only "Sign up with Google".
ManualTC-C-13Login with Microsoft OAuth–
Microsoft Entra's hosted sign-in cannot be driven from Playwright (bot detection plus a real tenant account). Verify by hand: /auth/login → “Continue with Microsoft” → land on /dashboard.
Test script
Preconditions A Microsoft account linked to a staging user
Steps
- Navigate to
https://paxpsychology.dev/auth/login - Click "Continue with Microsoft" and complete the OAuth flow
Expected
- Redirected to
/dashboardafter successful Microsoft authentication.
Notes Signing in with a provider whose email already belongs to a password account shows "That email's already linked to a different way of signing in. Try the method you first signed up with."
PassedTC-C-14Forgot password flow3.0s
Test script
Preconditions An account with email/password credentials
Steps
- From
/auth/login, click "Forgot password" to reach/auth/forgot-password - Enter the account email and click "Send reset link"
- Open the reset email and follow the link to
/auth/reset-password?token=… - Enter a new password twice and click "Save & sign in"
- Log in with the new password
- Separately, open
/auth/reset-passwordwith no?token
Expected
- Forgot page: back link "Back to sign in", H1 "Forgot your password?", sub "No worries. Pop in your email and we'll send you a link to set a new one.", button "Send reset link" ("Sending…" while pending)
- Success state: H1 "Check your email." with "We've sent a reset link to your inbox. Click it to set a new password – it expires in 30 minutes." and "Didn't get it? Check spam, or try again."
- Reset page: H1 "Let's get you back in.", sub "Choose a new password for your account.", fields "New password" (with a strength meter) and "Confirm new password", button "Save & sign in"
- Landing back on login shows the banner "Password reset successful. Sign in with your new password."
- With no token: H1 "Invalid reset link." and a "Request a new link" link
Notes The same route is linked as "Change password" from Settings › Sign-in and security (TC-C-123).
Automated run
- 1. From /auth/login, click “Forgot password” to reach /auth/forgot-password
- 2. Enter the account email and click “Send reset link”
- Email "Reset your Pax Psychology password" is sent to client@paxpsychology.dev
- 3–5. MANUAL: open the reset email, follow the link, set a new password and sign in with it
- 6. Separately, open /auth/reset-password with no ?token
PassedTC-C-57Reset a password end to end, and other sessions end (new)9.8s
Test script
Preconditions resets@paxpsychology.dev (Reese Resets), whose password the acceptance seeder puts back to Test123! every run, signed in in a second browser. The reset email's link carries a token the email log hides, so the automated case reads the token from the database (verification_tokens, identifier reset:<email>)
Steps
- On
/auth/forgot-password, request a reset for the account, and open the link from the email - Enter a new password twice and click "Save & sign in"
- Sign in with the new password; sign out and try the old one
- Reload
/dashboardin the second browser - Open the same reset link again and try to set another password
Expected
- Step 1: "Check your email." and the email "Reset your Pax Psychology password"; the link opens "Let's get you back in."
- Step 2: back on
/auth/loginwith "Password reset successful. Sign in with your new password."; the email "Your Pax Psychology password's been changed" - Step 3: the new password works; the old one gets "That email and password didn't match. Have another go, or reset your password below."
- Step 4: the second browser is sent to
/auth/login(resetting the password ended every other session) - Step 5: "Invalid or expired reset token." (a link works once)
Automated run
- Precondition. Sign in as the client in a second browser
- 1. Request a reset, and read the link's token
- Email "Reset your Pax Psychology password" is sent to resets@paxpsychology.dev
- 2. Open the link, set a new password twice, click "Save & sign in"
- Email "Your Pax Psychology password's been changed" is sent to resets@paxpsychology.dev
- 3. Sign in with the new password; then try the old one
- 4. Reload the second browser
- 5. Use the same reset link again
PassedTC-C-58Verify an email end to end, and the first sign-in is announced (new)15.9s
Test script
Preconditions None. Register a new address (the automated case uses an e2e+…@paxpsychology.dev address and reads the verification token from the database, identifier verify:<email>)
Steps
- Register on
/auth/registerand open the link in "Verify your email address for Pax Psychology" - Click "Sign in" and sign in
- Sign out and sign in again in the same browser
- Open the same verification link again
Expected
- Step 1: "You're all set." with "Your email is confirmed. Sign in and let's get you started."; the account is verified
- Step 2: the client Home ("Hey <FirstName>."), and the email "New sign-in to your Pax Psychology account"
- Step 3: no second "New sign-in" email: the alert is only for a browser the account hasn't signed in from before
- Step 4: "That link didn't work."
Automated run
- 1. Register, and read the verification link's token
- Email "Verify your email address for Pax Psychology" is sent to e2e+e2e-20261104-gh41924178588-c58@paxpsychology.dev
- 2. Open the link
- 3. Click "Sign in" and sign in
- Email "New sign-in to your Pax Psychology account" is sent to e2e+e2e-20261104-gh41924178588-c58@paxpsychology.dev
- 4. Sign out and sign in again from the same browser
- 5. Open the same verification link again
PassedTC-C-15Login with invalid credentials2.3s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/auth/login - Enter
invalid@example.com/wrongpasswordand click "Sign in"
Expected
- The user stays on the login page and sees "That email and password didn't match. Have another go, or reset your password below."
- No hint is given as to whether the email exists
Automated run
- 1. Navigate to https://paxpsychology.dev/auth/login
- 2. Enter invalid@example.com / wrongpassword and click “Sign in”
PassedTC-C-16Sign out7.1s
Test script
Preconditions Logged in as the client
Steps
- From any dashboard page, click the user chip at the bottom of the left sidebar
- Confirm the menu contains "Settings" and "Sign out"
- Click "Sign out"
- Log back in, then go to
/dashboard/settings?section=accountand use the "Sign out" button in the red "Account" panel
Expected
- The sidebar chip menu is a new sign-out route added in this redesign; the label changes to "Signing out…" while pending and you land back on
/ - Settings › Account also offers "Sign out" ("Sign out of Pax Psychology on this device.") and, below it, "Delete account"
Notes No role has an "Account actions" settings section: Sign out is on Settings › Account for everyone, and only clients have "Delete account" there.
Automated run
- 1. From any dashboard page, click the user chip at the bottom of the left sidebar
- 2. Confirm the menu contains “Settings” and “Sign out”
- 3. Click “Sign out”
- 4. Log back in, then use the “Sign out” button in the red “Account” panel of Settings › Account
PassedTC-C-39Sign-in can only go through the throttled login (new)751ms
Test script
Preconditions None. Do this signed out. Use a made-up email (for example nobody-<today>@example.com) so no real account is throttled.
Steps
- Navigate to
https://paxpsychology.dev/auth/login/mobile - POST the made-up email and a wrong password (JSON
email,password) straight to/api/auth/sign-in/email, and to the old Auth.js/api/auth/callback/credentials, without following any redirect - Optional, and only where rate limits are on (they are always on in production): sign in on
/auth/loginwith the made-up email and a wrong password until it is refused
Expected
- Step 1: the standard 404 page. The old standalone mobile password page is gone, with no redirect; the app signs in through
/auth/login?mobile=true - Step 2: both answer a plain 404 (no redirect) and set no session cookie. Password sign-in only goes through the login form's server action, which is rate limited
- Step 3: after 10 attempts in 15 minutes the sign-in form shows "Too many attempts. Please try again in 15 minutes." for that email
Notes Step 3 also counts towards the 30-per-15-minutes limit for your IP address, so don't run it more than once from the same network. Every failed attempt is written to the auth audit log (auth_audit_logs) with the IP and browser.
Automated run
- 1. Navigate to https://paxpsychology.dev/auth/login/mobile
- 2. POST a wrong password straight to /api/auth/sign-in/email and the old Auth.js route
1E. Booking Flow
19 passed 1 manual
PassedTC-C-75Rebook a past session (new)8.2s
Test script
Preconditions Logged in as client@paxpsychology.dev (past sessions with test@paxpsychology.dev and a saved default card)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments?tab=pastand click "Book again" on a past session; note its session type - In the card that opens under it, click "More times or another type"
- Read the session type step, then click "Pick a time"
- Pick a day at least two days out and a time, then click "Continue"
- Keep the default card and click "Confirm booking"
- Find the new session on Sessions, open it and cancel it (it is more than 24 hours away, so this is free)
Expected
- Step 2 opens
/dashboard/book?again=<session id>inside the dashboard, with Sessions highlighted in the sidebar: "Book with <First>." and the steps "Session type, Time, Confirm" - The session type starts on the same type as the session being rebooked. After an initial session (a title with "Initial", "Intake" or "First") it starts on the psychologist's standard follow-up type (a title with "Follow-up", then "Standard", "Regular"/"Ongoing", or a plain "Session" / "Therapy session" / "Consultation", in any case), badged "<First>'s usual follow-up", with "Picked for you: …". With no such type it stays on the same type.
test@has no follow-up type, so after an Initial consultation it stays on Initial consultation - The time step lists only days with open, future times, a week at a time with "Pick a date"; the summary beside it fills in "When"
- The confirm step: "Check and book.", "Your details", a "Charged after your session" row with the fee, the saved cards (the default preselected, marked "Default") plus "Use a new card", and "Cancelling within 24 hours of the session is charged the full session fee."
- "You're booked." on success. The session is a normal booking: card on file, no open invoice, and it is charged when the psychologist completes it (TC-P-10)
Notes Until 25 Oct 2026 this went through a Rebook dialog. The page uses the public booking flow's card step and booking action.
Automated run
- 1. Open /dashboard/appointments?tab=past and click “Book again” on a past session
- 2. “More times or another type”
- 3. The session type it starts on, then “Pick a time”
- 4. Pick a time two or more days out and “Continue”
- 5. Keep the default card and “Confirm booking”
- 6. The session is on the Upcoming list (then cancel it)
PassedTC-C-110Home suggests a time and books it in one tap (new)6.8s
Test script
Preconditions Logged in as suggested@paxpsychology.dev (nothing booked, a completed Standard session with rebooks@paxpsychology.dev last week, a saved 4242 card)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Read the header and the dark card
- Click "Book <Day D Mon>, <h:mm am>"
- Go to Sessions
Expected
- The header reads "<Weekday D Month>. No sessions booked yet."
- The dark card reads "No session booked yet." and "Rory's next free time for a Standard session:", then Rory's photo or initial, the time as "<Day D Mon>, <h:mm am>" and "50 minutes on Google Meet, $220 after the session, paid with Visa •••• 4242". Below it: the "Book <time>" button, "See more times" (the time step of
/dashboard/bookfor Rory's Standard session) and "Free to move or cancel up to 24 hours before." - The suggestion is the usual session type with the psychologist seen last, at their next free time
- Booking shows "You're booked for <time>." and Home then shows the session as the next one. Sessions lists the Standard session with Rory first after today, at that time, on the saved card, with no open invoice
- With nothing booked, the empty slot after today on Sessions reads "Pick a time that suits and you're set. Rory has times free from <Weekday D Month>."
Notes The session is usually inside 24 hours, so the case does not cancel it. The seeder removes it on the next run.
Automated run
- 1. Open Home
- 2. Read the header and the dark card
- 3. Click “Book <time>”
- 4. The session is on Sessions, after today
PassedTC-C-111Book again in one tap keeps the type, or picks the follow-up after an initial session (new)6.2s
Test script
Preconditions Logged in as bookagain@paxpsychology.dev (a completed Initial consultation and a completed Standard session with rebooks@paxpsychology.dev, nothing booked, a saved 4242 card)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments?tab=past - Click "Book again" on the Standard session
- Close the card, then click "Book again" on the Initial consultation
- Pick the third time and click "Book <Day D Mon>, <h:mm am>"
- Go to Sessions and find it after today
Expected
- The card opens under the session, not in a dialog, and the button shows as pressed
- On the Standard session: "Another Standard session with Rory?" and "Same type as this session. Rory's next free times: pick one and you're booked."
- On the Initial consultation: "A Standard session with Rory?" and "After this session we start with Rory's usual follow-up. Rory's next free times: pick one and you're booked." (Rory's Initial consultation is set to "After this session, book again as: Standard session"; TC-P-05 covers the setting)
- Three time pills, the first picked (ochre). The line under them reads "Visa •••• 4242, $220 after the session. Free to move up to 24 hours before."
- Booking shows "You're booked." with "Standard session with Rory, <time>. We've sent a confirmation, and you'll get the video link before it starts." and a Done button
- Sessions lists the new Standard session with Rory after today ("<Ddd h:mm am> with Rory")
Notes The seeder removes the booking on the next run. A client with no saved card sees "Add a card and book", which opens /dashboard/book on the confirm step for that time. "More times or another type" opens it on the session type step (TC-C-75).
Automated run
- 1. Open Sessions, Past
- 2. “Book again” on the Standard session
- 3. “Book again” on the Initial consultation
- 4. Pick the third time and book it
- 5. The new session is on Sessions, after today
PassedTC-C-112An unpaid session blocks booking from the dashboard (new)5.7s
Test script
Preconditions Logged in as owes@paxpsychology.dev (a completed Standard session with rebooks@paxpsychology.dev whose charge was declined)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Read the cards on Home
- Navigate to
https://paxpsychology.dev/dashboard/appointments?tab=pastand find the session - Click "Book again" on the session
- Navigate to
https://paxpsychology.dev/dashboard/book - Go back to the Book again page from step 4 and click "Pay $220 and keep booking"
Expected
- Home's card is "Payment needed" (payment comes before booking), with "Pay $220", "Use a different card" (Settings, payment methods) and "You can book more sessions once this one is paid." There is no booking suggestion or Book button
- On Sessions the session reads "Not paid": "We couldn't charge $220. Pay it to keep booking with Rory.", with "Pay $220", "Use a different card" and a "Book again" link to
/dashboard/book?again=<session id>. No one-tap Book again card opens there, and there is no Book button - Step 4 opens
/dashboard/book?again=<session id>, which shows "Please pay for your last session first." in place of the steps, with the session, "$220.00", "We'll charge Visa •••• 4242, your default card.", "Pay $220 and keep booking" and "Use a different card" (Settings). There is no time to pick - Step 5:
/dashboard/bookshows the same block - Step 6: toast "Paid. You can book now."; the block goes and the booking carries on from the session ("Book with Rory.", Standard session picked). Nothing is booked until the client picks a time and confirms
Notes Step 6 pays the session, so it comes last; the acceptance seed makes it unpaid again. Paying from Settings lifts the block too (TC-C-38). The server refuses a booking from a client who owes for a session whatever the path (one tap, a free session type, the API), not just the page.
Automated run
- 1. Open Home
- 2. Read the card
- 3. Find the session on Sessions
- 4. Click “Book again”
- 5. Open /dashboard/book
- 6. Back to Book again, and click “Pay $220 and keep booking”
PassedTC-C-113Book a follow-up from the session page (new)7.9s
Test script
Preconditions Logged in as bookagain@paxpsychology.dev (a completed Initial consultation and a completed Standard session with rebooks@paxpsychology.dev, a saved 4242 card)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments?tab=pastand open the Initial consultation - Click "Book a follow-up"
- Read the session type step and click "Pick a time"
- Pick the first time and click "Continue"
- Keep the default card and click "Confirm booking"
Expected
- Step 2 opens
/dashboard/book?again=<session id>: "Book with Rory.", "Three quick steps. Nothing is charged until after your session." and "Back to sessions" - "Which session would you like?" lists Initial consultation and Standard session with their length, video app and fee. Standard session is picked and badged "Rory's usual follow-up", under "Picked for you: your last session was an Initial consultation, so we start with Rory's usual follow-up. Change it if you like."
- "Your booking" beside it: Dr Rory Rebooks, Session Standard session, When "Pick a time", How "50 minutes on Google Meet", Fee "$220 after the session"
- The time step: "When suits?", a week of day groups with "Pick a date", "Times are in your time zone (Sydney)."; picking a time fills in When
- The confirm step shows the default card picked; Confirm booking lands on
/dashboard/book?booked=<id>: "You're booked." with Rory, the Standard session, the time and "$220 after the session", and "View my appointments" - Sessions, Upcoming lists it
Notes The seeder removes the booking on the next run.
Automated run
- 1. Open the Initial consultation
- 2. “Book a follow-up”
- 3. The session type step
- 4. Pick the first time and “Continue”
- 5. “Confirm booking” with the default card
PassedTC-C-114Book with a different psychologist, or someone new (new)7.5s
Test script
Preconditions Logged in as twopsychs@paxpsychology.dev (a Standard session with rebooks@ three weeks back and an Initial consultation with second@ last week, nothing booked, a saved 4242 card)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointmentsand click "Book a session" - Pick "Someone new" and click "Continue", then go back
- Pick Dr Rory Rebooks and click "Continue", then "Pick a time"
- Pick the first time, click "Continue", then "Confirm booking"
- Navigate to
https://paxpsychology.dev/dashboard/my-psychologist
Expected
- Step 1 opens
/dashboard/book: "Book a session.", "With Sam, or with someone new." and "Who would you like to see?": Dr Sam Second ("Your psychologist, 1 session since <Month>", picked), Dr Rory Rebooks ("Last session <D Mon>, 1 session in all") and "Someone new" - Someone new shows the three steps, "Find my match" (to
/onboarding), "Browse all psychologists instead", and "Seeing someone new doesn't end things with Sam." - Rory's type step starts on Standard session (the same type as last time)
- Booking with Rory works as in TC-C-113, and doesn't touch anything with Sam
- Your psychologist now shows Rory (seen most recently, counting the new booking), with "Book with Rory", and "Your other psychologists" lists Dr Sam Second with "Book" and "History". "Want to try someone new?" links to
/dashboard/book?new=1
Notes The match quiz doesn't yet bring a signed-in client back to /dashboard/book. The seeder removes the booking on the next run.
Automated run
- 1. Sessions, “Book a session”
- 2. “Someone new”, then back
- 3. Dr Rory Rebooks, then “Pick a time”
- 4. Book the first time
- 5. Your psychologist
PassedTC-C-115Reschedule a session on the booking page (new)4.4s
Test script
Preconditions Logged in as movesagain@paxpsychology.dev (two Standard sessions with rebooks@: one three working days out, one inside 24 hours)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments, open the later session, and click "Move or cancel", then "Move to another time" - Pick the third time and click "Move my session"
- Open the session inside 24 hours and look for Reschedule; then navigate to
https://paxpsychology.dev/dashboard/book?move=<its id>
Expected
- Step 1 opens
/dashboard/book?move=<id>: "Move <Weekday>'s session", Rory's card with "Standard session, 50 minutes. Now booked <time>", "Pick a new time." and the same week-by-week time picker. "Your session" beside it: Now booked, New time ("Pick a time" until one is picked), Cost to move "Nothing" and Session fee "$220 after the session". "Cancel this session instead" is offered - Moving shows "Moved to <time>. Rory knows, and nothing was charged." and opens the session, now at the new time. Nothing is charged
- Inside 24 hours there is no "Move or cancel" on the session, and the move page reads "This session starts in under 24 hours.", "It's too close to move here. Contact Rory and they can change it for you.", the session, "Cancel session" and "Cancelling now means the full $220 session fee is charged."
Notes The Reschedule dialog is gone for clients; psychologists keep it on the Schedule. The seeder puts both sessions back on the next run.
Automated run
- 1. “Reschedule” on the later session
- 2. Pick the third time and “Move my session”
- 3. The session inside 24 hours
PassedTC-C-17Complete a full booking (card saved, charged later)12.6s
Test script
Preconditions A psychologist with more than one session type, availability and Stripe Connect (use test@paxpsychology.dev). Do this signed out first.
Steps
- From a psychologist profile click "Book appointment". On "Which session would you like?" choose "Initial consultation" and click "Pick a time". You reach
/book/[psychologistSlug]/[appointmentTypeSlug], both made from names, never ids (e.g./book/emily-thompson/initial-consultation) - Time ("When suits you?"): read the week ("Mon 26 October to Sun 1 November"), then pick a time at least three days out and click "Continue to details"
- Your details ("Your details."): fill First name, Last name, Email, Mobile and Date of birth
17/05/1990(Day, Month, Year); optionally Referring GP, GP clinic and provider number and "Anything <First> should know"; tick "I agree with the Terms of Use and Privacy Policy"; click "Continue to payment" - Payment ("Save a card, and you're booked."): read the summary, enter card
4242 4242 4242 4242/12/30/123and click "Save card and confirm booking"
Expected
- Every step is the onboarding wizard's look (TC-C-07) without the matching questions: the blue-grey page, a tall header with the back chevron and the Pax Psychology logo, a white card naming the psychologist with "Change", and the dots with the black up and down arrows at the foot (on a phone, a ← dots → row above the heading). No step names or numbers are shown; screen readers hear "Step 1 of 4" to "Step 4 of 4" (3 steps for a psychologist with one session type, where the first step is skipped)
- Session type: one white card per type with its description, "<length> minutes on <video app>" and its fee; the first is chosen
- Time: day groups ("Monday 26 October") of pill times ("10:00am"), the chosen one coral; "Earlier week" is off on the first week; "Pick a date" is offered (TC-C-102); the foot reads "Times are in your time zone (Sydney). Days with nothing open are left out." "Continue to details" stays off until a time is picked
- Your details: the summary card reads "<Day D Month> at <h:mmam>, a <length> minute video session"; above the form, "Already have an account?" / "Sign in to fill this in for you and use a saved card." with a "Sign in" button; the collection notice sits under the terms box
- Payment: the summary card, then "<Type>, <length> minutes" and "Charged after your session" with the fee, the note "Nothing comes out today. Need to move it? Reschedule or cancel free up to 24 hours before. Cancelling within 24 hours of the session is charged the full session fee.", a "Card details" card ("Secured by Stripe") with the Stripe card form, and "We'll set up your Pax Psychology account with <email>, so you can see and change this booking later."
- No Medicare rebate line on the payment step
- On success:
/booking-successwith H1 "You're booked.", "Confirmed. Emily is expecting you.", rows "Your psychologist", the session type with "<Day D Month> at <h:mmam>, <length> minutes by video" and "Charged after your session", the three next steps, then "View my appointments" and "Back to browsing" - The
/booking-successURL carries only?ref=(no psychologist name, time or fee in the address bar); the rows still show the psychologist, when, what and fee - A confirmation email arrives; the appointment appears in the psychologist's Schedule
- Anything typed in "Anything <First> should know" is the client's booking note: the psychologist sees it as "Booking note" (in quotes) in the Schedule drawer and in the session page's details, and never in "Session notes", which stay empty until the psychologist writes them
- No charge appears in Stripe yet, only a saved payment method. The charge is raised when the psychologist completes the session (TC-P-10)
Notes Times are shown and grouped in the visitor's own timezone. The Lifeline crisis strip appears at the foot of every booking page. "Change" on the time step goes back to the session types; on later steps it goes back to the time.
Automated run
- 1. From a psychologist profile click “Book appointment”, then choose “Initial consultation” and “Pick a time”
- 2. Time: read the week, pick a time at least three days out and click “Continue to details”
- 3. Your details: fill the form, tick the terms and click “Continue to payment”
- 4. Payment: read the summary, enter 4242 4242 4242 4242 and click “Save card and confirm booking”
- Email "Appointment confirmation: Initial consultation" is sent to e2e+e2e-20261104-gh41924178588-c17@paxpsychology.dev
- Email "New appointment: Initial consultation" is sent to test@paxpsychology.dev
- Email "Welcome to Pax Psychology: set up your account" is sent to e2e+e2e-20261104-gh41924178588-c17@paxpsychology.dev
- 5. Housekeeping: cancel the booking so the psychologist's calendar stays clean
PassedTC-C-36Booking with a card that needs 3-D Secure16.4s
Test script
Preconditions As TC-C-17. Do this signed out.
Steps
- Book as a guest up to the payment step (TC-C-17 steps 1–3)
- Enter card
4000 0025 0000 3155/12/30/123and click "Save card and confirm booking" - In Stripe's "3D Secure 2 Test Page" click "Complete"
Expected
- Stripe's "3D Secure 2 Test Page" opens over the payment step, with "Fail" and "Complete" buttons
- After "Complete" the booking confirms exactly as in TC-C-17:
/booking-successwith H1 "You're booked." - In Stripe the card is saved to the new customer (the SetupIntent succeeds after authentication); nothing is charged yet
Notes Clicking "Fail" instead leaves you on the payment step with an error and no booking.
Automated run
- 1. Book as a guest up to the payment step (as TC-C-17 steps 1–3)
- 2. Enter 4000 0025 0000 3155 and click “Save card and confirm booking”
- 3. In Stripe's “3D Secure 2 Test Page” click “Complete”
- 4. The booking confirms as in TC-C-17
- Email "Appointment confirmation: Initial consultation" is sent to e2e+e2e-20261104-gh41924178588-c36@paxpsychology.dev
- 5. Housekeeping: cancel the booking
PassedTC-C-37Booking with a declined card, then a working one15.4s
Test script
Preconditions As TC-C-17. Do this signed out.
Steps
- Book as a guest up to the payment step (TC-C-17 steps 1–3)
- Enter card
4000 0000 0000 0002/12/30/123and click "Save card and confirm booking" - Replace the card number with
4242 4242 4242 4242and confirm again
Expected
- After step 2 the payment step shows "Your card has been declined.", stays on the "Card details" card and no booking is made
- After step 3 the booking confirms as in TC-C-17 and lands on
/booking-success
Notes The decline happens when the card is _saved_, since booking uses a SetupIntent.
Automated run
- 1. Book as a guest up to the payment step (as TC-C-17 steps 1–3)
- 2. Enter 4000 0000 0000 0002 and click “Save card and confirm booking”
- 3. Replace the card with 4242 4242 4242 4242 and confirm again
- Email "Appointment confirmation: Initial consultation" is sent to e2e+e2e-20261104-gh41924178588-c37@paxpsychology.dev
- 4. Housekeeping: cancel the booking
PassedTC-C-38An unpaid session blocks booking until the client pays it33.7s
Test script
Preconditions unpaid@paxpsychology.dev (Jordan Unpaid) has a past, uncompleted session with test@ booked on a card that declines on charge, and a working default card (the acceptance seeder sets this up)
Steps
- As
test@, open Jordan Unpaid's session from "Sessions to complete" (press "Show <k> more" until it appears: To finish shows 10 at a time), click "Wrap up", leave Attended chosen and click "Complete and charge $X.XX" - Reload the appointment
- Sign in as
unpaid@paxpsychology.devand open Home - Open Sessions and click "Invoice unpaid" on the unpaid session
- Open a booking page
- Click "Update payment method", then "Add payment method", read the form and click "Cancel"
- Click "Pay $<amount> with my default card"
- Open the booking page again, then Home
Expected
- Step 1: the card declines, but the session still completes. A warning toast reads "Session marked complete. $<amount> could not be collected and is recorded as outstanding. The client has been asked to update their card. It is charged automatically as soon as they do, and they can't book again until it's paid." The client is sent the "That payment didn't go through" email
- Step 2: the appointment shows "Payment not collected" with the reason ("Your card was declined.") and a "Retry payment" button
- Step 3: a coral "Payment needed" card under the greeting: "Your session on <Ddd D Mon> isn't paid yet.", "We couldn't charge $<amount> for it.", "Pay $<amount>" (the default card), "Use a different card" (Settings, Payment methods) and "Pay charges Visa •••• 4242, your default card. ... You can book more sessions once this one is paid." It shows whatever else is booked, and names the next session as still on when there is one
- Step 4: the receipt opens with "We couldn't charge your card for this session." and the same "Pay $<amount>" and "Use a different card"
- Step 5: once the session type is chosen, instead of the time step the page shows "One thing before you book." and "Please pay your last session first", naming the session and amount, with an "Update payment method" button. There is no time to pick
- Step 6: lands on Settings → Payment methods, which lists the session under "You have an unpaid session" and explains that adding a card or making another one default charges it straight away. The add-card form says, above Save card: "Saving this card pays your unpaid session straight away: $<amount> is charged to it when you press Save card."
- Step 7: toast "Paid $<amount>. You're all caught up and can book again."; the notice disappears
- Step 8: the booking flow is back ("When suits you?"), and Home has no "Payment needed" card
Notes Adding a new card, or making another card the default, pays the session the same way. A visitor who is not signed in and books with this email is only asked to sign in; nothing tells them a session is unpaid.
Automated run
- Find Jordan Unpaid's session in test@'s "Sessions to complete"
- 1. As test@, wrap up the session as attended ("Complete and charge $X.XX")
- Email "We couldn't process your payment" is sent to unpaid@paxpsychology.dev
- 2. Reload the appointment: it reads "Payment not collected" with "Retry payment"
- 3. Sign in as unpaid@paxpsychology.dev and open Home
- 4. Open Sessions, Past, and the "Invoice unpaid" receipt
- 5. Open a booking page
- 6. Click "Update payment method", then "Add payment method"
- 7. Click "Pay $<amount> with my default card"
- Email "Invoice and payment confirmation" is sent to unpaid@paxpsychology.dev
- 8. Open the booking page again: booking is available
PassedTC-C-18Booking as a signed-in client (review step)11.1s
Test script
Preconditions Logged in as client@paxpsychology.dev
Steps
- Go to a booking page and pick a time at least three days out
- Click "Continue to details"
- Click "Edit", look at the form, then click "Use my saved details"
- Click "Continue to payment", then "Confirm booking"
Expected
- Step 2: H1 "Is this all still right?", "We've filled this in from your account. <First> will see it with your booking." There is no "Already have an account?" card and no details form: a card reads "Booking as" with the client's initials and name, then Email, Mobile and, when stored, Referring GP and GP clinic and provider number, a box for "Anything <First> should know (optional)" and the collection notice. A client with no date of birth on file is asked for it here, once
- Step 3: "Edit" swaps in the details form (TC-C-17 step 3) filled in from the account, with the terms already agreed; "Use my saved details" goes back
- Step 4: H1 "Which card should we use?"; under "Your cards" the saved cards ("Visa ending 4242", "Expires MM/YYYY"), the default one chosen and marked "Default", plus "Use a new card" (the Stripe card form with "Save this card for next time" ticked). With a saved card the button reads "Confirm booking"; the booking lands on
/booking-success
Automated run
- 1. Go to a booking page and pick a time
- 2. Click “Continue to details”
- 3. Click “Edit”, see the form filled in, then “Use my saved details” and “Continue to payment”
- 4. Saved cards are offered under “Your cards”, with the default one chosen and marked “Default”
- Email "Appointment confirmation: Initial consultation" is sent to client@paxpsychology.dev
- Email "New appointment: Initial consultation with Alex Johnson" is sent to test@paxpsychology.dev
- Housekeeping: cancel this case's own booking
PassedTC-C-19Booking details validation4.9s
Test script
Preconditions None (do this signed out)
Steps
- Go to a booking page, pick a time and click "Continue to details"
- On "Your details." leave every field empty and click "Continue to payment"
- Note where the page has moved you
- Enter
notanemailin "Email" and blur the field - Fill the text fields correctly but leave Date of birth empty and the terms box unticked, and submit again
Expected
- Per-field errors appear in red: "First name is required", "Last name is required", "Enter your email address", "Mobile phone number is required", "Please enter your date of birth.", "You must accept the Privacy Policy and Terms of Use"
- Step 4: the email error changes to "That email address doesn't look right"
- Invalid fields get
aria-invalidstyling - The page scrolls the first invalid field into the centre of the viewport and focuses it (instantly rather than smoothly if you have reduced motion on)
- A summary alert under the form reads "Please fix the highlighted fields above before continuing." It clears itself as you fix fields on blur
- The form cannot advance until all required fields are valid, a date of birth is entered and the terms box is ticked
Notes The signed-in review (TC-C-18) has no form to validate unless "Edit" is used, which validates the same way.
Automated run
- 1. Go to a booking page and pick a time
- 2. Leave every field empty and click “Continue to payment”
- 3. Note where the page has moved you
- 4. Enter `notanemail` in “Email” and blur the field
- 5. Fill the text fields correctly but leave the date of birth empty and the terms unticked, and submit again
PassedTC-C-102Pick a date and Leave for now on the time step (new)5.3s
Test script
Preconditions None (do this signed out)
Steps
- Go to a booking page (TC-C-17 step 1). On "When suits you?" click "Later week", then "Earlier week"
- Click "Pick a date", choose an open day about two weeks out and click "Show times"
- Pick a time, then click the back chevron at the top left
- Click "Keep going", then the chevron again and "Leave"
Expected
- Step 1: "Earlier week" is off on the first week; "Later week" moves the list on seven days ("Mon 2 to Sun 8 November") and "Earlier week" brings it back
- Step 2: a "Pick a date" dialog (a bottom sheet on a phone) with a month calendar where only days with open times can be chosen, "Cancel" and "Show times" (off until a day is chosen). The list then starts on that day
- Step 3: once a time is picked, the chevron asks "Leave for now?" ("Nothing is booked yet. When you come back you'll pick your time again.") with "Keep going" and "Leave". Before a time is picked it goes straight back to the profile
- Step 4: "Keep going" stays on the time step; "Leave" goes to the psychologist's profile and nothing is booked
Automated run
- 1. Open a booking page and click “Later week”, then “Earlier week”
- 2. Click “Pick a date”, choose an open day about two weeks out and click “Show times”
- 3. The list starts on that day
- 4. Pick a time, then click the header's back chevron
PassedTC-C-93A booking for someone under 18 is refused, with support services (new)2.2s
Test script
Preconditions None (do this signed out, with a new email address)
Steps
- Go to a booking page, pick a time, and on "Your details." fill First name, Last name and Email
- Under Date of birth enter a date 18 years ago tomorrow (someone who turns 18 tomorrow), as Day, Month and Year
- Look for a way on to payment
- (Admin, or the automated run) Look the email address up
Expected
- As soon as the year is typed, a panel replaces the rest of the form: "Sorry, you need to be 18 or over to use Pax Psychology", "Our psychologists work with adults, so we can't book a session for you. You haven't done anything wrong, and you deserve support."
- It lists Kids Helpline (
1800 55 1800, atel:link, and kidshelpline.com.au), headspace (headspace.org.au), "A GP can help too", and "If you're not safe right now, call Lifeline on 13 11 14 or 000" (bothtel:links), then "We haven't kept the details you entered." - "Continue to payment" is turned off, so no card is asked for
- No account, profile, Stripe customer or booking exists for that email. The only trace is an anonymous "Under-age booking or sign-up refused" log line
- Changing the year to an adult one brings the form back with what was typed
Notes The same panel appears in the match quiz (TC-C-07 step 8), on sign-up (TC-C-95), on the signed-in review and on the confirm step of /dashboard/book when a client with no date of birth on file types one, and on the confirm page for a session a psychologist booked (TC-C-90; the request is then declined). The server refuses too (UNDER_AGE), so the API can't get round it. Birthdays are counted on the Sydney calendar; someone born on 29 February turns 18 on 1 March in other years. The age is PRIVACY_CONFIG.MINIMUM_CLIENT_AGE.
Automated run
- 1. Book as a guest: pick a time, then fill First name, Last name and Email
- 2. Enter a date of birth 17 years and 364 days ago
- 3. Check there is no way on to payment
- 4. Nothing was kept about the visitor
PassedTC-C-94Someone who turns 18 today can book (new)10.5s
Test script
Preconditions None (do this signed out, with a new email address)
Steps
- Go to a booking page, pick a time, and fill "Your details." with a date of birth exactly 18 years ago today
- Tick the terms box, click "Continue to payment", pay with
4242 4242 4242 4242and click "Save card and confirm booking" - (Admin, or the automated run) Check the new client's profile
Expected
- No under-age panel; the booking goes through to "You're booked."
- The client's profile holds that date of birth (a calendar date, kept to work out the record-keeping period)
- Clean up by cancelling the session
Notes An existing client with no date of birth on file (an older account, or a Google or Microsoft sign-up) is asked for it once, on the signed-in review ("Is this all still right?") or on the confirm step of /dashboard/book, and never again; their dashboard isn't blocked.
Automated run
- 1. Book as a guest and enter a date of birth exactly 18 years ago today
- 2. Pay with 4242 4242 4242 4242 and confirm
- 3. The date of birth is on the new client's profile
- 4. Housekeeping: cancel the booking
PassedTC-C-95Signing up under 18 is refused, with support services (new)912ms
Test script
Preconditions None (signed out, a new email address)
Steps
- Go to
/auth/registerand fill First name and Email - Under Date of birth enter a date 15 years ago
- Look for the password and "Create account"
- Change the year to
1990
Expected
- The "Sorry, you need to be 18 or over to use Pax Psychology" panel appears (as in TC-C-93) and the password, terms and "Create account" are gone
- No account exists for that email
- With
1990the panel goes and the rest of the form is back
Notes The server checks the date of birth before the rate limit, Turnstile or any lookup, so a refused sign-up writes nothing. A valid sign-up stores the date of birth on the new client profile in the same insert as the account.
Automated run
- 1. Go to /auth/register and fill First name and Email
- 2. Enter a date of birth 15 years ago
- 3. The password, terms and “Create account” are gone
- 4. Correct the year to 1990: the form comes back
ManualTC-C-124A client with recording consent sees the "won't be recorded" note on a Meet session (new)1ms
AI notes are off on staging and a Meet session needs a real Google calendar. The note on the confirmation screen and email is unit-tested.
Test script
Preconditions AI notes on (off on staging). A client who has agreed to session recording, booking a Google Meet (or Teams) session
Steps
- Book and pay
- Open the confirmation email
Expected
- The booked screen and the confirmation email say the session won't be recorded for AI session notes (they only work on Zoom sessions). Nothing is shown for Zoom sessions or without recording consent.
Notes Manual in the automated run; unit-tested.
PassedTC-C-125Clients see only bookable session types (new)2.3s
Test script
Preconditions Signed out. gate@ (Dr Gale Gate) offers "Initial consultation" on Zoom (connected) and "Meet session" on Google Meet (no Google calendar)
Steps
- Open
/book/gale-gate - Open
/book/gale-gate/meet-session - Open
/psychologists/gale-gate
Expected
- Step 1 offers "Initial consultation" only
- Step 2 is the not-found page
- Step 3 shows the profile without "Meet session". A psychologist with no bookable session type at all is hidden from the directory and profile, as without payouts (TC-P-111)
Automated run
- 1. Open /book/gale-gate
- 2. Open /book/gale-gate/meet-session
- 3. Open /psychologists/gale-gate
PassedTC-C-129A psychologist not taking new clients can't be booked by new clients; existing clients still book (new)7.4s
Test script
Preconditions A live psychologist with "Taking new clients" switched off (the automated run makes its own, Dr Rhea Rowe, with a "Standard session" type), a signed-up client who has never had a session with them, and a client with a completed session with them
Steps
- Signed out, open
/psychologists/<slug> - Open
/book/<slug>and/book/<slug>/standard-session - Sign in as the new client and open the profile and
/book/<slug>/standard-session - Sign in as the existing client and open the profile and
/book/<slug>/standard-session
Expected
- Step 1: in place of "Book appointment", "Not taking new clients right now" with "<First name>'s existing clients can still book.", a "See similar psychologists" button (it scrolls to "Similar psychologists", listed psychologists who are taking new clients, closest specialities first), a "Find my match" button to the quiz, and "Already one of their clients? Sign in to book." The Availability pill reads "Not taking new clients" and there are no "Next available" times
- Step 2: both pages show "Not taking new clients right now" and "Dr <name> isn't taking new clients right now." instead of the session types or the time step, with the same buttons and "Similar psychologists" below
- Step 3: the same as steps 1 and 2, without the sign-in line
- Step 4: the profile has "Book appointment" and the booking page opens on "When suits you?" as usual; "Book again", the Book tab and Reschedule in the dashboard are unchanged
Notes An existing client has a session with the psychologist that wasn't cancelled before it took place (upcoming, waiting to be confirmed, completed, a no-show, or cancelled late), or the psychologist has proposed a booking to them. A visitor who isn't signed in always counts as new. The booking itself refuses a new client on every path (the booking pages, the quiz, the dashboard and the v1 API) with "Dr <name> isn't taking new clients right now." before anything is saved; a session the psychologist books for a client is always allowed. Paused (hidden from the directory) follows the same rules. The match quiz offers only psychologists taking new clients. There is no waitlist: new clients are pointed to similar psychologists.
Automated run
- 1. Signed out, open /psychologists/e2e-invite-e2e-20261104-gh41924178588-c129
- 2. Open /book/e2e-invite-e2e-20261104-gh41924178588-c129 and /book/e2e-invite-e2e-20261104-gh41924178588-c129/standard-session
- 3. Sign in as a new client and open the profile and booking page
- 4. Sign in as an existing client and open the profile and booking page
1F. Client Portal
27 passed
PassedTC-C-20Client Home2.9s
Test script
Preconditions Logged in as client@paxpsychology.dev with an upcoming and some past sessions, the next one more than 24 hours away (inside the window the card shows the fee instead of "Move or cancel"; pnpm test:acceptance:seed keeps client@'s sessions clear of it)
Steps
- Navigate to
https://paxpsychology.dev/dashboard
Expected
- A light (white) sidebar with no role tag. Nav: Home, Sessions, Journal under the main group; Your psychologist and Reading list under "Care"; Settings under "Account". (Messages appears only when its flag is on, off on staging. There is no Medicare or Insurance item: insurance cards are a Settings section.) Sessions carries a green dot when a session is upcoming; unread counts show as small blue badges. The user block at the bottom shows your name and email
- Greeting H1 "Hey <FirstName>." with today's date and a line about the next session: "Wednesday 28 October. Your next session is on Saturday." (or "today", "tomorrow", "Your session with <First> starts soon." inside the join window, "<First> booked a session for you. It needs a quick yes." or "No sessions booked yet.")
- One next-session card (canvas CDI-A-Card), always first, in the most urgent state that applies, in this order: join now (from 15 minutes before until the session ends: "Starts in 10 minutes", a green "Join on <provider>" button, "Running late? Tell <First>" (TC-C-135) and "Test your camera and sound" (TC-C-134); from the start "Starting now" with "Waiting in <provider>? <First> will let you in." and "Tell <First> I'm waiting"; from 5 minutes past "Started <n> minutes ago" with "You can still join." (TC-C-130); from 15 minutes past "On now, until <h:mm am>" with "Rejoin on <provider>" and "Can't get back in? Tell <First>"), payment needed (a declined charge, TC-C-38), a time to confirm (TC-C-90), inside 24 hours ("Next up, tomorrow at 9:00 am.", the fee note, "Message <First>" when messaging is on, "Add to calendar", "Cancel and pay $<fee>" (TC-C-133)), upcoming, and nothing booked (the booking suggestion, TC-C-110)
- For client@ (upcoming, more than 24 hours out): a dark card with a chip ("In 3 days"), "Next up, <Ddd D Mon> at <h:mm am>." (linked to the session), "<type> with <First>, <n> minutes on <provider>.", a "Note what you want to talk about" link (Journal), "Add to calendar" (an .ics download from
/api/appointments/<id>/calendar), "Move or cancel" (TC-C-35), and the footnote "Free to move or cancel until <Ddd D Mon> at <h:mm am>. After that, cancelling costs the full $<fee>. Join opens here 15 minutes before." - "Also for you" under the card: up to two rows of what else needs you (a second time to confirm, suggested times, an unpaid session, a recording request "<First> asked if they can record your sessions." with "Choose", a reading or worksheet), each with one button. Hidden when there is nothing; while a session is on it says how many things wait until after it
- "After that" (or "Coming up"): the next two sessions as rows linking to their pages, with "All sessions", and a card for your psychologist (avatar, name, the latest message when messaging is on, "Read what <First> shared", "See <First>'s profile")
- A yellow "How's today been?" check-in naming your psychologist, with buttons "Rough", "Meh", "Okay", "Good", "Great". Once a mood is logged for today (from this card or a journal entry) the card heading reads "Today's check-in", that mood's button is pressed and the card says "Logged “<mood>”. <Psychologist> will see this." with an "Add a note" link. Choosing "Rough" also shows "Sorry today's been rough." with the crisis lines (TC-C-131)
- At the bottom of the page: "Need help right now? Call 000 in an emergency, or Lifeline on 13 11 14, any time of day." with both numbers as tap-to-call links
- There is no "This week" card, no "Past sessions" card and no separate booking-request banner: history and receipts are on Sessions
- On a phone (below 1024px) there is no sidebar: a white top bar with "Pax Psychology" and your avatar (the account menu: Settings, Sign out), and a bottom tab bar Home, Sessions, Journal, Reading list, More (Messages takes the third tab when its flag is on). The current tab has a black pill behind its icon. More opens a full-screen "Menu" with the whole sidebar and a close cross (
aria-label"Close menu"); Escape also closes it. Nothing scrolls sideways
Notes The stats cards, Journey Progress, Total Spent, Account Balance and the four Quick Action buttons from the old dashboard are all gone.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- Sidebar nav: Home · Sessions · Journal, then Care and Account groups
- Greeting, the next-session card, “Also for you”, check-in and crisis line
PassedTC-C-21Sessions timeline (past and future around today)3.7s
Test script
Preconditions Logged in as a client with upcoming and past sessions
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments - Read the timeline, then click "Show earlier sessions" if it is there
- Click a session title
Expected
- H1 "Sessions", sub "Past and future in one place, starting from today.", a "Book a session" button in the header. No Upcoming / Past tabs
- One stream (canvas CDI-B-Stream): the latest three sessions above an orange "Today, <Ddd D Mon>" line (it reads "Now, <h:mm am>" while a session is on), what is next below it, each with a date chip. Readings the psychologist shared sit in date order ("Emily shared a reading. <title>", or "Emily sent you a note." for a note sent on its own, TC-C-136)
- The session that needs you opens up in place: one under way or starting in 15 minutes has the Join button (TC-C-130); one the psychologist booked reads "Waiting for you" with Confirm and Decline and the answer-by time; one inside 24 hours has the chip "Cancelling costs $<fee> now", the fee line, "Message <First>" (messaging on) and "Cancel and pay $<fee>"; the next one otherwise has a chip ("In 3 days"), "Free to move or cancel until <Ddd D Mon> at <h:mm am>. After that, cancelling costs the full $<fee>.", "Add to calendar" and "Move or cancel". Later sessions are one-line rows that open their page, where "Manage this session" has every action (TC-C-22)
- Past sessions: "<type> with <First>." and "<Ddd h:mm am>, paid $<amount>", with "Receipt" (or "Invoice unpaid"), "Notes from <First>" when notes were shared (to the session page) and "Book again". A declined charge sits in date order as a coral row with "Not paid", "Pay $<amount>" and "Use a different card" (TC-C-38). A cancelled session, past or ahead, carries a "Cancelled" chip (or "Cancelled: not the right fit" with "Find another match") and no "Book again"; one cancelled late keeps its fee's "Receipt"
- "Show earlier sessions (<n>)" unfolds ten more (
?earlier=<n>); the old?tab=pastlinks open it with thirteen - With nothing booked after today, a dashed slot: "Nothing booked after today." with when the psychologist is next free and "Book a session"
- The crisis line ("Need help right now? Call 000 ... or Lifeline on 13 11 14", both tap-to-call) ends the page
- Session titles link to
/dashboard/appointments/[id]
Notes The tabs, numbered rows ("Session 4 with Emily") and pagination are gone (29 Oct 2026, the recommended blend). "Book again" is covered by TC-C-111 and TC-C-75.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/appointments
- 2. Read the timeline around today
- 3. Click a session title
PassedTC-C-35Reschedule and cancel from the Sessions list11.9s
Test script
Preconditions Logged in as a client with (a) a session more than 24 hours away and (b) one less than 24 hours away
Steps
- On
/dashboard/appointments, find the session more than 24 hours out and open it - Click "Move or cancel" in "Manage this session" and read the dialog
- Click "Move to another time", pick a new date and time, and confirm
- Now look at the session that is less than 24 hours away on Sessions
Expected
- More than 24 hours out: "Move or cancel" opens "Change <Weekday>'s session?" (a bottom sheet on a phone) with the session, a bar of the free window ("Free to move or cancel", then "Full $<fee> to cancel", with today marked), "You're in the free window. Moving or cancelling now costs nothing, until <Ddd D Mon> at <h:mm am>.", two choices "Move to another time" ("Same session and price. <Weekday> stays booked until you pick the new time.") and "Cancel this session" ("No charge. <First> is told straight away..."), "Message <First>" when messaging is on, and "Keep my session". A session that isn't confirmed offers Cancel only
- "Move to another time" opens
/dashboard/book?move=<id>: "Move <Weekday>'s session", "Pick a new time with <First>. Same session, same price. <Weekday> stays booked until you confirm.", the week-by-week time picker, and beside it Now booked, New time, Cost to move "Nothing" and Session fee "$<fee> after the session", with "<First> is told straight away and you get a new calendar invite. The new time is free to move or cancel until <Ddd D Mon> at <h:mm am>." once a time is picked. On success it opens the session with "Moved to <time>. <First> knows, and nothing was charged.", and both parties are notified - Within 24 hours there is no "Move or cancel": the line "It's less than 24 hours away, so cancelling now costs the full $<fee>." and "Cancel and pay $<fee>", which opens the inside-24-hours dialog (TC-C-133). Outside the window the line reads "Free to move or cancel until <Ddd D Mon> at <h:mm am>. After that, cancelling costs the full $<fee>."
- Moving is offered only on confirmed sessions: a PENDING session, or one the psychologist booked that is waiting for you (which you confirm or decline instead), never offers it
Notes Since 29 Oct 2026 the clock is read on the server for Home and Sessions alike, so the line is right on first paint. Since 25 Oct 2026 Reschedule is a page (TC-C-115), not a dialog. Until 29 Oct the list offered "Reschedule" on PENDING sessions and the service then refused it; it no longer does.
Automated run
- 1. On /dashboard/appointments, find the session more than 24 hours out and open it
- 2. Confirm both “Reschedule” and “Cancel session” buttons are present
- 3. Click “Reschedule”, pick a new date and time, and confirm
- Email "Appointment rescheduled" is sent to client@paxpsychology.dev
- Email "Appointment rescheduled" is sent to test@paxpsychology.dev
- 4. Now look at the session that is less than 24 hours away
PassedTC-C-82A client reschedules and both sides see the new time (new)5.2s
Test script
Preconditions Logged in as swapper@paxpsychology.dev (Jamie Swapper), who has one upcoming CONFIRMED session with Dr Sasha Swaps at 11:00am, three or more weekdays out (the acceptance seeder resets it every run)
Steps
- Navigate to
/dashboard/appointmentsand note the session's day and time - Click "Move or cancel" on the session, then "Move to another time", pick a day at least five days out and a time other than 11:00am, and click "Move my session"
- Reload Sessions, then open the session's detail page
- Sign in as
swaps@paxpsychology.devand open the same session
Expected
- Step 2: the session page opens with "Moved to <time>."; the session keeps its status (Confirmed) and moves to the chosen time
- Step 3: the timeline shows the session at the new time ("<Ddd h:mm am> with Sasha"), the old time is gone, and the detail page shows the new time
- Step 4: the psychologist's detail page shows the new day and time
- Both are emailed: the client "Appointment rescheduled: Initial Consultation", the psychologist "Appointment rescheduled: Initial Consultation with Jamie Swapper"
Notes TC-C-35 covers the modal's copy and the 24-hour rule; this case checks that the move is real on both sides. The modal can still close without showing "Session moved." (the intermittent revalidation bug noted in TC-C-35); the automated case checks the stored time either way.
Automated run
- 1. Sign in and open Sessions
- 2. Click "Reschedule", pick a day and a time, and click "Move my session"
- The session moved
- 3. Reload Sessions and open the session
- 4. As the psychologist, open the session
- Email "Appointment rescheduled" is sent to swapper@paxpsychology.dev
- Email "Appointment rescheduled: Initial consultation with Jamie Swapper" is sent to swaps@paxpsychology.dev
PassedTC-C-22View appointment detail (client)4.7s
Test script
Preconditions Logged in as a client with at least one appointment
Steps
- From Sessions, click an upcoming confirmed session (below today) to open
/dashboard/appointments/[appointmentId]
Expected
- Back link "Back to sessions"; H1 = the session type with a status pill beside it (Completed is green, Confirmed blue, Cancelled grey); meta line "Sunday 5 July 2026 at 12:00 pm AWST, 30 minutes on <video provider>"
- Header actions: "Book a follow-up" (→
/dashboard/book?again=[appointmentId]) once the session is past or cancelled, and "View receipt" beside it on desktop when there is a receipt - Card "Session details": Date, Time, Length, Session type, Format
- Card "Notes and documents": the notes your psychologist shared and any shared documents with a "Download" button; otherwise a line saying nothing was shared (or, for a cancelled session, that there are none)
- Card "Your details": Name, Email, Mobile, and Referring doctor (with clinic name and "Provider no. …" beneath it) when stored. On a phone only Mobile and Referring doctor show
- For a confirmed session that hasn't ended, a "Manage this session" card: "Join opens here 15 minutes before." until then, a green "Join on <provider>" button from 15 minutes before until the session ends (opens in a new tab), "Move or cancel" before the start ("Cancel or ask to move" inside 24 hours), and the line with the free-until time and the fee in dollars
- A green "Receipt" card (only once the session is COMPLETED and paid): the amount, a "Paid" tag, "Paid on <date>, invoice <invoice number>" and a "View receipt" button →
/dashboard/invoices/[id], also for a session cancelled late (the late cancellation fee, TC-C-44). A cancelled session with no fee shows a grey "Cancelled" card instead ("There is no receipt for this session.") - The crisis line ends the page
- Card "Your psychologist": avatar, name, location, "Book a follow-up session" (→
/dashboard/book?again=[appointmentId]) and "View profile". On a phone it is one row linking to the profile - On a phone the receipt (or cancelled, or manage) card comes first, under the header
Notes All times are in the client's timezone.
Automated run
- 1. From Sessions, click a session title to open /dashboard/appointments/[appointmentId]
PassedTC-C-23Cancel an upcoming appointment11.0s
Test script
Preconditions Logged in as a client with an upcoming CONFIRMED appointment more than 24 hours away
Steps
- Click "Move or cancel" (on Home's card, the next session on Sessions, or "Manage this session" on the session's page), then "Cancel this session"
- In the dialog, check the title and body copy
- Optionally enter a reason
- Click "Cancel session"
Expected
- A bottom sheet on a phone, a centred dialog on desktop. Title "Cancel this session?"; body "Your <session type> with <psychologist first name> on <Weekday D Month> at <h:mm am>."
- Field "Reason (optional)" with placeholder "Anything <First> should know?"
- A green note: "No charge. You're free to cancel until <Ddd D Mon> at <h:mm am>. After that, cancelling costs the full $<fee>."
- Buttons "Cancel session" (dark red) and "Keep my session" (dismiss); the former shows a spinner and "Cancelling…"
- Toast "<Weekday> is cancelled. No charge. <First> knows." (canvas CDI-F1-Done); status changes to Cancelled and a notification email is sent
- Within 24 hours the note is coral instead: "It's less than 24 hours away, so cancelling now is charged the full $<fee> to the card you have on file. Free cancelling ended <Ddd D Mon> at <h:mm am>.", the button reads "Cancel and pay $<fee>", and the toast becomes the warning "Tomorrow is cancelled. $<fee> was charged to your card, as the session was less than 24 hours away."
Notes The practice dialog (psychologist side) keeps its own wording, "Cancel appointment?" with "…so the client will be charged the full session fee." A late cancellation is always the full session fee, never a partial "late fee".
Automated run
- Precondition. Book a session more than 24 hours out to cancel
- 1. Open the session from Sessions and click “Cancel session”
- 2. In the dialog, check the title and body copy
- 3. Optionally enter a reason
- 4. Click “Cancel session”
- The session's own page now shows it as cancelled
- Email "Appointment Cancellation" is sent to client@paxpsychology.dev
- Email "Appointment Cancellation" is sent to test@paxpsychology.dev
PassedTC-C-44Late cancellation inside 24 hours charges the full fee (new)6.9s
Test script
Preconditions Logged in as latefee@paxpsychology.dev, who has one CONFIRMED session with Dr Penny Payments about 12 hours away, booked on a saved Visa 4242 (the acceptance seeder sets this up every run)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments - Look at the session's card
- Click "Cancel and pay $<fee>" and read the dialog
- Click "Cancel and pay $<fee>" in the dialog
- Open the session's detail page
Expected
- Step 2: the row has the chip "Cancelling costs $<fee> now", "It's less than 24 hours away, so cancelling now costs the full $<fee>." (the fee in whole dollars) and "Cancel and pay $<fee>"; nothing offers to move it
- Step 3: the dialog "<Today's / Tomorrow's> session is less than 24 hours away." with the bar ("Free window ended <Ddd D Mon> at <h:mm am>", "Full $<fee> to cancel"), "Cancelling now is charged the full session fee: $<fee> to the card you have on file. It's too close to move it yourself, but Penny can.", "Ask Penny first" with "Ask Penny to move it", and last "Cancel and pay $<fee>"
- Step 4: the warning toast "<Today's session / Tomorrow> is cancelled. $<fee> was charged to your card, as the session was less than 24 hours away."
- The card is charged the full session fee: Stripe shows one succeeded PaymentIntent for exactly the fee, in AUD; the receipt is paid for the fee; the psychologist's payout row is the fee less the 22% platform fee
- The client is emailed "Late cancellation fee invoice for your session with Dr Penny Payments" and the psychologist "A late cancellation from Lou Latefee"
- Step 5: status Cancelled, and the paid receipt for the fee is offered ("View receipt"), labelled "Late cancellation fee"
Notes Fixed since 24 Oct 2026: the detail page used to show "There is no receipt for this session." for a session cancelled late; it now offers the paid fee's receipt (isLateCancellationReceipt).
Automated run
- 1. Sign in and open Sessions
- 2. Look at the session's card
- 3. Click "Cancel and pay $250" and read the dialog
- 4. Click "Cancel and pay $250" in the dialog
- The full session fee was charged, and a payout row written at 78%
- Email "Late cancellation fee invoice for your session with Dr Penny Payments" is sent to latefee@paxpsychology.dev
- Email "A late cancellation from Lou Latefee" is sent to payments@paxpsychology.dev
- 5. Open the session's detail page
PassedTC-C-142Cancelling a Zoom session deletes its Zoom meeting (new)2.1s
Test script
Preconditions Logged in as followed@paxpsychology.dev, whose session with follows@ that has the Zoom meeting 14200000142 is upcoming and more than 24 hours away
Steps
- Open that session, choose "Move or cancel", then "Cancel this session"
- Confirm with "Cancel session"
- Check the session and the psychologist's Zoom account
Expected
- Step 1: the cancel sheet opens, with no fee (more than 24 hours away)
- Step 2: "… is cancelled. No charge."
- Step 3: the session is CANCELLED and its Zoom meeting is deleted from the psychologist's Zoom account (the session records when, and one
ZOOM_MEETING_DELETESUCCESS row is on the Zoom connection's integration log). Zoom sends no email of its own; the client gets "Appointment cancellation" andfollows@"Appointment cancellation: Initial consultation with Ash Followed"
Notes The same happens for a late cancellation (TC-C-44) and every other cancellation: by the psychologist (TC-P-156), an admin, time off, "Not the right fit" or a rebook. A session that has already started keeps its meeting, and a no-show is not a cancellation. On staging the stand-in Zoom never reaches Zoom; with a real Zoom connected, the meeting is gone from the Zoom account's Meetings list.
Automated run
- 1. On the session's page, choose "Move or cancel", then "Cancel this session"
- 2. Confirm with "Cancel session"
- 3. The session is cancelled and its Zoom meeting deleted
- Email "Appointment cancellation" is sent to followed@paxpsychology.dev
- Email "Appointment cancellation: Initial consultation with Ash Followed" is sent to follows@paxpsychology.dev
PassedTC-C-130Join stays until the session ends, and the crisis line is on every page (new)4.3s
Test script
Preconditions Logged in as joins@paxpsychology.dev (Jo Joins), with one CONFIRMED session with Dr Penny Payments that started five minutes ago and has a video link (the automated case books it at run time and deletes it afterwards; by hand, book one and wait until a few minutes after its start)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Open Sessions
- Open the session's detail page
Expected
- Step 1: the dark next-session card still shows the session, with the chip "Started <n> minutes ago", the heading "You can still join.", "Running late? Tell Penny", and a green "Join on <provider>" (or "Join video call") button that opens the call in a new tab, and "Opens <provider> in a new tab. This button stays here until <end time>, so you can still get in if you're running late."
- Step 2: the session is still after the line, which reads "Now, <h:mm am>", not in the past, with the same Join button
- Step 3: "Manage this session" has the same Join button
- Every one of the three pages ends with "Need help right now? Call 000 in an emergency, or Lifeline on 13 11 14, any time of day.", both numbers tap-to-call (
tel:000,tel:131114) - Before the window (more than 15 minutes out) the cards say "Join opens here 15 minutes before." and show no Join button; at the session's scheduled end the button goes
Notes The window (15 minutes before until the scheduled end) is JOIN_WINDOW_MINUTES_BEFORE in config/video-sessions.ts. Until 29 Oct 2026 Home, Sessions and the session page all dropped a session at its start time, so a client one minute late had no Join button.
Automated run
- 1. Sign in and open Home
- 2. Open Sessions
- 3. Open the session page
PassedTC-C-131Picking "Rough" in the check-in shows the crisis lines (new)2.6s
Test script
Preconditions Logged in as joins@paxpsychology.dev with no check-in today (the automated case clears it)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - In "How's today been?", click "Rough"
- Click "Okay"
Expected
- Step 2: the card shows "Sorry today's been rough." with "Need help right now? Call 000 in an emergency, or Lifeline on 13 11 14, any time of day.", both numbers tap-to-call
- Step 3: the support lines go (the page's own crisis line at the bottom stays)
Notes "Rough" also gives the psychologist a heads-up by email, as before; joins@ has no psychologist, so nobody is emailed.
Automated run
- 1. Sign in and open Home
- 2. Click "Rough"
- 3. Click "Okay"
PassedTC-C-132A recording request waits on Home until it is answered (new)3.0s
Test script
Preconditions The AI notes flag is on. Logged in as joins@paxpsychology.dev with a session with Dr Penny Payments three days out for which Penny pressed "Ask to record" (the automated case seeds both and deletes them afterwards; it runs where AI_NOTES_FAKE_PROVIDERS=true)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Under "Also for you", click "Choose", then "No thanks"
- Open Home again
Expected
- Step 1: "Also for you" has the row "Penny asked if they can record your sessions." with "Only to help write the session notes. Yes or no, it's your call, and you can change it any time." and "Choose", which opens
/dashboard/consent/recording/<appointmentId>(the page the request email links to) - Step 2: the answer is saved
- Step 3: the row is gone
Notes Until 29 Oct 2026 a recording request reached the client only by email.
Automated run
- 1. Sign in and open Home
- 2. Click "Choose" and answer "No thanks"
- 3. Open Home again
PassedTC-C-133Inside 24 hours, ask the psychologist to move it before cancelling (new)2.3s
Test script
Preconditions Logged in as joins@paxpsychology.dev with a CONFIRMED session with Dr Penny Payments about 20 hours away (the automated case books it at run time and deletes it afterwards)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Click "Cancel and pay $<fee>" on the card
- Click "Ask Penny to move it"
- Click "Keep my session"
Expected
- Step 1: the card is in its inside-24-hours state ("Next up, tomorrow at <h:mm am>.") with the note "It's less than 24 hours away, so cancelling now costs the full $<fee>. If something has come up, let Penny know first..."
- Step 2: the dialog leads with the fee: "<Today's / Tomorrow's> session is less than 24 hours away.", "Cancelling now is charged the full session fee: $<fee> to the card you have on file. It's too close to move it yourself, but Penny can.", then "Ask Penny first", and "Cancel and pay $<fee>" last
- Step 3: "Sent. Penny will let you know if there's another time." Penny is emailed "Jo asked to move their session on <Ddd D Mon>" with a link to the session (the email never carries anything the client typed)
- Step 4: the dialog closes and the session is still booked
Notes The email goes whether or not messaging is on; with messaging on the dialog also offers "Or message Penny yourself". Whether a client may move a session themselves inside 24 hours stays the psychologist's call (the board's open question; the safe default).
Automated run
- 1. Sign in and open Home
- 2. Click "Cancel and pay $250"
- 3. Click "Ask Penny to move it"
- Email "Jo asked to move their session on" is sent to payments@paxpsychology.dev
- 4. Click "Keep my session"
PassedTC-C-134Check your camera and sound before a session (new)4.5s
Test script
Preconditions Logged in as joins@paxpsychology.dev, on a computer with a camera and microphone (the automated case uses Chromium's fake devices and grants the permission up front)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/check(or click "Test your camera and sound" on Home's card) - Click "Start the check" and allow the camera and microphone when the browser asks
- Say something, then click "Play a test sound"
Expected
- Step 1: the H1 "Check your camera and sound" with "Nothing is recorded or sent anywhere."
- Step 2: your camera shows, mirrored; the Camera and Microphone lists name your devices; the side panel reads "Looking good." with "Camera working" and "Microphone working"
- Step 3: the level bar moves as you speak, a short tone plays, and the panel adds "Test sound played" with "All good, back to Home"
- If you block the camera, the preview says "Your browser blocked the camera. Allow it in the address bar, then try again." with "Try again"
Notes Everything stays in the browser; the camera and microphone are released when you leave the page. The site's Permissions-Policy allows the camera and microphone on Pax Psychology's own pages only.
Automated run
- 1. Open the check
- 2. Click "Start the check"
- 3. Click "Play a test sound"
PassedTC-C-135Running late? Tell the psychologist from the join card (new)2.4s
Test script
Preconditions Logged in as joins@paxpsychology.dev with a CONFIRMED session with Dr Penny Payments starting in about 10 minutes (the automated case books it at run time and deletes it afterwards)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Click "Running late? Tell Penny"
- Leave "About 10 minutes" picked and click "Tell Penny"
Expected
- Step 1: the card shows "Starts in <n> minutes", the Join button and "Test your camera and sound"
- Step 2: a sheet "Running late?" with "About 5 minutes", "About 10 minutes" (picked) and "15 minutes or more", and "Penny gets this by email straight away. Sessions still finish at the booked time."
- Step 3: the card reads "Sent. Penny knows you're on your way." Penny is emailed "Jo is running about 10 minutes late" with a link to the session
Notes The email goes whether or not messaging is on, and its words are fixed (never anything the client typed). Sending the same one again within 5 minutes does nothing. From the start the card offers "Tell Penny I'm waiting" instead, and from 15 minutes past "Can't get back in? Tell Penny"; both send the same way.
Automated run
- 1. Sign in and open Home
- 2. Click "Running late? Tell Penny"
- 3. Click "Tell Penny"
- Email "Jo is running about 10 minutes late" is sent to payments@paxpsychology.dev
- It is on the session's trail
PassedTC-C-136A note sent on its own is a note on Home, not a reading (new)2.9s
Test script
Preconditions Logged in as joins@paxpsychology.dev. Dr Penny Payments sent Jo a note with nothing assigned (Session Notes' "Save & send", TC-P-13; the automated case writes the same row and deletes it afterwards)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Under "Also for you", click "Read"
- Navigate to
/dashboard/reading
Expected
- Step 1: "Also for you" has the row "Penny sent you a note." with "Read". It never says "Penny shared a reading" for a note: a reading row ("<First> shared a reading: <title>.") is only for a real reading
- Step 2: the note opens on the Reading list, its text under "<name> sent you this on <date>"
- Step 3: the card "A note from Penny" reads "<source>, Note", not "Reading". On Sessions the timeline says "Penny sent you a note." (TC-C-21)
Automated run
- 1. Sign in and open Home
- 2. Click "Read"
- 3. Open the Reading list
PassedTC-C-24Receipts (client invoices)4.3s
Test script
Preconditions Logged in as a client with at least one completed, paid session
Steps
- Navigate directly to
https://paxpsychology.dev/dashboard/invoices - Go to
/dashboard/appointmentsand click "Receipt" on a completed session - On the receipt page, click "Download receipt"
Expected
/dashboard/invoicesredirects a client to/dashboard/appointments– there is no invoices index in the client portal any more- "Receipt" opens
/dashboard/invoices/[id]: a "Back to session" link, the invoice number as the H1 with a green "Paid" pill, and "Receipt for <session type> with <psychologist> on <Weekday D Month YYYY>." - On desktop the receipt is one white sheet: "Pax Psychology." with "Created <D Month YYYY>", the Due and Paid dates, "Billed to" (your name and email) and "Provider" (name, business, ABN, provider number, email), the line item with its date and "Telehealth (<video provider>)", Subtotal, and "Total paid". On a phone the same facts are stacked cards with the total first
- No practice address and no psychologist phone number anywhere on the page or the PDF (the address is often the psychologist's home, the phone their personal mobile). Instead the receipt reads "Booked and paid through Pax Psychology Pty Ltd, ABN 85 643 512 305, info@paxpsychology.com.au", and the PDF has no "Address:" row, shows "Telehealth" beside the session date and carries the same Pax Psychology line
- "Download receipt" (header) and "Download PDF" are offered only for a paid client invoice (an unpaid one says "Unpaid" and "Total due"); the "Resend" button is hidden from clients and nothing mentions Medicare
Notes Because cards are charged after the session, a receipt only exists for sessions the psychologist has completed. The receipt email (payment captured) and the late cancellation fee email follow the same rule: a "Service location: Telehealth" row and the Pax Psychology line, never a practice address or the psychologist's phone. The psychologist and admins still see the phone in the practice view (TC-P-17).
Automated run
- 1. Navigate directly to https://paxpsychology.dev/dashboard/invoices
- 2. Go to /dashboard/appointments, open the “Past” tab, and click “Receipt”
- 3. On the receipt page, click “Download receipt”
PassedTC-C-50A client cannot open another client's records (new)4.4s
Test script
Preconditions Logged in as client@paxpsychology.dev. The ids of Pat Privacy's (privacy@paxpsychology.dev) session, receipt, documents and GP report (the automated case reads them from the database; a tester can copy them while signed in as Pat or as test@)
Steps
- Open
/dashboard/appointments/<Pat's session id>,/dashboard/invoices/<Pat's receipt id>,/rebook/<Pat's session id>and/reports/<Pat's GP report id>/view - Request
/api/invoices/<receipt id>/pdf,/api/files/appointment-document/<each document id>,/reports/<report id>and/api/reports/<report id>/pdfdirectly - Repeat step 1 with a made-up session id, and step 2 with a made-up document id
- Sign out and repeat step 2, then open Pat's session page
Expected
- Step 1: each page is the 404 page (H1 "This one's wandered off."), and nothing on it (or in its HTML) names Pat or her email
- Step 2: each answers a refusal (403 or 404), never a PDF or a file
- Step 3: the same answers as for a real id, so the routes cannot be used to find out which ids exist
- Step 4: the requests answer 401 or 404; the page sends you to
/auth/login
Automated run
- 1. As client@, open the other client's session, receipt, rebook link and GP report
- 2. Request the receipt PDF, the documents and the GP report directly
- 3. A made-up id gets the same answer as a real one
- 4. Signed out, the same requests are refused
PassedTC-C-51Shared and private session documents (new)2.9s
Test script
Preconditions Logged in as privacy@paxpsychology.dev (Pat Privacy). Pat has a completed session with Dr Emily Thompson holding two documents: "Fixture shared handout.pdf" (shared with Pat) and "Fixture private assessment.pdf" (not shared)
Steps
- Open that session's detail page and read "Notes and documents"
- Click "Download" on the shared document
- Request the private document's download URL directly (
/api/files/appointment-document/<id>) - Sign in as
test@paxpsychology.devand open the same session
Expected
- Step 1: only "Fixture shared handout.pdf" is listed, with its size and a "Download" button; the private document is not listed and its id is nowhere in the page
- Step 2: the PDF downloads (HTTP 200,
application/pdf,Cache-Controlwithno-store) - Step 3: 404, the same as for a document that doesn't exist
- Step 4: the psychologist sees both documents and can download the private one
Automated run
- 1. As the client, open the session with documents
- 2. Only the shared document is listed
- 3. "Download" on the shared document returns the file
- 4. The private document's download URL is refused
- 5. As test@, the psychologist sees both documents
PassedTC-C-25Client settings – Account4.5s
Test script
Preconditions Logged in as a client (the acceptance run uses account@paxpsychology.dev, so renaming never touches the shared client@)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=account - Confirm the section nav and the fields
- Change "Full name" to
Updated Test Clientand click "Save changes" - Reload the page
Expected
- H1 "Settings", subtitle "Your account, how you sign in and what reaches you, then how you pay."
- Client section nav: "Account", "Sign-in and security", "Notifications" (the Account group every role has), then "Payment methods" (plus "Insurance", holding the private health cards, only when that flag is on), text only, the current one filled black. On a phone the same links are a row of outlined pills that scrolls sideways on its own. Sections are chosen via
?section=<id>; an unknown value falls back to Account - Card "Your details": your photo with "Choose image" / "Remove" and the line "A clear photo of your face. JPEG, PNG or WebP, up to 5MB. Or drag one here." (drop a photo anywhere on that row), then labelled fields "Full name", "Email" read-only with the hint "Email can't be changed here.", "Mobile" (placeholder
0400 000 000) with the hint "Optional. Leave it blank to remove your number.", and a "Timezone" select set to "Automatic (this device)" with the hint "Follows this device. Currently <your zone>." - Save button "Save changes"; toast "Account updated" on success
- No "Password" card here: it is in Sign-in and security, with the sign-in methods (TC-C-123)
- Card "Account" with "Sign out" and an outlined red "Delete account" ("Close your account and sign out. Records the law requires us to keep are kept, then securely destroyed."); the confirmation "Delete your account?" says campaign data is deleted straight away, the shortlist, reading list, private journal entries, matching answers and settings 12 months after closing, and that clinical records are kept for 7 years after the last session and payment records for 7 years, with a link to the privacy policy. It offers "Delete account" and "Keep my account" (a bottom sheet on a phone)
- The new name persists after reload
Notes Timezone follows the browser unless one is chosen here (TC-C-116). The old /dashboard/settings/profile URL is not found (see TC-P-22).
Automated run
- 1. Navigate to /dashboard/settings?section=account
- 2. Confirm the section nav and the fields
- 3. Change “Full name” to `Updated Test Client` and click “Save changes”
- 4. Reload the page – the new name persists
- Housekeeping: restore the seeded client's name
PassedTC-C-123Sign-in methods are under Sign-in and security (new)1.2s
Test script
Preconditions Logged in as a client
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=security - Open the old
/dashboard/settings?section=connected-accounts
Expected
- "Sign-in and security" is current in the nav. It holds, in order: "Password" ("Change password" →
/auth/forgot-password), "Sign-in methods" (Google, Microsoft and Apple, each with Connect or Disconnect), two-step verification, passkeys, trusted browsers and "Recent sign-in activity" - Step 2 shows Account (no redirect, the URL stays); there is no "Connected accounts" anywhere
- Psychologists and admins have the same section with the same sign-in methods, for the first time
Notes Connecting a sign-in method asks you to confirm it's you first, and comes back to this section. "Connections" now means only a psychologist's calendars and video accounts.
Automated run
- 1. Navigate to /dashboard/settings?section=security
- 2. Open the old ?section=connected-accounts
PassedTC-C-83A client clears their mobile (new)4.0s
Test script
Preconditions Logged in as mobile@paxpsychology.dev, whose mobile is 0412 345 678 (the acceptance seeder resets it every run)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=account - Replace "Mobile" with
12345and click "Save changes" - Empty the "Mobile" field and click "Save changes"
- Reload the page
- Enter
0412 345 678again and click "Save changes"
Expected
- Step 1: "Mobile" shows
0412 345 678with the hint "Optional. Leave it blank to remove your number." - Step 2: nothing saves; under "Mobile" the error "Enter a valid Australian mobile number, or leave it blank"
- Step 3: toast "Account updated"
- Step 4: "Mobile" is empty (the placeholder
0400 000 000shows) - Step 5: toast "Account updated" and the number is back after a reload
Notes With no mobile saved, the psychologist's view of the client's sessions leaves the "Mobile" row out, and the booking form's "Mobile Phone" starts empty and is still required, so the next booking asks for a number again (and saves it back to the profile). Pax Psychology sends no text messages today, so clearing the number turns nothing off.
Automated run
- 1. Navigate to /dashboard/settings?section=account
- 2. Replace “Mobile” with `12345` and click “Save changes”
- 3. Empty the “Mobile” field and click “Save changes”
- 4. Reload the page: “Mobile” is empty
- 5. Enter `0412 345 678` again and click “Save changes”
PassedTC-C-116The timezone follows the browser, and can be chosen (new)6.1s
Test script
Preconditions A browser (or a device) set to the Australia/Perth timezone. timezone@paxpsychology.dev is saved as Australia/Sydney, Automatic (the acceptance seeder resets it every run). Ideally, first sign in and out once in the same tab as another account of yours (it moves to Perth too): one sync per tab used to stop the second account syncing. The automated run leaves that tab state behind instead.
Steps
- Sign in as
timezone@paxpsychology.devand wait for the dashboard - Navigate to
https://paxpsychology.dev/dashboard/settings?section=account - Choose "Tokyo (JST)" under "Timezone" and click "Save changes"
- Sign out, sign in again as
timezone@, and open Settings > Account - Choose "Automatic (this device)" and click "Save changes"
Expected
- Step 2: "Timezone" shows "Automatic (this device)" with the hint "Follows this device. Currently Perth (AWST)." (the dashboard saved the browser's zone on the first load, with no second sign-in and no reload)
- Step 3: the hint becomes "Stays as chosen, whatever timezone your device is in."; toast "Account updated"
- Step 4: still "Tokyo (JST)": a chosen zone is not replaced by the browser's
- Step 5: toast "Account updated"; after a reload, "Automatic (this device)" and "Currently Perth (AWST)."
Notes A new account also starts in the browser's zone: registering with email, signing up with Google, Microsoft or Apple, or booking as a new client from the public booking page. Times across the dashboard and in emails use the saved zone. An admin viewing as the user never changes it.
Automated run
- 1. Sign in as timezone@ and wait for the dashboard
- 2. Navigate to /dashboard/settings?section=account
- 3. Choose “Tokyo (JST)” and click “Save changes”
- 4. Sign out, sign in again, open Settings > Account
- 5. Choose “Automatic (this device)” and click “Save changes”
PassedTC-C-26Client settings – Payment methods and Medicare10.6s
Test script
Preconditions Logged in as a client
Steps
- Navigate to
/dashboard/settings?section=payment-methods - Click "Add payment method", enter
4242 4242 4242 4242/12/30/123and click "Save card" - Add a second card, then click "Make default" on it
- Click "Remove" on the non-default card and confirm
- Scroll to the "Medicare card" panel, enter a Medicare card number and IRN, and save
Expected
- Card "Payment methods" with the note "Charged when you book a session"
- Empty state (a dashed box): "No cards saved yet." / "Add one and paying for sessions is one less thing to think about." and an "Add payment method" button. With cards saved, "Add payment method" sits under the list
- Adding a card swaps the card for "Add a card": Stripe's card fields, then the line "By saving your card, you allow Pax Psychology to charge it for future sessions in line with our terms. Card fields are provided by Stripe." ("terms" links to
/terms-of-use), then "Cancel" / "Save card" - Each card row reads "<Brand> ending <last4>" with "Expires MM / YY"; the default one carries a "Default" tag and hides its "Make default" action
- Toasts: "Card saved", "Default card updated", "Card removed" (errors: "Couldn't save that card. Try again.", "Couldn't change your default card", "Couldn't remove that card")
- Remove opens a confirm dialog titled "Remove this card?" with a "Remove" button
- Footer note: "Cards are stored securely by Stripe. Pax Psychology never sees your full card number."
- The Medicare card panel sits directly beneath payment methods, headed "Medicare card" with the note "Optional", labelled fields "Medicare card number" (placeholder
0000 00000 0) and "Reference number (IRN)" (placeholder1, hint "The digit next to your name on the card."), the line "We add your Medicare number to your receipts and to any letters your psychologist sends your GP.", and the toast "Medicare details saved" - There is no promise of automatic rebates anywhere on the page
Notes The Medicare number has moved here from the old profile form. Reload the page between step 4 and step 5. On a Stripe test key, adding a card leaves Stripe's transparent "developer tools" easel parked in the bottom-right corner, and the toasts from steps 3–4 stack in the same place – both sit over the Medicare panel's "Save changes", which is the last control on the page. A reload clears them.
Automated run
- 1. Navigate to /dashboard/settings?section=payment-methods
- 2. Click “Add payment method”, enter 4242 4242 4242 4242 / 12/30 / 123 and click “Save card”
- 3. Click “Make default” on the new card
- 4. Click “Remove” on the non-default card and confirm
- 5. Scroll to the “Medicare card” panel, enter a Medicare card number and IRN, and save
PassedTC-C-70None of the suggested times work (new)3.7s
Test script
Preconditions A pending first session with test@ for which the psychologist has suggested other times (TC-P-56 step 2). The automated run seeds its own (about 22 days out at 5:30am Sydney time) and deletes it afterwards.
Steps
- Signed out, open the suggested-times link from the email (
/dashboard/appointments/<id>/times) - Sign in as the client
- Click "None of these work"
- As the psychologist, open
/dashboard/new-clients
Expected
- Step 1 goes to
/auth/login?redirectTo=/dashboard/appointments/<id>/times(with the link's token kept), and signing in lands back on the page - H1 "Suggested times", the line "<Psychologist> can't make <date, time>, but suggested these instead.", a "Pick a time" card listing each time with "Book this time" and "These stay open until <date, time>.", and "None of these work"
- Clicking it shows "We've let <psychologist> know." with "None of those times worked, so they'll be in touch with some others." and "See your sessions"
- The psychologist is emailed "None of the suggested times worked for <client first name>" with the times listed and an "Open New clients" button
- The session itself is unchanged (still pending at its booked time) and an audit row
NEW_CLIENT_TIMES_DECLINEDis written - On New clients the request carries the band "None of those times worked for <First>" and its actions are back
Notes The page only works for the client the times were sent to. Anyone else sees "No suggested times here."; an edited link reads "This link isn't working."; expired times read "These times have expired."
Automated run
- 1. Signed out, open the suggested-times page from the email
- 2. Sign in and land back on the page
- 3. Click "None of these work"
- Email "None of the suggested times worked for" is sent to test@paxpsychology.dev
- The session is untouched and the answer is recorded
- The psychologist sees it back on New clients
PassedTC-C-90Confirm a session your psychologist booked (new)2.9s
Test script
Preconditions Logged in as confirms@paxpsychology.dev (Cam Confirms, one saved Visa 4242), with a session Dr Piper Proposes booked for Cam (from Schedule, "Book a session"). The automated run seeds its own (the fourth weekday out at 11:30am) and deletes it afterwards.
Steps
- Open Home (
/dashboard) - Click "Confirm" on the yellow "Piper booked you in for …" card
- Click "Confirm session" without ticking the policy, then tick "I accept the cancellation policy." and click "Confirm session" again
- Open Sessions
Expected
- Home's card is in its yellow "Waiting for you" state, headed "Piper booked you in for <Ddd D Mon> at <h:mm am>.", with the session type, length, the fee "charged after the session to Visa •••• 4242", Confirm and Decline, and "Please answer by <Ddd D Mon> at <h:mm am>. After that the time goes back to Piper's calendar." (a second request is a row under "Also for you")
- The confirm page: H1 "Confirm your session.", "Piper booked this for you.", the psychologist, When, Fee and Confirm by; Pay with lists the saved Visa ending 4242 (Default, selected) and "Use a different card" (which opens the card form); "Nothing is charged today. <fee> comes off this card after the session. Free to move or cancel up to 24 hours before. Cancelling within 24 hours of the session is charged the full session fee."
- Without the box ticked: "Please accept the cancellation policy to confirm."
- Confirming shows "You're booked." with "We've emailed you the joining details and told Piper.", "View my appointments" and "Done"
- The session is
CONFIRMEDwith the Visa attached (PAYMENT_METHOD_SAVED), and Sessions shows it as booked, with Reschedule and Cancel - Cam is emailed "Appointment confirmation: <type>" (with the calendar file); Piper is emailed "Cam Confirms confirmed: <type>"
Notes A weekly run is confirmed or declined as a whole ("Confirm sessions"). Nothing is charged at confirmation; the session is charged after it, as any booking. A client with an unpaid session is asked to pay it first. An admin impersonating the client can confirm for them; it is recorded against the admin (the impersonated money-action trail, and the request's respondedById). Confirming checks the session type is still bookable, as booking does: a fee above zero, a connected video provider, and a psychologist who is approved and active. A request made before the psychologist was deactivated (or before an admin took their approval back) can't be confirmed; it stays open until it expires.
Automated run
- 1. Home leads with the session waiting for you
- 2. The confirm page shows the session and your saved card
- 3. Confirming needs the cancellation policy accepted
- The session is booked on the saved card
- 4. Sessions shows it as booked, not waiting
- Email "Appointment confirmation:" is sent to confirms@paxpsychology.dev
- Email "Cam Confirms confirmed:" is sent to proposes@paxpsychology.dev
PassedTC-C-91Decline a session your psychologist booked (new)3.6s
Test script
Preconditions Logged in as declines@paxpsychology.dev (Drew Declines), with a session Piper booked for Drew. The automated run seeds its own (the fourth weekday out at 1:30pm) and deletes it afterwards.
Steps
- Open Sessions (
/dashboard/appointments) - Open the session's own page (
/dashboard/appointments/<id>), then go back to Sessions - Click "Decline" on the waiting session, then "Decline" to confirm
- Check Sessions, Upcoming and Past
Expected
- In Upcoming the session reads "Waiting for you", "Piper booked this for you. Confirm by <date, time> or it's released.", with Confirm and Decline (no Reschedule or Cancel)
- The session's own page has the status "Awaiting confirmation" and a "Confirm or decline" button to the confirm page
- Decline opens the confirm page on "Decline this session? Piper is told straight away and the time goes back on their calendar. Nothing is charged." with "Keep it" and "Decline"
- Declining shows "You declined this request." and "Piper has been told. Nothing was charged.", with "See your sessions" and "Message your psychologist"
- The request is
DECLINEDand the sessionCANCELLED; it is in neither Upcoming nor Past (it was never booked) - Piper is emailed "Drew Declines declined: <type>" ("The time is open again on your calendar and nothing was charged.")
Automated run
- 1. Sessions shows it waiting, with Confirm and Decline
- 2. The session's own page offers Confirm or decline
- 3. Click "Decline" to confirm it
- The time is released
- 4. It is gone from Sessions, before and after today
- Email "Drew Declines declined:" is sent to proposes@paxpsychology.dev
PassedTC-C-92The email link needs you signed in, as the client it was booked for (new)2.1s
Test script
Preconditions A session Piper booked for Lou Linked (linked@), and its email's Confirm link (/dashboard/appointments/confirm?token=…). The automated run seeds its own with a known token and deletes it afterwards.
Steps
- Signed out, open the Confirm link
- Sign in as a different client (
declines@) - Signed out again, open the link and sign in as
linked@
Expected
- Step 1 goes to
/auth/login?redirectTo=/dashboard/appointments/confirm?token=…(token kept) - Signed in as someone else, the page reads "Nothing to confirm here." ("If you were sent a session to confirm, make sure you're signed in with the account it was booked for.") and shows nothing of the booking
- Signed in as Lou, the page opens on "Confirm your session."
- Opening the link changes nothing: the request is still open and the session still waiting
Notes The token only finds the booking; it never signs anyone in or confirms anything. Only its SHA-256 is stored, and the correspondence log stores the email with the token redacted. An edited link reads "This link isn't working."; an answered or expired one reads "You declined this request.", "This request has expired." and so on.
Automated run
- 1. Signed out, open the Confirm link from the email
- 2. Sign in as someone else: the link doesn't work for them
- 3. Signed in as the client it was booked for, it opens
- Opening the link changed nothing
1G. New public surfaces
6 passed 1 retired
PassedTC-C-27Toolkit index, article and newsletter signup11.1s
Test script
Preconditions At least one published Toolkit article
Steps
- Navigate to
https://paxpsychology.dev/toolkit - Click a category chip, then click "All"
- Open an article
- Scroll to the newsletter band near the foot of
/toolkit, enter a first name ande2e+newsletter-<run>@paxpsychology.dev, and click "Sign up" - Try again with
notanemail
Expected
- A large centred H1 "Toolkit" and the intro "Things worth reading when you've got ten minutes. Written with our psychologists…"
- Category chips start with "All" (there is no "Stories" chip: the stories are on
/stories, see TC-C-140); the active chip is dark and the URL carries?category=<name>. A category with no matches shows "Nothing here yet. Try another category, or check back soon." - Articles show as white cards: cover photo, a coloured category tag (Mental Health topics yellow, Performance blue, everything else green), title and excerpt. An admin-featured article comes first
- No story cards: the Toolkit holds articles only
- An article page has a pale header in its area's colour (yellow for Mental Health topics, light blue for Performance, pale green for everything else) with the title, cover and byline ("Written by", "Posted on", "Topic" with the category and read time). The share buttons (LinkedIn, X, Facebook, email) are dark squares in a column on the header's left on a wide screen (1280px and up), and a row under the byline on narrower screens. Then the reading column and a "See similar" band; if the author is one of our psychologists an author booking card appears with "Book a session"
- The restored WordPress articles credit their original writers: "Those Times I Feel Anxious?" (
/toolkit/those-times-i-feel-anxious) reads "Written by" "Scotty Mathews", with no booking card, and its Article structured data names Scotty Mathews as the author. Article cards show "By <name>" under the excerpt - Newsletter band: blue-grey, H2 "Get tips for your toolkit landed in your inbox.", "By subscribing below you will be added to our mail distribution list.", fields "First name (or nickname)" and "Email address", and a "Sign up" button ("Signing up…" while pending). Below it, "The right time is now. Take action." beside a green photo panel
- Success replaces the form with "Thanks <FirstName>! You've been subscribed to our newsletter."
- An invalid address shows "Please enter a valid email address"
Notes The homepage (coral "Subscribe today" panel) and every page footer carry the same sign-up form.
Automated run
- 1. Navigate to https://paxpsychology.dev/toolkit
- 2. Click a category chip, then click “All”
- 3. Open an article
- 4. Scroll to the newsletter band and subscribe
- Email "You're on the list" is sent to e2e+newsletter-e2e-20261104-gh41924178588@paxpsychology.dev
- Email "Newsletter subscription" is sent to support@paxpsychology.dev
- 5. Try again with `notanemail`
PassedTC-C-140Your stories and one story (new)1.7s
Test script
Preconditions The restored stories (Sarah, Harry) are published
Steps
- Navigate to
https://paxpsychology.dev/stories - Click "Read Sarah's story"
- Look for the stories in the Toolkit (
/toolkit, and the old/toolkit/sarah)
Expected
/stories: the H1 "Your stories" beside an outlined "Our story" link (to/our-story), one story card per story (photo, the person's name, an excerpt and a "Read <name>'s story" button to/stories/<slug>), then the light blue "When it's personal, you need the right person." band with "Find my match". The header's "Stories" and the footer's "Your stories" come here/stories/sarah: the H1 "Sarah" in a pale green header band with the photo and the byline "Shared by" "Sarah" and "Posted on" (no "Topic" or read time), the share buttons, the story, then the other stories as story cards. The header's back chevron ("Back to Your stories") goes to/stories. Its structured data is an Article in the "Your stories" collection, with a BreadcrumbList (Home, Your stories, Sarah)- The Toolkit has no story cards and no "Stories" chip, and
/toolkit/sarahis a plain 404 (no redirect before launch)
Notes Stories have their own table, so they never appear in the Toolkit index, its RSS feed, the article sitemap entries or the session notes reading picker. /stories and each story are in the sitemap and /llms.txt.
Automated run
- 1. Navigate to https://paxpsychology.dev/stories
- 2. Click “Read Sarah's story”
- 3. Look for the stories in the Toolkit
PassedTC-C-28Newsletter unsubscribe1.8s
Test script
Preconditions A subscribed email address and its unsubscribe link (from a newsletter email, or built as /newsletter/unsubscribe?token=…)
Steps
- Open the unsubscribe link
- Then open
/newsletter/unsubscribewith no token
Expected
- Valid link: H1 "You're off the list." with the email named, plus buttons "Back to the homepage" and "Browse the Toolkit"; a confirmation email subject "You're off the list" is sent; the subscriber shows as Unsubscribed in
/dashboard/newsletter - No/invalid token: an alert "This unsubscribe link isn't valid" with "Contact us" and "Back to the homepage"
Notes Known copy bug – the success page says you can rejoin "from the form on our homepage", but the only form is on /toolkit.
Automated run
- 1. Open the unsubscribe link
- Email "You're off the list" is sent to e2e+newsletter-e2e-20261104-gh41924178588@paxpsychology.dev
- 2. Then open /newsletter/unsubscribe with no token
RetiredTC-C-29For Psychologists landing page (new)–
The For Psychologists page has been removed for now.
PassedTC-C-30Mobile filters drawer on the directory (new)6.2s
Test script
Preconditions Browser window narrower than 1024px (or a phone)
Steps
- Navigate to
https://paxpsychology.dev/psychologistsat 375px width - Confirm the "Filter by" column is hidden and the sliders icon sits beside the H1
- Tap the sliders icon
- Apply a couple of filters inside the drawer
- Tap the button at the foot of the drawer
- Widen the window to 1024px or more
Expected
- Results run full width, with the sort dropdown still shown; "Popular choices" follows the results as a sideways-scrolling row of cards
- The sliders icon carries a coral badge counting active filters
- The filters open as a full-screen dark panel titled "Filter by" with a close cross at the top right, holding exactly the same accordion rows (in white, with white checkboxes) as the desktop column ("Gender", "Focus area", "Issue", "Session type", "Availability", "Name")
- Filters apply immediately as you toggle them – the sticky footer button reads "Show <n> results" and simply closes the drawer
- Widening to 1024px or more auto-closes the drawer and the "Filter by" column reappears
Notes There is no "Clear" control inside the drawer; use the chip row's "Clear all" on the results page.
Automated run
- 1. Navigate to /psychologists at 375px width
- 2. Confirm the “Filter by” column is hidden and the sliders icon sits beside the H1
- 3. Tap the sliders icon
- 4. Apply a couple of filters inside the drawer
- 5. Tap the button at the foot of the drawer
- 6. Widen the window to 1024px or more – the drawer auto-closes and the column reappears
PassedTC-C-31FAQs page2.0s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/faqs - Expand several questions
Expected
- H1 "Frequently asked questions" with nothing above it
- 11 accordions, hard-coded (a different source from the homepage FAQ accordion, which is DB-driven and admin-editable)
- Closing CTA "Still have questions?" with "Contact us" and "Find your match"
Notes Two answers change wording depending on the in-person bookings flag (off on staging → video-only wording).
Automated run
- 1. Navigate to https://paxpsychology.dev/faqs
- 2. Expand several questions
PassedTC-C-32Error pages2.1s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/this-page-does-not-exist - Navigate to
/psychologists/definitely-not-a-real-psychologist - Navigate to
/toolkit/definitely-not-a-real-article, then the old/journaland/journal/those-times-i-feel-anxious - Navigate to
/book/definitely-not-a-real-psychologist
Expected
- 404 page: the 500 screen's layout on a mint band. An outlined "404" mark, H1 "This one's wandered off." with nothing above it, a line that the page doesn't exist or has moved, buttons "Back to home" and "Find a psychologist", then "Or pick up where you left off" with a pill row (How Pax Psychology works, The Toolkit, Sign in, Get in touch). There is no separate Lifeline crisis band above the footer. The marketing header and footer are present, and the page is noindex
- An unknown psychologist slug also 404s, with the same screen inside the normal header and footer
- An unknown Toolkit article and an unknown booking URL also show the 404 screen. Every one of these is a real 404 status (check the Network tab), on the first visit too, not a 200 that shows the 404 screen. The old
/journalURLs are 404s too: the articles moved to/toolkitbefore launch and are not redirected
Notes For the 500 screen (a coral band with an outlined "500", H1 "Shit happens. This time it's on us.", a "Try again" button, a "Go to the homepage" button, an "Error 500, reference …" line, and no separate Lifeline crisis band) you need an induced server error, so treat it as optional. The maintenance page (/maintenance) shares the 500 screen's layout on a yellow band: the Pax Psychology logo with no links, H1 "We're giving Pax Psychology a tune-up." with nothing above it, a line that we'll be back soon, a "Check again" button, "Need us before then? Email info@paxpsychology.com.au" as a mailto link, and under it, in the yellow band, "If you need support right now, call Lifeline on 13 11 14, or 000 in an emergency." with both numbers as call links. There is no crisis band or footer below. It is noindex. It only shows while MAINTENANCE_MODE=true (otherwise /maintenance redirects to /), so it can't be checked on staging; check it locally with the flag set.
Automated run
- 1. Navigate to https://paxpsychology.dev/this-page-does-not-exist
- 2. Navigate to /psychologists/definitely-not-a-real-psychologist
- 3. Navigate to /toolkit/definitely-not-a-real-article, then the old /journal URLs
- 4. Navigate to /book/definitely-not-a-real-psychologist
1H. Other new surfaces
3 passed
PassedTC-C-33Your psychologist and Reading list (new client Care pages)5.0s
Test script
Preconditions Logged in as client@paxpsychology.dev (who has a psychologist and some assigned readings)
Steps
- Click "Your psychologist" in the sidebar
- Click "Reading list"
- Open a reading and mark it read
Expected
- Your psychologist: H1 "Your psychologist", a yellow hero with the psychologist's photo, name, credentials, their own words, "Message <First>" (when messaging is on) and "Book with <First>" (→
/dashboard/book?psychologist=<slug>); four fact cards ("Sessions together", "Usual rhythm", "Session rate", "Format"), a "How <First> works" tag list and a "Good to know" card with Lifeline 13 11 14 and 000. With no psychologist yet: "You haven't booked a psychologist yet." and a "Find a psychologist" button - Reading list: H1 "Reading list", filter pills "All", "From <First>", "Pax Psychology Toolkit", "Worksheets" (a row that scrolls on its own on a phone); cards three across on desktop. Unread items are green with a "New" tag and "Read" (or "Open"); read ones are white with "Done". Clicking a card's title opens it: a yellow header band with the title, who sent it, the body, and a "Mark as read" button that becomes "Done", plus "Message <First> about this". Empty: "Nothing on your reading list yet."
Notes Worksheet answers save privately as you type.
Automated run
- 1. Click “Your psychologist” in the sidebar
- 2. Click “Reading list”
- 3. Open a reading and mark it read
PassedTC-C-52Journal entries stay private unless shared (new)16.8s
Test script
Preconditions Logged in as journal@paxpsychology.dev (Jules Journal), a client of Dr Emily Thompson with an empty journal (reset every run)
Steps
- Navigate to
/dashboard/journal - Write an entry, choose "Rough", leave "Share this entry with Emily" off, and click "Save entry"
- Sign in as
test@paxpsychology.devand open Jules's client record - As Jules, click "Share with Emily" on that entry, then reload
- As
test@, reload Jules's record - As Jules, write another entry, choose "Rough", turn sharing on and save
Expected
- Step 1: subtitle "Just for you. Emily only sees an entry if you choose to share it.", the "Private by default" panel, "No entries yet. Your first note is just above." and the share switch off
- Step 2: the entry is listed with "Only you can see this" and "Share with Emily"; no "Jules flagged a tough day" email goes to the psychologist
- Step 3: the entry is nowhere on the record
- Step 4: "Shared with Emily", then "Emily can see this" after the reload
- Step 5: the entry is on the record
- Step 6: the psychologist is emailed "Jules flagged a tough day"
Notes TC-C-76 covers choosing which of two psychologists an entry is shared with. The Rough alert is a safety signal, so it is sent even when the psychologist has turned off "Client messages" in Settings, Notifications (that switch only covers message emails).
Automated run
- 1. Open the journal and read the page
- 2. Write an entry, choose "Rough", leave sharing off, and save
- No email "flagged a tough day" to test@paxpsychology.dev
- 3. As test@, open the client's record
- 4. As the client, click "Share with Emily" on that entry
- 5. As test@, reload the record
- 6. As the client, save a new "Rough" entry with sharing on
- Email "Jules flagged a tough day" is sent to test@paxpsychology.dev
PassedTC-C-34Self-serve registration3.6s
Test script
Preconditions An unused email address
Steps
- Navigate to
https://paxpsychology.dev/auth/register - Fill "First name", "Email", "Date of birth" (an adult, e.g. 17 / 05 / 1990) and "Password", tick the terms checkbox and click "Create account"
- Follow the flow to
/auth/check-emailand use the resend control - Open the verification email and follow the link
Expected
- H1 "Start when you're ready." with nothing above it, sub "Already with us? Sign in"
- Three social buttons, in this order: "Sign up with Google", "Sign up with Apple", "Sign up with Microsoft" (the same three as sign in), then an "or" divider
- Fields "First name" (placeholder
Alex), "Email" (placeholderyou@email.com), "Password" (placeholderAt least 8 characters) with a strength meter - Consent checkbox "I agree to Pax Psychology's Terms and Privacy Policy, and understand Pax Psychology isn't a crisis service."
- Button "Create account" → "Creating your account…"
/auth/check-email: H1 "Check your email." with "…it expires in 24 hours." and a "resend" control; a successful resend says "Sent again – give it a minute and check your spam folder."- After verifying: H1 "You're all set." with a "Sign in" button. An expired link gives "That link expired."; a reused one "That link didn't work."
Automated run
- 1. Navigate to https://paxpsychology.dev/auth/register
- 2. Fill “First name”, “Email”, “Date of birth” and “Password”, tick the terms checkbox and click “Create account”
- 3. Follow the flow to /auth/check-email and use the resend control
- Email "Verify your email address for Pax Psychology" is sent to e2e+e2e-20261104-gh41924178588@paxpsychology.dev
- 4. MANUAL: open the verification email and follow the link
1I. Flag-gated client surfaces
1 passed 2 skipped by design
PassedTC-C-80AI notes and recording consent, from the client's side (new)3.7s
Test script
Preconditions FEATURE_AI_NOTES_ENABLED on (off on staging, so the automated case is skipped there by design; it runs locally with AI_NOTES_FAKE_PROVIDERS=true, pnpm test:e2e:ai-notes). A client with an upcoming session whose psychologist uses AI notes
Steps
- Open the recording consent page for the next session and agree to recording for this session only
- In Settings › Privacy, withdraw AI-notes consent
- Open a past recorded session and delete its transcript
- In Settings › Privacy, withdraw all consent while an import is in flight
Expected
- Agreeing to "this session only" records consent for that session and no other
- Withdrawing AI-notes consent turns dictation off for the psychologist
- A deleted transcript is gone from the session, for both sides
- Withdrawing all consent revokes AI notes and recording together and stops the work already in flight
Skipped by designTC-C-81Messaging: the client replies and the psychologist sees it (new)1.7s
flag off on staging: FEATURE_MESSAGING_ENABLED is off, so /dashboard/messages redirects
Test script
Preconditions FEATURE_MESSAGING_ENABLED on (off on staging, so the automated case is skipped there by design). test@ and client@
Steps
- As
test@, open the client's full profile from Clients and click "Message" - As
client@, open Messages (straight into the thread with one psychologist, or pick the conversation) and send a reply - As
test@, reload the thread
Expected
- The psychologist's thread has a text box, a "View profile" link back to the client and a crisis note mentioning Lifeline
- The client's thread has its own crisis note: "Messages aren't an emergency service. If you're in crisis or need help right now, call Lifeline on 13 11 14 or 000. Reply times vary and are up to <PsychFirstName>." On a phone it is the shorter "Not an emergency service. In crisis or need help now? Call Lifeline on 13 11 14 or 000."
- The client's reply appears in their own thread, then in the psychologist's after the reload
Skipped by designTC-C-84Messaging: the client sends a file and only the two of them can open it (new)2.1s
flag off on staging: FEATURE_MESSAGING_ENABLED is off, so /dashboard/messages redirects
Test script
Preconditions FEATURE_MESSAGING_ENABLED on (off on staging, so the automated case is skipped there by design), and a private Blob store connected (BLOB_PRIVATE_READ_WRITE_TOKEN; locally, without a Blob token, files go to .blob-mock/). test@, client@ and admin@
Steps
- As
test@, open the client's thread (as in TC-C-81) - As
client@, open the thread, click the paperclip ("Attach a file") and pick a small text file or PDF - Wait for its progress bar to finish, type a caption and click "Send"
- As
test@, reload the thread and click the file - As
admin@, open the file's link (/api/files/attachment/<id>) directly
Expected
- The file shows in the composer with its size and a progress bar while it uploads; "Send" stays disabled until the upload finishes
- After sending, the message shows the caption and a link to the file, and the composer is empty again
- The psychologist sees the caption and the file after the reload, and the file downloads with the content that was sent
- The admin (not a participant) gets a 404 for the same link
- Picking a file over 10 MB, or a type that isn't an image, PDF, Word, Excel or plain text, shows an error on that file and nothing is uploaded
1J. Search and social sharing (new)
2 passed
PassedTC-C-100Staging is kept out of search (new)1.2s
Test script
Preconditions None
Steps
- Open
https://paxpsychology.dev/robots.txt - Open
https://paxpsychology.dev/sitemap.xml - View the source of
https://paxpsychology.dev/,/toolkitand/auth/login, and look at the response headers of/(DevTools, Network tab)
Expected
- robots.txt is exactly
User-Agent: *andDisallow: /, with noSitemap:line - sitemap.xml is an empty
<urlset>(no<url>entries) - Every page has
<meta name="robots" content="noindex, nofollow, …">(the Toolkit included: articles no longer say "index" on staging) - The response carries the header
X-Robots-Tag: noindex, nofollow, noarchive, nosnippet, noimageindex /auth/loginis titled "Account | Pax Psychology" and the booking pages "Book a session | Pax Psychology": no psychologist, client or session name in any private page's title
Notes On production (paxpsychology.com.au) the same pages say index, follow, robots.txt disallows only the private areas (/dashboard, /auth, /book, /api except /api/og, …) and links the sitemap, which lists the public pages, listed psychologists and published articles.
Automated run
- 1. Open /robots.txt
- 2. Open /sitemap.xml
- 3. View the source of /, /toolkit and /auth/login, and the headers of /
PassedTC-C-101A Toolkit article shares with its own title and article card (new)2.6s
Test script
Preconditions A published Toolkit article with a cover image
Steps
- Open
https://paxpsychology.dev/toolkitand open an article that has a cover image - View the page source and find the
og:andtwitter:tags, the canonical link and theapplication/ld+jsonscript - Add
?utm_source=test&utm_medium=socialto the address and view the source again - Click the LinkedIn share button in the article header
Expected
- Browser tab and
og:title: "<article title> | Pax Psychology";og:descriptionis the article's excerpt;og:typeisarticle, witharticle:published_time,article:authorandarticle:section(the category) og:imageandtwitter:imageare the Pax Psychology Toolkit article card: an/api/og?template=article&…&sig=…URL whoseimageis the header's cover and whosecategoryis the article's category. Open it: a 1200 by 630 card with the cover photo on the right, and on the left a panel in the category's colour (Anxiety, Burnout, Depression and ADHD sun yellow, Performance cobalt, everything else mint) with "Pax Psychology Toolkit", the title (at most three lines) and the category as a tag;og:image:width1200 andog:image:height630;twitter:cardissummary_large_image;og:site_name"Pax Psychology",og:localeen_AU- The canonical link and
og:urlare the plain article URL, and stay the same with theutm_tags added - The JSON-LD is an
Article(headline, cover image, author, dates, category) plus aBreadcrumbList(Home, Toolkit, the article) - The LinkedIn share window opens with the plain article URL: no
utm_tags
Notes The other generated cards, all signed /api/og URLs in the same style: a psychologist's profile shares a profile card (their photo beside a cobalt panel with their name and title, for example "Dr Emily Thompson", their professional title and their headline), and the other public pages (FAQs, Search Psychologists, Our story, Contact, the Toolkit list and so on) share a page card, the page title on the cobalt band with the white logo. The homepage keeps the designed Pax Psychology card (/og/pax-share.png, see TC-A-60). The site's default share image (TC-A-60) replaces the page cards and the homepage card, and an article or profile card only when the article has no cover or the psychologist no photo; with a cover or photo the card always wins. A card only ever draws a photo from our own site or our Blob store; a cover elsewhere is left out and the card shows the colour panel alone. Every card URL ends in a sig signature: change its title (or image, or template) in the address bar and the image returns 404 (no Pax Psychology card with made-up text), while /api/og with no parameters shows a plain card with the site name.
Automated run
- 1. Open /toolkit and an article with a cover image
- 2. Read the og:, twitter:, canonical and JSON-LD tags
- 3. Add utm_ tags: the canonical URL stays clean
- 4. Click the LinkedIn share button
Psychologist
103 cases93 passed 8 manual 1 retired 1 skipped by design
2A. Onboarding
23 passed 3 manual
PassedTC-P-115Accept an invite with a passkey; the agreement version is recorded; two-step is covered (new)3.4s
Test script
Preconditions Signed out, in a browser that can make a passkey (Chrome's virtual authenticator in the automated run). A fresh invite
Steps
- Open the invite link
- Click "Create a passkey" and accept the browser's prompt
- Read the agreement screen; click "Agree and start setup" with one box ticked, then with both
Expected
- Step 2: no password, no code: straight to "Our agreement with you." ("Your account is ready. One more thing before your setup: the psychologist agreement, which covers fees, payouts, client records and your profile. Here's the short version.") with the points "Fees." (22% kept, 78% paid every Friday through Stripe), "Your care, your records.", "Your profile." and "Also in the agreement:" (AI notes, notice to leave, records export), the link "Read the full psychologist agreement (version <version>)", and the two boxes "I've read and agree to the psychologist agreement." and "I agree to the Terms of use and Privacy policy."
- Step 3: with one box: "Tick to agree to the terms of use and privacy policy" (or the agreement's own message). With both: setup opens at step 1, "About you." (
/setup/about). The passkey counts as two-step verification, so no two-step setup screen and no grace banner - The invite is used ("In progress" on the Invites tab) and the acceptances are stored with the version and time (
legal_acceptances)
Notes Cancelling the passkey prompt changes nothing: the link still works. The full text (/psychologist-agreement) is Pax Psychology's own update of the May 2023 agreement, sent to the lawyer as a draft; a new version asks again on the next visit.
Automated run
- 1. Open the invite link
- 2. Click "Create a passkey" and accept the prompt
- 3. Agree with one box ticked, then with both
- Expected: the invite is used and the acceptances recorded with their version
ManualTC-P-116Accept with Google or Microsoft; a different email is refused and nothing is saved (new)1ms
Google's and Microsoft's hosted sign-in can't be driven from Playwright. The rules behind it (a ticket for the invite, the invited and proven address only, never an existing account, nothing saved otherwise) run on a real Better Auth in tests/unit/lib/better-auth-config.test.ts.
Test script
Preconditions Signed out. A Google or Microsoft account whose verified address is the invited one, and another that isn't. Manual: the providers' hosted sign-in can't be automated
Steps
- Open the invite link and click "Continue with Google" (or Microsoft), choosing the account with ANOTHER address
- Click "Choose another Google account" and choose the invited address
Expected
- Step 1: back on the link: "That Google account doesn't match." with "You chose <other>, but the invite is for <invited>.", the alert "Nothing was saved. Your invite still works.", "Choose another Google account", "Back to the other ways in" and how to ask for the invite at another address. No account was made
- Step 2: the agreement screen, then setup. The invite reads "In progress"
ManualTC-P-117Google-only (or Microsoft without MFA proof) is asked to turn on Pax Psychology two-step; a proven Microsoft sign-in isn't (new)–
Needs a real Google or Microsoft sign-in. The rule (oauthSignInNeedsCode, twoFactorRequirement) and the code step after a Google sign-in are unit tested in tests/unit/lib/two-factor-rules.test.ts and tests/unit/lib/better-auth-config.test.ts; the code emailed on arrival, once per sign-in, in tests/unit/lib/two-factor-sign-in-code.test.ts, and on the password path in TC-C-40. Accepting with Google, emailed codes and signing in again with Google run end to end in TC-P-152 and TC-P-153.
Test script
Preconditions As TC-P-116. Manual
Steps
- Accept an invite with Google and agree to the agreement
- Click "Remind me later", sign out, then sign in with Google again
- Turn on two-step with email codes, sign out, and sign in with Google again. Don't click anything on the code screen; then reload it
- Switch two-step to an authenticator app, sign out, and sign in with Google again
- Accept another invite with a Microsoft work account whose sign-in uses MFA
Expected
- Step 1: "Set up two-step verification" with "Remind me later" and "N days left, until <date>."
- Step 2: the dashboard, with the grace banner
- Step 3: after Google, "Check your email." with "We've emailed a 6-digit code to <masked address>. It works for 10 minutes.", the "6-digit code" field and a disabled "Send it again in 0:30", before the dashboard. The email "Your Pax Psychology sign-in code" arrives without clicking "Email me a code" (there is no such button). After the reload the same screen shows and no second email arrives. The emailed code opens the dashboard
- Step 4: after Google, "Enter your code." for the authenticator app, and no code email is sent unless "Email me a code instead" is clicked
- Step 5: straight to the dashboard after the agreement: the Microsoft sign-in's MFA counts
PassedTC-P-152Accept with Google, set up emailed codes and carry on signed in (new)7.1s
Test script
Preconditions Signed out. A fresh invite, and a Google account whose address is the invited one (the e2e suite uses its stand-in for Google's screen). Not a test-exempt account
Steps
- Open the invite link and click "Continue with Google", choosing the invited account
- Tick both boxes and click "Agree and start setup"
- Choose "Email codes", click "Continue", type the emailed code and click "Confirm"
- Wait on that screen
- Tick "I've saved these codes somewhere safe", click "Continue", then "Go to your dashboard"
- Reload the page
Expected
- Step 1: the agreement screen
- Step 2: the two-step setup screen ("Add a second step to your sign-in.")
- Step 3: "Save your backup codes." with ten codes
- Step 4: still the backup codes, signed in. Never the sign-in page
- Step 5: "You're all set.", then setup at step 1 ("About you.")
- Step 6: still "About you.", signed in
Notes Before 29 Oct 2026, confirming the code sent the person to the sign-in page (still signed in, but without their backup codes).
Automated run
- 1. Open the invite link and click "Continue with Google"
- 2. Tick both boxes and agree: asked to set up two-step
- 3. Choose "Email codes" and Continue, then enter the emailed code
- 4. Still signed in on the new session: no sign-in page
- 5. Tick "I've saved these codes", Continue, then "Go to your dashboard"
- 6. Reload: still signed in
PassedTC-P-153A Google-only psychologist signs in again with an emailed code (new)7.3s
Test script
Preconditions As TC-P-152, after its step 3 (emailed codes on, set up with Google)
Steps
- Sign out ("Sign me out")
- On the sign-in page click "Continue with Google" and choose the same account
- Type the code from the setup email (already used) and click "Continue"
- Type the code from the newest email and click "Continue"
Expected
- Step 1: signed out
- Step 2: "Check your email." with "We've emailed a 6-digit code to <masked address>. It works for 10 minutes." and the "6-digit code" field. The email "Your Pax Psychology sign-in code" arrives without clicking anything, even if a code was sent less than 30 seconds before
- Step 3: "That code has already been used. Send yourself a new one."
- Step 4: the dashboard, signed in
Notes A code from an earlier email (one a newer email replaced) says "That code is from an earlier email and no longer works. Use the newest code we sent, or send yourself a new one."
Automated run
- Before: accept the invite with Google and set up emailed codes (as TC-P-152)
- 1. Sign out ("Sign me out")
- 2. On the sign-in page, click "Continue with Google": the code step says where the code went
- 3. The setup code again is refused as already used
- 4. Enter the newest emailed code: signed in, on the dashboard
PassedTC-P-118Accept with a password; the two-step grace starts today (new)2.1s
Test script
Preconditions Signed out. A fresh invite
Steps
- Open the invite link, type a password of at least 8 characters and click "Create account with a password"
- Tick both boxes and click "Agree and start setup"
- Click "Remind me later"
Expected
- Step 1: the agreement screen (signed in)
- Step 2: "Set up two-step verification" with the 14-day grace: "Remind me later" and "14 days left, until <date>"
- Step 3: setup, at step 1 ("About you.")
Notes A password shorter than 8 characters is refused ("Password must be at least 8 characters") and nothing is made.
Automated run
- 1. Open the link, type a password and create the account
- 2. Tick both boxes and agree
- 3. Click "Remind me later"
PassedTC-P-119Invite link states: expired, already used, signed in as someone else (new)3.5s
Test script
Preconditions The fixture invites (invited-expired@, Dr Ivy Progress's used invite); signed in as client@paxpsychology.dev for step 3
Steps
- Open
invited-expired@'s link and click "Email me a new link" - Open Dr Ivy Progress's (used) link
- Signed in as
client@, open a fresh invite's link and click "Sign out and continue"
Expected
- Step 1: "This invite has expired." with "Invite links last 14 days, and this one has run out. We can send a fresh one to the same address straight away."; after the click, "If this invite can still be used, we've emailed a new link to the address it was sent to." The new link goes only to the invited address
- Step 2: "You've already made your account." with "Sign in"
- Step 3: "You're signed in as someone else." naming
client@; after the click, signed out and back on the link's welcome screen
Notes A link that was never real, or was replaced by a resend, says "This link doesn't work.". None of these screens says whether an address has an account.
Automated run
- 1. Open an expired link and click "Email me a new link"
- 2. Open a used link
- 3. Signed in as client@, open a fresh link and click "Sign out and continue"
PassedTC-P-140The API asks a psychologist to accept a new agreement version first (new)2.2s
Test script
Preconditions A psychologist who agreed to an earlier version of the psychologist agreement (the automated case makes its own and marks their acceptance as an earlier version)
Steps
- Sign in
- Make an API token (
POST /api/v1/auth/token) and callGET /api/v1/users/mewith it, and from the signed-in browser - Tick both boxes, click "Agree and carry on", and call it again
Expected
- Step 1: the agreement screen ("Agree and carry on"), as for the dashboard
- Step 2: making the token works (so the app can sign in), but every other
/api/v1call answers 403 with{ "success": false, "error": { "code": "AGREEMENT_REQUIRED", "message": "Accept the updated psychologist agreement to keep using Pax Psychology.", "agreementUrl": "<app>/join/agreement", "documents": ["PSYCHOLOGIST_AGREEMENT"] } }, with the token or the browser's session - Step 3: the same call answers 200 with their details
Notes Clients and admins are never stopped, nor is an admin viewing as the psychologist. Signing out (POST /api/v1/auth/revoke) and the feature list stay open. Every v1 route is checked by a unit test (tests/unit/app/api/v1/agreement-gate.test.ts).
Automated run
- 1. Sign in; the agreement screen opens
- 2. Make an API token and call GET /api/v1/users/me
- 3. Agree, then call it again
PassedTC-P-120Leave setup mid-way and come back to the same step (new)8.6s
Test script
Preconditions A psychologist who has just accepted their invite
Steps
- Open
/setup - Fill in About you (name, gender) and click "Continue"
- On Your practice, click "Save and finish later"
- Open
/setupagain, in a new tab - Open
/setup/profiledirectly - Leave it for three days (or run the daily onboarding cron with the last activity three days back)
Expected
- Step 1: "Step 1 of 8" and "About you." The step list ("Your setup", "About 20 minutes. Everything saves as you go, so you can stop and come back.") shows About you as Now and the later steps without links
- Step 2: "Step 2 of 8" and "Your practice."; About you is Done
- Step 3: the dashboard, with "Saved. Pick up where you left off any time."
- Step 4: straight back to Your practice (
/setup/practice) - Step 5: a later step waits its turn: back to Your practice
- Step 6: "Pick up where you left off on Pax Psychology": "Hi <name>, you're 1 of 8 steps into setting up. Next up is your practice.", the eight steps with About you ticked, "Carry on with setup" (to
/setup/practice) and "Stuck on something, or waiting on a document? Reply to this email…". Another comes after 7 idle days, then nothing until they're back
Notes The phone layout shows "Step 2 of 8: Your practice" over an eight-part bar, "Save and exit" in the header and Continue in a bar at the bottom. Replies go to support. Nobody who has sent their setup, or is live, gets one. The automated run calls the cron only where it has CRON_SECRET (a local run).
Automated run
- 1. Open /setup
- 2. Fill in About you and click "Continue"
- 3. Click "Save and finish later"
- 4. Open /setup again, in a new tab
- 5. Open /setup/profile directly
- 6. Three days later, the daily onboarding cron runs
- Email "Pick up where you left off on Pax Psychology" is sent to e2e-invite+e2e-20261104-gh41924178588-p120@paxpsychology.dev
PassedTC-P-121About you: the five gender options, self-describe in your own words, a photo with a focus point (new)3.9s
Test script
Preconditions A psychologist at step 1
Steps
- Open About you and look at Gender
- Choose "Prefer to self-describe" and click "Continue" with the box empty
- Type a description, add a mobile, and click "Upload a photo" with a photo at least 1,200 pixels on its short side
- Drag the circle (or use the arrow keys) and click "Continue"
Expected
- Step 1: Woman, Man, Non-binary, Prefer to self-describe, Prefer not to say. "With Prefer not to say, your profile shows nothing and you won't come up when a client filters by gender."
- Step 2: "How you describe your gender" with "Say how you describe your gender"
- Step 3: the photo, "How it's cropped" with Profile, Card and Messages previews. A photo under 1,200 pixels is refused with its size
- Step 4: the crops follow the circle; on Your practice, About you is Done and the photo waits for an admin's approval (it isn't on the profile yet)
Notes Mobile is private ("Only Pax Psychology sees it"). The timezone comes from the device the first time. The photo is published without location or camera data (TC-P-02).
Automated run
- 1. Open About you and look at Gender
- 2. Choose "Prefer to self-describe" and continue with the box empty
- 3. Type a description, a mobile, and add a photo
- 4. Move the focus point and click "Continue"
PassedTC-P-122Your practice: Medicare Yes needs a valid provider number, No needs none; ABN and Ahpra formats (new)6.7s
Test script
Preconditions A psychologist at step 2
Steps
- Type
PSY123as the Ahpra number,51 824 753 557as the ABN, choose "Yes, I have a Medicare provider number" and type2468130H, then click "Add insurance later" - Fix them:
PSY0001234567,51 824 753 556,2468131H - Choose "No, my clients pay privately"
- Tick "Counselling psychology", pick the professional title, choose GST "No" and click "Add insurance later"
Expected
- Step 1: "Check the Ahpra number: PSY followed by 10 digits", "Check the ABN: 11 digits, like 51 824 753 556" and "Check the provider number: 8 characters, like 2468131H"
- Step 2: "Looks right" under the Ahpra number and the ABN, "The check letter matches" under the provider number. The Ahpra hint links to the public register
- Step 3: the provider number field goes, and "That's fine. Before anyone books you, we tell them no Medicare rebate applies, as the law requires."
- Step 4: on to Your profile; Your practice shows "1 thing for later"
Notes "Professional title" offers only Psychologist and the titles the ticked endorsements allow; "None, I'm a registered psychologist" can't be ticked with an endorsement.
Automated run
- 1. Type numbers that don't pass their checks
- 2. Fix them
- 3. Choose "No, my clients pay privately"
- 4. Endorsement, title, GST, and add insurance later
PassedTC-P-123Practice address: suggestions, typing by hand, what the profile shows; the address is never public (new)7.8s
Test script
Preconditions A psychologist at step 2 with the rest of the step filled (Medicare No). Address suggestions need GOOGLE_PLACES_API_KEY; without it the box says so
Steps
- In "Find your address", type a street address
- Type the address into the fields by hand instead: 10 Sample Street, Sandy Bay, TAS, postcode
2000; click "Add insurance later" - Fix the postcode to
7005, choose "Based in Tasmania" and click "Add insurance later"
Expected
- Step 1: up to five suggestions with "Google Maps" under them; picking one fills the fields (check the unit). Without a key: "Address suggestions aren't available right now. Type the address into the fields below."
- Step 2: "That postcode isn't in TAS"
- Step 3: saved; the profile will show "Based in Tasmania", never the suburb or street. The address is stored encrypted
Notes "Where you practise from" is marked Private. The collection notice says address suggestions send what is typed to Google in the United States. Receipts and GP letters never show the address (TC-C-24, TC-P-62).
Automated run
- 1. Type into Find your address
- 2. Type it by hand with a postcode from another state
- 3. Fix the postcode, choose "Based in Tasmania"
PassedTC-P-124Insurance: a certificate of currency with its expiry date, or later (new)6.1s
Test script
Preconditions A psychologist at step 2 with the rest of the step filled
Steps
- Click "Continue" without insurance
- Type an insurer and an expiry date in the past; click "Continue"
- Type a future expiry, click "Upload certificate" and choose a PDF
- Click "Continue"
Expected
- Step 1: "Upload your certificate of currency, or add insurance later", "Enter your insurer" and "Enter the expiry date"
- Step 2: "That date has passed. Add the certificate that's current now."
- Step 3: "Certificate added <date>" with "Open it", which downloads it (it is never public)
- Step 4: on to Your profile; Your practice is Done with nothing for later
Notes "Add insurance later" moves on and leaves "1 thing for later"; going live waits for the certificate (plan stage 5), and the reminder before expiry arrives with the insurance cron.
Automated run
- 1. Click "Continue" without insurance
- 2. An expiry date in the past
- 3. A future expiry and the certificate
- 4. Click "Continue"
PassedTC-P-125Your profile: limits counted as you type, the preview updates (new)5.0s
Test script
Preconditions A psychologist at step 3
Steps
- Click "Continue" with the step empty
- Type a headline and a few lines of About you, pick "Anxiety" and an approach ("Mindfulness")
- Click "Continue"
Expected
- Step 1: "Write a headline", "Write a little about you" and "Pick at least one thing you work with"
- Step 2: "N of 80 characters" under the headline and "N of 2,000 characters, about N words" under About you, counting as you type. "How clients see you" shows the name, the professional title and public location, the headline, the first specialities and the start of About you as they change. "How you work" offers the whole approach list (
config/approaches.ts, 24 in sentence case, such as "Cognitive behavioural therapy (CBT)" and "Mindfulness") - Step 3: "Step 4 of 8", "Video and calendar."
Notes About you stops at 2,000 characters (the same limit as Your listing and the admin form). The photo in the preview is the pending one.
Automated run
- 1. Click "Continue" with the step empty
- 2. Type and pick, and watch the preview
- 3. Click "Continue"
PassedTC-P-126Connecting video and a calendar from setup comes back to setup (new)7.6s
Test script
Preconditions A psychologist at step 4 with nothing connected. Zoom and Google need real accounts; the automated run uses the fake calendar provider (CALENDAR_FAKE_PROVIDERS=true) for Google and checks Zoom's hand-off only
Steps
- Open Video and calendar
- Click "Connect Zoom" and approve on Zoom's screen (or press Cancel)
- Connect Google Calendar and approve
- Click "Continue"
Expected
- Step 1: "Connect one video service to be bookable. You'll sign in on its site, then come straight back to this step." The video and calendar cards are the ones on Connections. The button reads "Continue without video"
- Step 2: back on
/setup/connections(not Connections) with "Zoom connected", or "Zoom didn't connect." after Cancel - Step 3: back on
/setup/connections; "Google Meet is ready." (Google Calendar makes Meet links) - Step 4: "Step 5 of 8", "Sessions and fees."
Notes "Continue without video" moves on and leaves "1 thing for later"; the presets then wait (TC-P-127). Where to come back to travels in the signed OAuth state cookie, never the address bar, and only Connections or this step are allowed.
Automated run
- 1. Open Video and calendar
- 3. Connect Google Calendar and approve
- 4. Click "Continue"
PassedTC-P-127Sessions and fees: a fee is required, what you receive, the Medicare item and rebate; without video the presets wait (new)3.3s
Test script
Preconditions A psychologist at step 5 who answered Medicare Yes
Steps
- Clear the Brief session's fee and click "Continue"
- Type
220for the Standard session and140for the Brief session - Click "Continue"
Expected
- Step 1: "Enter the fee. Clients can't book a session without one."
- Step 2: "You receive $171.60 after the 22% platform fee." and "Medicare item 91170, video, 50 minutes or more. With a treatment plan and referral, clients get back $101.55."; for the Brief session $109.20 and item 91169 (20 to 49 minutes), $72.00 (registered psychologist rates until a clinical endorsement is confirmed)
- Step 3: "Step 6 of 8", "Your hours." With video connected the two sessions are in Settings, Session types; without video they wait and become session types the moment a video service connects (the note says so)
Notes With Medicare No the line reads "No Medicare rebate. Clients see this before they book." Fees go up to $1,000. A session switched off isn't offered. A session type is never saved with a provider that isn't connected (TC-P-104).
Automated run
- 1. Continue without a fee
- 2. Type both fees
- 3. Click "Continue"
PassedTC-P-128Hours: the defaults and edits save (new)8.4s
Test script
Preconditions A psychologist at step 6
Steps
- Open Your hours
- Switch Saturday on, set Monday to 10:00 am to 9:00 am and click "Continue"
- Set Monday to 10:00 am to 12:00 pm, click "Add another time" under Monday, set the new start to 11:00 am and click "Continue"
- Set the new Monday start to 1:00 pm and click "Continue"
Expected
- Step 1: Monday to Friday 9:00 am to 5:00 pm, Saturday and Sunday "Not available", and "Times are in <timezone>."
- Step 2: "Monday: the end time must be after the start time."
- Step 3: a second Monday range appears, 1:00 pm to 5:00 pm, with a remove button beside each range; after the change, "Monday: 11am to 5pm overlaps 10am to 12pm. Change one so they don't overlap."
- Step 4: "Step 7 of 8", "Payouts."; Settings, Availability shows the same hours, Monday as two ranges (10:00 to 12:00 and 13:00 to 17:00)
Notes A day can hold several ranges, as in Settings: "Add another time" covers a regular break such as lunch. Ranges may touch but not overlap. One-off changes are Block time in Schedule. A week with no hours at all is refused.
Automated run
- 1. Open Your hours
- 2. Saturday on, Monday backwards
- 3. Monday 10:00 am to 12:00 pm, "Add another time", new start 11:00 am
- 4. New Monday start 1:00 pm, Continue
PassedTC-P-129Payouts from setup: step-up when stale, Stripe comes back to setup, the pending state (new)4.1s
Test script
Preconditions A psychologist at step 7 with no Stripe account. Stripe test mode for the onboarding; the automated run checks the step and leaves Stripe's own screens to staging
Steps
- Open Payouts
- Click "Set up payouts with Stripe" (more than 10 minutes after signing in, confirm it's you first)
- Finish or leave Stripe's onboarding
- Click "Continue" (or "Do this later" before step 2)
Expected
- Step 1: "Stripe Connect" marked "Not connected", what Stripe will ask (name, date of birth and home address; the ABN; the bank account) and "Do this later"
- Step 2: the step-up dialog when the sign-in is stale, then Stripe
- Step 3: back on
/setup/payouts?stripe=done; the status is checked at once: "Pending" with "Stripe is checking your details." or "Connected" - Step 4: "Step 8 of 8". Before Stripe is done, Payouts shows "1 thing for later" and the psychologist can't go live yet
Notes Not available while an admin views as the psychologist. Stripe finishing also refreshes the public listing (the webhook and the check).
Automated run
- 1. Open Payouts
- 4. "Do this later"
PassedTC-P-130Review shows what's missing; Send for review; not live until approved (new)4.5s
Test script
Preconditions A psychologist at step 8 with everything done but the insurance certificate
Steps
- Open Review and send
- Click "Send for review"
- In a signed-out window, open their profile URL
Expected
- Step 1: "Nearly there, <name>." with "Needed to go live" ("7 of 8 done"; Insurance reads "Add your certificate. You can send for review now and add it while we look."), "Good to do" (photo, calendar), "What happens next" and their public profile
- Step 2: "Thanks, <name>. It's with us." with "Go to your dashboard", "Add your insurance certificate" and "While you wait"; the admins get "<name> is ready for review" (TC-A-83)
- Step 3: the not-found page: nobody is live before an admin approves them
Notes Sending needs steps 1 to 6 done; video and payouts may still be pending, but approval waits for them.
Automated run
- 1. Open Review and send
- 2. Click "Send for review"
- Email "Dr Rhea Rowe is ready for review" is sent to admin@paxpsychology.dev
- 3. In a signed-out window, open their profile
PassedTC-P-131Today's checklist replaces the payout and video banners until live (new)3.1s
Test script
Preconditions A psychologist part way through setup (no payouts, no video)
Steps
- Open Today
- Send for review, then open Today again
- After an admin asks for a change (TC-A-80), open Today
Expected
- Step 1: "Finish setting up" with "N of 8 done. Live means clients can find you in Search Psychologists and book you.", "Carry on with setup", a row per missing item and "Done: …". No "Finish setting up payouts" banner and no "Connect a video provider" banner
- Step 2: "We're reviewing your profile." and "While you wait"
- Step 3: "One change before you go live." with the admin's note, "Edit your profile" and "Send it back for review"
Notes Once live the two banners come back only for a later break (TC-P-01, TC-P-111).
Automated run
- 1. Open Today
- 2. Send for review, then open Today again
- 3. After an admin asks for a change, open Today
PassedTC-P-132Editing the bio after going live waits for review; the live profile keeps the approved copy (new)11.8s
Test script
Preconditions A live psychologist
Steps
- In Your listing, change About you and click "Save changes"
- In a signed-out window, open their profile
- As an admin, approve the change (TC-A-86) and open the profile again
Expected
- Step 1: "Saved. Your profile changes wait for review; the live profile stays as it is until we approve them." and "Waiting for review: about you." on Your listing
- Step 2: the old About you
- Step 3: the new About you
Notes Headline, about you, specialities, approaches, title and location wait for review; languages, taking new clients and messages save straight away. Your listing has no typed Medicare rebate any more.
Automated run
- 1. In Your listing, change About you and "Save changes"
- Email "Dr Rhea Rowe changed their profile" is sent to admin@paxpsychology.dev
- 2. In a signed-out window, open their profile
- 3. As an admin, approve the change and open the profile again
ManualTC-P-01Connect the Stripe Connect payout account4.9s
Steps 4–5 leave Pax: 'Connect with Stripe' hands off to Stripe's hosted Connect onboarding (a stripe.com form with identity and bank details) and returns via an OAuth-style callback. Nothing on that hop can be automated, and completing it would burn the shared `test2@` fixture's 'payouts not set up' state that other cases rely on. Everything Pax itself renders – the banner, the sidebar alert, the Stripe Connect card and its CTA – is checked below; a reviewer only needs to eyeball the hosted form and the post-connect 'Connected' badge (see TC-P-20).
Test script
Preconditions Logged in as test2@paxpsychology.dev (Stripe not connected)
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Note the payout banner and click its CTA
- On
/dashboard/settings?section=payouts, read the Stripe Connect card - Click "Connect with Stripe" and complete the Stripe-hosted onboarding
- Return to Pax Psychology
Expected
- The Today page shows the banner "Finish setting up payouts to accept bookings" with the body "Your Stripe Connect onboarding is incomplete, so session fees can't reach you yet. It takes about 2 minutes." and the button "Set up payouts" →
/dashboard/settings?section=payouts - The sidebar "Settings" item carries a coral dot (
aria-label"Action needed") and the Payouts item in the Settings sub-navigation shows the same dot, until this is done - The card is titled "Stripe Connect" with the line "Clients pay through Stripe. The platform fee is 22%, and you receive 78%." and a "Not connected" badge
- After connecting: badge "Connected", rows "Account", "Country" (e.g. "Australia, AUD"), "Charges" and "Payouts" ("Enabled" or "Not enabled yet"), and an "Open Stripe dashboard" button. While payouts are off, a tinted note reads "Payouts are switched off on your Stripe account. Finish setup in Stripe so session fees reach your bank."
Notes A part-finished account shows the "Pending setup" badge and a "Continue setup" button. Until payouts are connected the psychologist is not bookable from the public site. This banner is for a live psychologist whose payouts stop; until going live, Today shows the setup checklist instead (TC-P-131). Payouts count as set up only while Stripe has both charges and payouts on: if Stripe later switches either off, its account.updated webhook clears the flag, the listing stops taking bookings, and the banner and the Settings dot come back until Stripe turns them on again.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- 2. Note the payout banner and click its CTA
- 3. On /dashboard/settings?section=payouts, read the Stripe Connect card
- 4. Click "Connect with Stripe" and complete the Stripe-hosted onboarding – MANUAL
- 5. Return to Pax – MANUAL
PassedTC-P-02Complete profile / account details8.8s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=account - Upload a profile picture, change "Full name", click "Save changes"
- Switch to
?section=registrationand fill the professional fields - Open
/dashboard/listingand check the public-facing profile editor
Expected
- H1 "Settings", subtitle "Your account, how you sign in and what reaches you, then your practice: registration, payouts, session types and hours." The nav starts with the Account group ("Account", "Sign-in and security", "Notifications"), then "Registration", "Payouts", "Session types", "Availability"
- Account card headed "Your details" (an H2): avatar upload with "Choose image" and "Remove" (helper "A clear photo of your face. JPEG, PNG or WebP, up to 5MB. Or drag one here."), "Full name", "Email" read-only ("Email can't be changed here."), "Timezone" (a select, "Automatic (this device)" by default; see TC-C-116). Button "Save changes"; toast "Account updated"
- There is no Mobile field for a psychologist (client-only)
- The uploaded photo is shown as a re-encoded copy: open the avatar image in a new tab and its address names a
.webpfile, and it carries no camera or location data (check with any EXIF viewer: no GPS, no camera make). A phone photo taken sideways still shows the right way up - "Registration" section: a "Registration" card with "Ahpra registration number", "Medicare provider number", "ABN" and "Save changes". There is no "Billing account" card: payouts go through Stripe Connect, so bank details aren't collected
- The numbers are checked when you save: a provider number with the wrong check letter (try
2468131A) shows "Check the provider number: 8 characters, like 2468131H"; an ABN that fails the ATO checksum and an Ahpra number that isn'tPSYand 10 digits are refused too. A blank field clears it /dashboard/listing(H1 "Your listing") is where the public profile copy, bio and specialities are edited – those are no longer on the settings profile form
Notes The old /dashboard/settings/profile URL is not found (see TC-P-22). The photo's original upload goes to the private file store and is never public; only the cleaned copy is (psychologist onboarding plan, stage 0).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/settings?section=account
- 2. Upload a profile picture, change "Full name", click "Save changes"
- 3. Switch to ?section=registration and fill the professional fields
- 4. Open /dashboard/listing and check the public-facing profile editor
- Notes: the old /dashboard/settings/profile URL is not found
PassedTC-P-03Set weekly availability11.2s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments - Click "Edit availability" in the Schedule toolbar
- In the modal, switch Monday on and set "From"
09:00and "To"17:00 - Switch Saturday off
- Click "Save availability"
- Split Tuesday for lunch: set Tuesday to
09:00to12:00, click "Add another time" under Tuesday, check the new range reads13:00to17:00, then click "Save availability" - Reopen the modal, set Tuesday's second "From" to
11:00and save - Deliberately set an invalid combination (e.g. From later than To) and save again to see the error
Expected
- Modal title "Your usual availability", sub "The hours clients can book you each week. Add another time for a break in the day. Block time covers one-off changes."
- One row per day: a switch labelled with the day name, then "From" and "To" selects for each range and an "Add another time" link; a day with more than one range has a remove button beside each; a day that is off reads "Unavailable"
- Step 6: the save succeeds and, reopened, Tuesday shows both ranges. The public booking page offers Tuesday times from 9:00 and from 1:00 pm, and every session finishes inside a range: nothing runs into 12:00 to 1:00 pm or past 5:00 pm. Start times sit every half hour from the start of each range. With 50-minute sessions Tuesday offers 9:00, 9:30, 10:00, 10:30 and 11:00 am, then every half hour from 1:00 pm to 4:00 pm (no 11:30 am, which would run to 12:20 pm, and no 4:30 pm, which would run to 5:20 pm)
- Step 7: "Tuesday: 11am to 5pm overlaps 9am to 12pm. Change one so they don't overlap." in the red alert, and nothing is saved
- Footnote "Pax Psychology only offers clients slots inside these hours, minus anything you've booked or blocked."
- Buttons "Cancel" and "Save availability" ("Saving…" while pending)
- Errors appear inline in a red alert above the footer – not as a toast
- Success is an in-modal screen, not a toast: "Availability saved." / "Clients can now book you across <n> days a week. One-offs and time off are handled by Block time." with a "Done" button
- The public booking page reflects the new hours (Monday 9–5 bookable, Saturday not). Times are offered every half hour, and a session is only offered if it finishes by the end of its range: with 50-minute or 60-minute sessions Monday's last start is 4:00 pm, and 4:30 pm is never offered. A client booking or moving a session to a time that runs outside the hours is refused ("That time is outside your psychologist's working hours."); the psychologist booking for a client may still choose any time
Notes The same modal opens from Settings › Availability (TC-P-21) and from the "Block time" / "Book a session" buttons on Today. Afterwards, put Monday and Tuesday back to one range, 09:00 to 17:00 (remove Tuesday's second range), so the account matches its fixture.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/appointments
- 2. Click "Edit availability" in the Schedule toolbar
- 3. In the modal, switch Monday on and set "From" 09:00 and "To" 17:00
- 4. Switch Saturday off
- 5. Click "Save availability"
- 6. Split Tuesday for lunch: 09:00 to 12:00, "Add another time" (13:00 to 17:00), save
- 7. Reopen the modal, set Tuesday's second "From" to 11:00 and save
- 8. Deliberately set an invalid combination (From later than To) and save again to see the error
- Restore the original weekly hours
PassedTC-P-04Block out time (time off)18.6s
Test script
Preconditions Logged in as a psychologist with availability set
Steps
- On
/dashboard/appointments, click "Block time" - Pick a reason chip, use the week arrows to page forward a week, pick a day, set "From" and "To", add a note
- Click "Block time", then "Done", and find the block on the Schedule (page the week forward if it isn't there); click it
- Repeat over a slot that already has a booking, and read the warning
- Try the "Repeat weekly" switch
- Delete the block from Settings › Availability › Time off
Expected
- Modal title "Block out time", sub "Clients can't book this slot."
- Reason tags "Lunch", "Admin and notes", "Leave", "Personal"; fields "Reason", "Day", "From", "To", "Note (optional)" (placeholder "Supervision, or just heads-down notes time")
- Week paging with "Previous week" / "Next week" arrows around a "<d Mon> – <d Mon>" label, five weekday buttons ("Mon 19"), up to 25 weeks ahead
- "Repeat weekly" switch in a grey box with the note "Same day and time for the next 12 weeks."
- Buttons "Cancel" (outlined) and "Block time" (black)
- Conflict: "<n> booked appointments fall in this window. Blocking will cancel them." and "Press Block and cancel to confirm."; the submit button becomes "Block and cancel"
- Success is an in-modal screen, not a toast: "Time blocked." / "<Dow D Mon>, <from>–<to> is now off your booking calendar." with a "Done" button
- The blocked slot is no longer offered on the public booking page
- The Schedule draws the block over its hours on that day as "Time off" with the range ("1:00 to 2:00 pm"), in the legend's "Blocked" style, beside any session already in that slot (
aria-label"Time off, <Mon D Mon>, <range>. Details"); clicking it says "You blocked this time, so clients can't book it." with a "Change your time off" link, never the reason or note. Month shows a chip ("Off <range>", or "Time off" for a whole day) and the phone agenda a "Time off" row - Deleting from the Time off list opens "Delete this time off?" / "<range> will be bookable again." with a "Delete" button
Notes Errors render inline in the modal.
Automated run
- 1. On /dashboard/appointments, click "Block time"
- 2. Pick a reason chip, page forward a week, pick a day, set "From" and "To", add a note
- 3. Click "Block time"
- 4. Repeat over a slot that already has a booking, and read the warning
- 5. Try the "Repeat weekly" switch
- 6. Delete the block from Settings › Availability › Time off
PassedTC-P-05Create a session type7.8s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=appointment-types - Click "Add session type"
- Fill the form: Title
Initial consultation, DescriptionA 50-minute initial consultation session., Length1 hour, Video call "Google Meet", Fee (AUD)220.00 - Click "Add session type"
- Click "Edit" on the new type, choose another of your types under "After this session, book again as", click "Save session type", then open "Edit" again
Expected
- The section is headed "Session types" / "The sessions clients can book, and what each costs." with an "Add session type" button; with none set up, a card reads "No session types yet. Set up the sessions clients can book: length, fee and how the call happens."
- The add page (back link "Session types", H1 "Add session type") has labels "Title" (placeholder
30 min meeting), "Description", "Length" (select), "Video call" (radios Google Meet / Zoom / Microsoft Teams), then a "Billing" card with "Fee (AUD)" and the line "You receive $<payout> after the 22% platform fee." ("Enable bulk billing" toggle with the insurance flag) - The fee follows setup's rules: saving a blank or unreadable fee says "Enter the fee in dollars, like 220",
0(or anything under $1) says "Fees start at $1", and over $1,000 says "Fees go up to $1,000"; nothing is saved until it is fixed - After saving, each session type is a row with its name, "<n> minutes, <n> appointments", the fee (e.g. "$220") and an "Edit" button; with the insurance flag on, rows add "Medicare rebate" and "Gap payment"
- There is no "Booking link" field: the booking URL is made from the title. The new type is bookable at
/book/emily-thompson/<title as a slug>(forInitial consultation,/book/emily-thompson/initial-consultation; a second type with the same title gets-2). Check it in a signed-out window, since a signed-in psychologist is sent to the dashboard - The details card ends with "After this session, book again as" (a select, first option "The same session type", then your other session types, never the one being edited) with the hint "Book again and the client's Home suggestion start on this type. They can still pick another." It starts on "The same session type"; after saving, the edit form shows the type you chose. The field is left out while you have no other session types
Notes Unconfigured video providers are disabled with the tooltip "This provider is not configured". Medicare/bulk-billing fields only appear with the insurance flag on (off on staging).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/settings?section=appointment-types
- 2. Click "Add session type"
- 3. Fill the form: Title, Description, Length, Video call, Fee (AUD)
- 4. Click "Add session type"
- The new type is bookable at /book/emily-thompson/<its title as a slug>
- 5. Edit the new type, set "After this session, book again as" to another type and save
2B. Dashboard
3 passed
PassedTC-P-06Psychologist Today page11.9s
Test script
Preconditions Logged in as test@paxpsychology.dev
Steps
- Navigate to
https://paxpsychology.dev/dashboard
Expected
- A dark sidebar with "Pax Psychology" at the top and no role tag under it. Nav: Today, Schedule, Clients, New clients, Earnings in the main group and Your listing, Settings under "Practice". The current item is white with dark text. (Messages and Claims are flag-gated and off on staging. Claims is one item: Medicare claims, Private health, Audit and Settings are tabs on
/dashboard/claims.) The sidebar footer carries a "Taking new clients" / "Not taking new clients" switch, then the user block with your name (no role under it) - H1 "Morning, <First>." / "Afternoon, …" / "Evening, …" with a sub-line giving the date and the day (for example "Wednesday 28 October. 4 sessions today, and Alex is up next.", "… and Alex is on now.", "… 2 sessions today, all done." or "Wednesday 28 October. No sessions today.")
- Header buttons "Block time" (outlined) and "Book a session" (black)
- Under the header, one now card with the thing to do right now, in this order: a session today with no video link ("Fix before <time>", pink: "<First>'s session at <time> has no Zoom link.", with "Reconnect Zoom" and "Zoom stopped letting us in on <Day D Mon>, so we couldn't make links for <n> sessions this week." while Zoom needs reconnecting, otherwise "Open Connections"; "Add a link by hand" (TC-P-134); and "Also affected: <First> today at <time>, <First> on <Day D Mon> at <time>." for the rest of the week's sessions with no link); a session from 15 minutes before its start until its end (dark, "Starts in <n> minutes" or "On now, until <end>", "<Client> at <time>.", "Start on <Zoom/Google Meet/Microsoft Teams>", which goes through "Before you join" for a Zoom or Teams session with AI notes on, "Open session and notes" and, with Messages on, "Running late? Tell <First>"; from the second session, "From last time": the Plan from the last session's note, where the latest homework stands and the latest check-in shared with you, e.g. "Plan: Keep a sleep diary for a week. Thought record worksheet done Mon 26 Oct. Check-in on Sunday: Okay."; once it has started, a "Jot something down" box, TC-P-150, and "Waiting for <First>?" while the client isn't in the call, TC-P-151); a session that has ended and is still to complete (blue, "Ended <n> minutes ago", "Wrap up <First>'s session.", "Did <First> attend?" with Attended / No-show, an unticked "Send <First> <Day D Mon> at <time> to confirm" (same time next week, only when they have nothing booked), one button "Complete and charge $X.XX" ("Complete without charging" with no card, "Record a no-show and charge $X.XX" for a no-show) that completes it as the session page does and says the outcome in a toast, and "Open the full wrap-up", which opens the session with the wrap-up open (TC-P-10); a "Note" line says where the note stands, and the footer "You can finish the note later: it waits in Notes to write."); a client seen later today who logged a Rough check-in you haven't marked as seen (their words, "Message", "See check-ins", "Mark as seen"); a session today completed with no note saved ("Completed, $X.XX charged", "Write <First>'s note." or "<First>'s draft note is ready.", "Write the note" / "Review the draft", which opens the session with its notes open, and "Open Notes to write"); the next session today ("In <n> hours", "Start on <app> shows here from <time>."); otherwise "No sessions today. Next up, <Day D Mon> at <time>." with the catch-up jobs as links with a count ("3 notes to finish", "Next week has 7 open hours", "2 clients haven't booked in a while", only those that apply), "Block time" and "Open schedule"; Needs you then leaves out the notes and nudge rows. The card moves on by itself while the page stays open. Until you are live the setup checklist takes its place
- "Needs you": everything else that needs you, one sentence and one button each, most urgent first, never repeating what the now card shows. At most three rows, then "Show <n> more" for the rest. In order (what stops today's sessions, then the client's safety, then money waiting, then answers with a deadline, then notes): a session today with no video link ("Open Connections"); a Rough check-in you haven't seen ("<First> logged a Rough check-in last night.", "Mark as seen" and "Read it", the client record); today's ended sessions still to complete, oldest first ("<First>'s <time> session has ended.", "Complete it to charge $X.XX.", "Wrap up"); a new client's first session today ("Read intake"); older sessions to complete ("<n> sessions from before today to complete.", "Review",
/dashboard/actions); a declined card ("<First>'s card was declined for <Day D Mon>.", "See details"); first sessions waiting for your answer ("<Name> asked for <Day D Mon> at <time>.", "Answer", New clients); a records request ("A client has asked for their records.", "Review the request"); notes to write ("<n> notes to write." naming the oldest two, "Drafts are ready for both." when AI drafts wait, "Write notes",/dashboard/actions?tab=notes); clients with nothing booked for a while ("Send a nudge" with Messages on, otherwise "Open record"). Nothing waiting: "Nothing needs you right now." - "The rest of today" with a "Full schedule" link, on a day with sessions: each session's time and length, the client, a line and a chip ("To complete" with "Wrap up", "Now" / "Next" for the card's session with "In the card above.", "Rough" with "Read it", "New client" with "Read intake", "Completed" (with "Write the note" while its note isn't saved), "No link", "No-show")
- Two links at the foot: "This week" ("<n> of <m> hours booked. <Weekday> is the most open.", to Schedule) and "Earnings" ("$X.XX charged this week so far.", to Earnings)
- On a phone (below 1024px): a dark top bar with "Pax Psychology" and your avatar, and bottom tabs Today, Schedule, Clients, Earnings, More (Messages replaces Earnings when its flag is on). More opens the full-screen menu with the whole sidebar, including the "Taking new clients" switch
Notes The old "This Month's Earnings / Active Clients / Completion Rate / Outstanding Invoices" cards, the earnings chart, the weekly schedule block and the four Quick Action buttons have all been replaced by the above. So have the four KPI tiles, the sessions to complete and records bands, the New clients rail and Worth a look (Oct 2026, the Today blend): each is a row in Needs you now, and the week is at the top of Schedule.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- Sidebar: Today, Schedule, Clients, New clients, Earnings, then Practice › Your listing, Settings
- H1 greeting with the date and day sub-line, and the Block time + Book a session buttons
- The now card sits under the header with the one thing to do right now
- "Needs you": three rows at most, the rest behind "Show <n> more"
- "The rest of today" lists today's sessions with a "Full schedule" link
- Two links at the foot: "This week" to Schedule and "Earnings", in cents
- Notes: the old earnings cards, chart, weekly schedule block and Quick Actions are gone
PassedTC-P-07Sessions to complete in Needs you9.4s
Test script
Preconditions Logged in as a psychologist with sessions from before today not yet marked complete
Steps
- Navigate to
https://paxpsychology.dev/dashboard(tap "Show <n> more" under Needs you if the row isn't showing) - Click "Review" on that row
Expected
- A Needs you row "<n> sessions from before today to complete." (singular "1 session from before today to complete.") with "$X.XX in fees waits on them." when there are fees. Today's ended sessions are rows of their own (or the now card), not counted here
- "Review" goes to
/dashboard/actions: a "Today" back link, H1 "To finish" and "Sessions to complete charge the client. Notes to write are for your records. They're counted separately, so finishing one never hides the other." Two tabs, "Sessions to complete, <n>" (open) and "Notes to write, <n>" (TC-P-133) - Three figures: "To charge" in dollars and cents ("From <n> sessions with a saved card."), "No card on file" ("Completing these charges nothing.") and "Over 30 days" ("The oldest is from <Day D Mon>.", pink when any)
- A table of Session (the client's name, a link to the session, with the type under it) / Ended ("Today at 9:50 am", or "Thu 22 Oct at 3:30 pm", with "<n> days ago" over 30 days) / Note ("Draft ready", "Saved" or "None yet") / Fee ("$X.XX", with "No card on file" under it when there is no card) and a "Wrap up" button per row (black on the top row only) that opens the session with the wrap-up open (TC-P-10). Today's sessions come first, then the oldest first: "Showing <k> of <n>: today's first, then oldest first. Each name opens the session." On a phone the table scrolls sideways inside its panel. Nothing waiting shows "All caught up."
- With more than 10 waiting, the table shows 10 and a "Show <k> more" button that adds up to 10 more rows at a time
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- The row reads "<n> sessions from before today to complete." with the fees waiting
- 2. Click "Review"
- More than 10 waiting: "Showing 10 of <n>" and "Show <k> more" under the table
PassedTC-P-133Notes to write on To finish and in Needs you (new)8.6s
Test script
Preconditions Logged in as test@paxpsychology.dev with a completed session whose note isn't saved (complete one without writing a note, as TC-P-27 does)
Steps
- Open
https://paxpsychology.dev/dashboard/actions?tab=notes - Click "Write the note" (or "Review the draft") on the first row
- Close the notes, go to Today and look in Needs you (tap "Show <n> more" if needed)
Expected
- To finish opens on the "Notes to write, <n>" tab: a table of Session (the name links to the session) / Ended / Note ("Draft ready" when an AI draft is waiting, otherwise "None yet") with one button per row, black on the top row. A no-show or a session still to complete is never here. Nothing waiting shows "No notes to write."
- The button opens the session with
?open=notesand the Session notes workspace already open - Needs you has "<n> notes to write." naming the oldest two ("Shemar on Mon 26 Oct and Sherri on Thu 22 Oct.") with "Write notes" to
/dashboard/actions?tab=notes. A note shown in the now card ("Write <First>'s note.") isn't counted again. On a quiet day (no sessions left today) the notes are the now card's "<n> notes to finish" link instead, and Needs you leaves them out - Saving the note takes the session off the tab, the row and the now card
Automated run
- 1. Open /dashboard/actions?tab=notes
- 2. "Write the note" (or "Review the draft") opens the session with its notes open
- 3. Today's Needs you has "<n> notes to write." with "Write notes"
2C. Schedule and Appointments
17 passed
PassedTC-P-08Schedule views12.4s
Test script
Preconditions Logged in as a psychologist with appointments
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments - Switch between the "Day", "Week" and "Month" tabs
- Use the previous / next arrows and the "Today" button
- Click an appointment
Expected
- H1 "Schedule" with a sub-line summarising the week, such as "2 sessions this week, both on Friday. Both still need completing." or "No sessions booked this week."
- Header buttons "Block time" (outlined) and "Book a session" (black)
- Under the header, your week: three tiles, "Booked this week" ("<n> of <m> hours" against your working hours, then "<k> hours open from today. Most open: <Day D Mon>."), "Charged this week" (dollars and cents, "From <n> sessions. $X.XX comes to you after the platform fee." and an "Earnings" link) and "Waiting on you" (sessions to complete, requests, records reviews and notes to write, with "See them all" to Today's Needs you); then "<Mon D Mon> to <Sun D Mon>" with a Monday to Sunday strip: each day's date, a bar of how much of its working hours is booked and "<n> of <m> hours" (or "Not working", or "Time off" for a day off), today in black, and a flag on a day it touches: "No link" (a session still to come with no video link), "Rough" (the next session of a client with an unseen Rough check-in) and "Time off". Working hours count without time off: an afternoon off takes those hours out of the day. A "Booked" / "Open hours" key sits under the strip. A day opens it in the Day view below
- Under the week, "Today, <Weekday D Month>": each of today's sessions with its time and length, who, a chip ("To complete" with "Wrap up", "Now" with "Start on <app>", "No link", "Rough" with "Read it", "New client" with "Read intake", "Completed" with "Write the note" while its note isn't saved), or "No sessions today. Next up, <Name> on <Day D Mon> at <time>."
- One banner over the week when it applies: "You are not live yet, so nothing can be booked. This is your week as clients will see it once you are." with "Finish setting up", or "You are not taking new clients, so only your current clients can book. Turn it back on to fill open hours." with "Take new clients" (TC-P-107)
- A toolbar: arrows (
aria-label"Previous week" / "Next week", or day / month in those views), a "Today" button, the range as a heading ("19 to 25 October"), Day / Week / Month tabs, a "Show availability" switch (greys out hours outside your weekly availability) and "Edit availability". The URL keeps the date and view (?date=andcalendarView=, which Week leaves out), and quick clicks keep the view you picked: Week, then the arrows and "Today", stays on Week - The week grid in a white panel: hour rows, sessions as tinted blocks (sky = video, mint = in person, black = intake) with the client's name and time; past sessions show alongside upcoming ones, a past session not yet completed carries "To complete", and cancelled sessions are not shown
- Month view: a grid of whole weeks, today's date in a black circle, sessions as tinted "<time> <client>" chips
- A legend reading "Video", "Intake", "Blocked" (plus "In person" when that flag is on); "Blocked" is time off, drawn on the Day, Week and Month views (TC-P-04)
- Clicking an appointment opens an "Appointment details" drawer that stays open until you close it (X button or Escape), then focus is back on the session; "View full details" opens its detail page. A session that has ended and is still to complete has "Wrap up", which opens its detail page with the wrap-up open (TC-P-10)
- On a phone the Day tab reads "Agenda": a Mon–Sun day picker (a dot marks days with sessions), then each day as a heading with session cards, and a full-width "Block time" button at the bottom; the week grid scrolls sideways inside its panel
Notes The old calendar/list toggle, the "Upcoming (X)" / "Past (X)" tabs and the search box are gone from this page – this is now a calendar-first Schedule. Clients see their own version of this route (TC-C-21).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/appointments
- 2. Switch between the "Day", "Week" and "Month" tabs
- 3. Use the previous / next arrows and the "Today" button
- Turn on "Show availability"
- The legend reads "Video", "Intake", "Blocked"
- 4. Click an appointment
PassedTC-P-09Appointment detail (psychologist)16.4s
Test script
Preconditions Logged in as a psychologist with an appointment whose client has a referring GP recorded on their profile
Steps
- Open
/dashboard/appointments/[appointmentId]
Expected
- Back link "Back to schedule"; H1 "Session with <ClientFirstName>" with a status pill beside it (e.g. "Confirmed", "No-show"); meta line "<date>, <time>, <n> min, <video provider>". A confirmed video session shows "Join video call" in the header from 15 minutes before its start; before that, Session details has the row Join "Join opens here 15 minutes before."
- While the session runs (start to scheduled end) a yellow "On now" band reads "This session is on now, until <end time>. Lost the call? Join it again here. Wrap it up once it ends." with "Join video call"; nothing offers Wrap up yet
- A session that has ended and is still CONFIRMED has the status pill "To complete" (never "Confirmed") and a pink band: "This session has ended. Wrap it up to charge the $<fee> fee. The note can follow." with a "Wrap up" button that opens the full wrap-up (TC-P-10). Arriving with
?open=wrapup(Today, To finish, the Schedule drawer) opens it at once - Card "Session details" with Date, Time ("11:00 am to 1:00 pm AWST"), Session type ("<type>, <n> minutes"), Format and, until it is completed, Fee ("$<fee>, card saved" or ", no card saved")
- A client card: initials, name, "<n> sessions, client since <Mon YYYY>", Email, Mobile and the referring GP, read from the client profile (Referrer: the doctor's name with the clinic name and "Provider no. <number>" beneath it), and a "View client profile" button (on a phone, "Message" and "Profile")
- An upcoming confirmed session also has a "Change this session" card with "Reschedule" and "Cancel appointment"
- Once paid, a "Your payout" card: a status chip, the payout amount, Session fee, Platform fee (<n>%), Paid on, and a "View payout" button
- A "Session notes" card showing the current note with "Write session notes" (or "Edit session notes"; on a completed session that button sits in the header), and a "Documents" card with "Upload document" ("No documents uploaded yet." when empty). The upload dialog is headed "Upload document" with File, Description (optional), "Share with client", Cancel and Upload (uploading, sharing and deleting a document are TC-P-61)
Notes The referring GP now comes from the client profile rather than only the appointment record, so it is present even when the appointment was created without it.
Automated run
- 1. Open /dashboard/appointments/[appointmentId]
- Back link, H1 "Session with <ClientFirstName>", meta line and status pill
- Card "Session details" with Date, Time, Session type and Format, and the client card
- The referring GP is read from the client profile, with clinic and provider number
- "View client profile" on the client card, and the applicable session actions
- "Your payout" card, a session-notes button and a "Documents" card
PassedTC-P-134Add a meeting link by hand to a video session with none (new)5.4s
Test script
Preconditions Logged in as test@paxpsychology.dev with an upcoming Zoom session that has no link (Zoom was disconnected when it was booked; the automated case takes the link off test@'s last upcoming Zoom session first)
Steps
- Open the session's detail page
- Click "Add a link by hand", type
zoom.us/j/123and click "Save link" - Paste a full
https://meeting link and click "Save link"
Expected
- Session details has the row Join: "No Zoom link yet." with "Add a link by hand" (the same button is on Today's "Fix before" card and on a "No link" row in Schedule's list of today, as "Add a link")
- The dialog "Add a meeting link." says the client joins with it from their session page and the reminder; step 2 shows "Use the full link, starting with https://" in the dialog and saves nothing
- Step 3 closes the dialog with "Link saved. We've emailed it to <First>, and they can join from their session page."; the Join row reads "Join opens here 15 minutes before." and the session's link is the one pasted. Reconnecting Zoom later leaves it alone
- The client is emailed "Your Zoom link for <Weekday D Month YYYY>" ("Here's your session link.", with "Join on Zoom", "View session" and a calendar invitation carrying the link). A session still waiting on the client to confirm sends no email (its confirmation carries the link)
- When the psychologist writes sessions to a calendar (Connections), the session's event there gets the link as its location
Automated run
- Take the link off test@'s last upcoming video session
- 1. Open the session: Join reads "No Zoom link yet." with "Add a link by hand"
- 2. An address without https:// is refused in the dialog
- 3. A full https:// link is saved as the session's link, and the client is emailed it
- Email "Your Zoom link for" is sent to craig.runte@paxpsychology.dev
PassedTC-P-150Jot notes during a session (new)8.9s
Test script
Preconditions Logged in as test@paxpsychology.dev with a session that started a few minutes ago (the automated case makes one with client@paxpsychology.dev, and a recorded one with the fake AI providers)
Steps
- Open Today, then the session's page, while it is on
- Type in "Jot something down" and pause; reload the page
- Click "Write session notes"; click "Add to my note"
- With AI notes consent and a recording of the session, open the draft
- The same without AI notes consent
Expected
- Today's now card ("On now, until <end>") and the session page (under "This session is on now") have "Jot something down" with "Only you see this. It waits for your note when you wrap up." It is not there before the session starts
- After a pause the box says "Saved"; the jot is still there after the reload. It is stored encrypted, and only the treating psychologist ever sees it (not the client, not an admin)
- The notes show "Your jot from the session" with its words; "Add to my note" puts them in the note (below anything already written, never in its place) and says "Added to your note." Wrap up's Session note says "Your jot from the session is ready to add to the note: "<first words>""
- Step 4: the draft is written from the recording and the jot ("The draft was written with it.")
- Step 5: the draft leaves the jot out (a recording consent alone does not cover it, as a dictation needs AI notes consent); it is still offered by hand
Notes The jot is a clinical record: it is destroyed with the client's clinical record under the retention schedule.
Emails (2 sent)
PassedTC-P-151Waiting for the client (new)34.2s
Test script
Preconditions Logged in as test@paxpsychology.dev with a Zoom session that started a couple of minutes ago (the automated case makes one with client@paxpsychology.dev and sends Zoom's participant events itself; on staging this needs the Zoom app's participant events, see Notes)
Steps
- Start the meeting in Zoom; open Today and the session's page
- Have the client join the waiting room, then let them in
- For a session whose call can't tell us (Google Meet, Teams, a link added by hand, or Zoom before any event arrives), wait until 5 minutes after the start; click "<First>'s here"
- As the client, click "Tell <psychologist> I'm waiting" on their session
Expected
- Step 1, two minutes after the start: the now card turns into "Started <n> minutes ago", "Waiting for <First>?", "<First> hasn't joined the Zoom call yet. Send a quick message, or ring the mobile on their record. If <First> doesn't come, you can record a no-show once the session time is over." with, as available, "Message <First>: "I'm in the room when you're ready"" (Messages on; it sends that message and says "Sent. <First> will see it in Messages."), "Email <First>" (Messages off) and "Call <First> on <mobile>". Start stays on the card. The session page shows the same under "This session is on now"
- Step 2: "<First> is in the waiting room." / "Let them in from Zoom.", then, once they're in, the usual card with "<First> is in the call, since <time>." (it checks every 15 seconds). A name Zoom can't match to the client reads "Someone is in the call as "<name>"." and never claims to be them
- Step 3: from 5 to 15 minutes after the start, "Waiting for <First>?" with "If <First> isn't in the call yet, send a quick message, or ring the mobile on their record." It never says they haven't joined. "<First>'s here" puts the card back, and it stays away after a reload
- Step 4: "<First> says they're waiting." / "<First> told us at <time> they're waiting in the call. Let them in from Zoom." Running late and "can't get back in" show the same way
Notes Zoom's participant events must be subscribed in the Zoom app (Event Subscriptions on the webhook URL /api/webhooks/zoom): meeting.participant_joined, meeting.participant_left, meeting.participant_joined_waiting_room and meeting.participant_left_waiting_room. Who was in a call is kept two days, then pruned. No push notification is sent.
PassedTC-P-10Complete an appointment (client attended)28.3s
Test script
Preconditions Logged in as a psychologist with a CONFIRMED appointment whose end time has passed, booked through the normal flow so the client has a saved card. Check the detail page's Fee row reads "$<fee>, card saved" before starting: a "no card saved" session (the TC-P-27 fixture) shows the no-card copy instead
Steps
- Open the appointment detail page and click "Wrap up"
- Leave Attended chosen; under "For <First>" type a note and tick a reading
- Read the Session note and Charge sections
- Click "Complete and charge $X.XX"
Expected
- One dialog (canvas PDI-F1-Wrap), "Wrap up <First>'s session." over "<type>, <Day D Mon>, <start> to <end> on <app>." It has, in order:
- "Did <First> attend?": two cards, "Attended" ("$X.XX is charged when you complete.", chosen) and "No-show"
- "Session note", "Private to you": where the note stands ("Not written yet.", "A draft is ready to read." or "Saved.") and one button, "Write the note" / "Review the draft" / "Edit the note", that opens the Session notes workspace on top (the one notes editor; TC-P-13). "Complete now and the note waits for you in Notes to write."
- "For <First>", "Optional. Sends when you complete.": "A note to <First>" and "Reading and worksheets" (three from the library, then "Browse the library (<n> more)")
- "Next session": "<First> has nothing booked" with an unticked "Send <First> <Day D Mon> at <time> to confirm" (same time next week, held for 48 hours) and "Pick another time" (Book a session, with the client chosen), or "Booked: <Day D Mon> at <time>"
- "Charge": "Session fee, to <First>'s <Brand> •••• <last 4>" $X.XX, "Platform fee, 22% including GST" and "Comes to you", in cents
- Footer: "Save for later" (closes and keeps what you chose, in this browser) and the black "Complete and charge $X.XX"
- Completing shows a green toast "Appointment completed and payment of $<amount> charged successfully" and the dialog turns into the outcome: "Done. $X.XX charged to <First>'s card." with "$Y.YY comes to you after the platform fee.", "<First>'s receipt is on its way.", "Your note and 1 reading or worksheet are on <First>'s reading list." and, with no note saved, "The note waits in Notes to write.", then "Back to Today" and "Write the note"
- Status becomes Completed, an invoice is raised, the saved card is charged and the client is emailed
- Any failure is shown as an inline red alert inside the dialog, not a toast
Notes If the charge does not settle, the session still completes: the toast is a warning ("…could not be collected and is recorded as outstanding…") and the outcome reads "<First>'s card was declined. The session is still complete." with "Try the card again" (TC-P-35). That counts as a fail for this case: it means the saved card could not be charged. The old four-step dialog (attendance, a plain notes box, documents, confirm) is gone: documents stay on the session page.
Automated run
- Find a CONFIRMED session whose end time has passed and whose client has a saved card
- 1. Open the session and click "Wrap up"
- 2. "Did <First> attend?" Attended is chosen, and says the fee is charged on completing
- 3. Session note: one editor, which can follow. "For <First>": type a note
- 4. Charge: the fee to the saved card, the platform fee and what comes to you
- 5. Click "Complete and charge $X.XX"
- The status becomes Completed and an invoice is raised
- Email "Invoice and payment confirmation" is sent to jacinto_pacocha@paxpsychology.dev
- Email "You've been paid" is sent to test@paxpsychology.dev
PassedTC-P-11Mark an appointment as No-Show28.9s
Test script
Preconditions As TC-P-10
Steps
- Click "Wrap up"
- Choose "No-show" and read what it says
- Click "Record a no-show and charge $X.XX"
Expected
- No-show reads "The full $X.XX applies, and <First> gets a missed session email." and "For <First>" goes (nothing is sent for a no-show)
- Success toast "Appointment marked as no-show and fee of $<amount> charged"; the outcome reads "No-show recorded. $X.XX charged." with "The full fee, as for a cancellation inside 24 hours." and "No note is needed, but you can add one." The client is charged and notified. A warning toast saying the fee could not be collected is a fail
Automated run
- Find another CONFIRMED session whose end time has passed, with a card on file
- 1. Click "Wrap up"
- 2. Choose "No-show" and read what it means
- 3. Click "Record a no-show and charge $X.XX"
- The client is charged and notified, and the session reads No Show
- Email "Missed appointment" is sent to liam_mertz41@paxpsychology.dev
PassedTC-P-27Complete an appointment for a client with no saved card (new)40.2s
Test script
Preconditions An appointment created without a saved payment method (e.g. one an admin created directly, rather than a public booking)
Steps
- Click "Wrap up"
- Click "Complete without charging"
Expected
- Attended reads "No card is saved, so nothing is charged."; Charge reads "Session fee, no card saved" with "Completing charges nothing. Arrange the fee with <First>, or ask them to add a card." and no platform fee lines
- The primary button reads "Complete without charging" ("Record a no-show" on the no-show path), never "Complete and charge"
- The outcome reads "Completed. Nothing was charged." with "No card is saved, so arrange the $X.XX with <First> yourself."
- The appointment is marked complete and no invoice is created
Automated run
- Find a past CONFIRMED session whose client has no payment method on file
- 1. Click "Wrap up"
- Attended says nothing is charged, and Charge says no card is saved
- The button reads "Complete without charging" and no invoice is created
- No client receipt or payout invoice exists for the session
PassedTC-P-33Psychologist cancels an upcoming session (new)4.1s
Test script
Preconditions Logged in as payments@paxpsychology.dev. Its client Parker Cancel has two CONFIRMED sessions booked on a saved card: one inside the next 24 hours, one three or more weekdays out (the acceptance seeder sets these up every run)
Steps
- Open the session inside 24 hours at
/dashboard/appointments/[appointmentId], click "Cancel appointment" in "Change this session", read the dialog and click "Cancel Appointment" - Repeat for the session more than 24 hours out
Expected
- The dialog is "Cancel appointment?" with "Are you sure you want to cancel the <type> appointment with <client> on <date>?", a reason field, and "Keep appointment" / "Cancel appointment"
- Nothing is charged in either case: a cancellation by the psychologist is never charged to the client, inside 24 hours or not. The session reads Cancelled, no PaymentIntent is created, and no receipt or payout row is written
- So the dialog does not warn that the client will be charged, and the toast is "Appointment cancelled successfully"
- The client is emailed "Appointment cancellation: <type>" and the psychologist "Appointment cancellation: <type> with Parker Cancel"
Notes Known defect (24 Oct 2026): inside 24 hours the psychologist's dialog says "This appointment is within the 24-hour cancellation window, so the client will be charged the full session fee." and the toast says "Appointment cancelled. The full session fee has been charged.", although nothing is charged (AppointmentService.cancel only charges when the client cancels). The dialog reads the clock, not who is cancelling. The automated case checks the money for real and fails on the copy.
Automated run
- 1. (inside 24 hours) On the detail page, click "Cancel appointment" and confirm
- (inside 24 hours) Nothing is charged and no payout row is written
- 1. (more than 24 hours out) On the detail page, click "Cancel appointment" and confirm
- (more than 24 hours out) Nothing is charged and no payout row is written
- Email "Appointment Cancellation" is sent to pcancel@paxpsychology.dev
- Email "Appointment cancellation: Initial consultation with Parker Cancel" is sent to payments@paxpsychology.dev
PassedTC-P-34Block time over a booked session, then "Block and cancel" (new)3.7s
Test script
Preconditions Logged in as blocks@paxpsychology.dev, who has no time off and one CONFIRMED session next Monday at 10:00am (Casey Moves)
Steps
- On
/dashboard/appointments, click "Block time", choose "Leave", page to next Monday and pick it, set From 9:00am and To 12:00pm, add a note and click "Block time" - Read the warning and click "Block and cancel", then "Done"
- Delete the block from Settings › Availability › Time off
Expected
- Step 1: nothing is saved yet. The modal warns "1 booked appointment falls in this window. Blocking will cancel it. Press Block and cancel to confirm." and the button becomes "Block and cancel"
- Step 2: "Time blocked."; the session is cancelled with no charge, and the block is listed under Time off
- The client is emailed "Appointment cancelled: <type> (psychologist unavailable)" and the psychologist "Appointment auto-cancelled: <type> with Casey Moves"
- Step 3: "Delete this time off?", then the row is gone
Notes Known defect (24 Oct 2026): no warning appears. The block is saved straight away ("Time blocked."), and the 10:00am session stays booked inside it. findConflictingAppointments (data/availability-exceptions.ts) builds the day and the block's hours with the server's clock, which is UTC on Vercel, so a morning session in Sydney (the previous day in UTC) is never found, and the hours are read as UTC hours. TC-P-04's conflict probe has the same blind spot. The automated case fails on the missing warning, then still deletes its block.
Automated run
- 1. On Schedule, click "Block time" and choose the session's window
- 2. Read the warning and press "Block and cancel"
- The session is cancelled with no charge, and the block is in place
- Email "Appointment cancelled: Initial consultation (psychologist unavailable)" is sent to moves@paxpsychology.dev
- Email "Appointment auto-cancelled: Initial consultation with Casey Moves" is sent to blocks@paxpsychology.dev
- 3. Delete the block from Settings › Availability › Time off
PassedTC-P-35Completion when the card declines, then retry (new)24.5s
Test script
Preconditions Logged in as payments@paxpsychology.dev. Its client Robin Retry has one past CONFIRMED session booked on a card that declines every charge; Robin's default card works
Steps
- Open the session's detail page, click "Wrap up", leave Attended chosen and click "Complete and charge $X.XX"
- Reload and read the page
- Click "Retry payment"
Expected
- Step 1: the wrap-up says "<First>'s card was declined. The session is still complete." with "Try the card again", and the session completes, with the warning toast "Session marked complete. $250.00 could not be collected and is recorded as outstanding. The client has been asked to update their card. It is charged automatically as soon as they do, and they can't book again until it's paid."
- Step 2: a red "Payment not collected" alert with the reason and "Retry payment"; the session is Completed with its payment FAILED and an open receipt for the fee. Robin is emailed "We couldn't process your payment"
- Step 3: a success toast; the alert goes. The fee is charged to Robin's current default card (Stripe shows the PaymentIntent succeeded for exactly the fee), the receipt is paid, and the payout row is the fee less 22%. The psychologist is emailed "You've been paid"
Automated run
- 1. Complete the session as attended
- 2. Read the detail page
- Email "We couldn't process your payment" is sent to retry@paxpsychology.dev
- 3. Click "Retry payment"
- The retry charged the fee to the working card and paid out 78%
- Email "You've been paid" is sent to payments@paxpsychology.dev
PassedTC-P-74A completed session charges the fee and pays out 78% (new)23.3s
Test script
Preconditions Logged in as payments@paxpsychology.dev. Its client Avery Amounts has one past CONFIRMED session on a saved Visa 4242
Steps
- Open the session's detail page, click "Wrap up", leave Attended chosen, read the Charge section and click "Complete and charge $X.XX"
- Reload and read the "Your payout" panel
- Navigate to
/dashboard/earnings, find Avery's row in "All transactions" and click its "Invoice" link
Expected
- The button reads "Complete and charge $250.00" (the Initial Consultation's fee), Charge shows "Comes to you" $195.00, and the toast is "Appointment completed and payment of $250.00 charged successfully"
- Stripe shows one succeeded PaymentIntent for exactly the fee, in AUD. The client receipt is paid for the fee; the payout row is gross $250.00, platform fee $55.00 (22%), payout $195.00 (78%)
- Step 2: "Your payout" $195.00, "Session fee" $250.00, "Platform fee (22%)" $55.00
- Step 3: one row for Avery Amounts: Fee $250.00, Your payout $195.00, Paid; the invoice page opens and shows $195.00
- Avery is emailed "Invoice and payment confirmation for your session with Dr Penny Payments". The psychologist gets one email, "You've been paid: $195.00", carrying the breakdown: client "Avery", the session date, type and length, "Session fee" $250.00, "Pax Psychology fee (22% inc GST)" -$55.00 and "Net to you (78%)" $195.00, then "Tax invoice for the platform fee": supplier Pax Psychology Pty Ltd, ABN 85 643 512 305, the tax invoice number, today's date, a description, "Platform fee (inc GST)" $55.00 and "Includes GST of" $5.00. No separate "Your payout statement" email is sent
Automated run
- 1. Complete the session as attended and read the amount
- Stripe charged exactly the fee; the receipt and payout rows match
- 2. The detail page shows the payout
- 3. Earnings › All transactions has the row, and its invoice opens
- Email "Invoice and payment confirmation for your session with Dr Penny Payments" is sent to amounts@paxpsychology.dev
- Email "You've been paid: $195.00" is sent to payments@paxpsychology.dev
PassedTC-P-12Reschedule an appointment12.2s
Test script
Preconditions Logged in as a psychologist with an upcoming CONFIRMED appointment
Steps
- On the appointment detail page, click "Reschedule"
- Pick a new date under "Select new date" (the picker opens on the first month with an open day), wait for slots, and pick one under "Select new time"
- Click "Confirm reschedule"
Expected
- Dialog title "Reschedule appointment" with the description "Select a new date and time for this appointment." and sections "Current appointment", "Select new date", "Select new time"
- The date picker opens on the first month with a day you can pick: when this month has none left (Friday 30 October, with only the Saturday to go), it opens on next month, and the previous-month arrow still goes back
- The dialog is wider than before and scrolls as a single column – check there is no nested inner scrollbar
- Helper text "Please select a date first." before a date is chosen, "Selected time: <slot>" after a slot is chosen, and "No available time slots for this date." where applicable
- Errors come back as a red toast, not inline – e.g. "This time slot is no longer available. Please select a different time." when someone else has taken the slot since the list was fetched. The dialog stays open so another time can be picked
- Button "Confirm reschedule" → "Rescheduling…"; toast "Appointment rescheduled successfully"; the detail page updates and the client is emailed
Automated run
- Find an upcoming CONFIRMED appointment to reschedule
- 1. On the appointment detail page, click "Reschedule"
- 2. Pick a new date under "Select new date" (the picker opens on the first month with an open day), wait for slots, and pick one under "Select new time"
- 3. Click "Confirm reschedule"
- Email "Appointment rescheduled" is sent to moves@paxpsychology.dev
PassedTC-P-75A psychologist reschedules and both sides see the new time (new)8.2s
Test script
Preconditions Logged in as shifts@paxpsychology.dev (Dr Shay Shifts), who has one upcoming CONFIRMED session with Rowan Shifted at 11:00am, three or more weekdays out (reset every run)
Steps
- Open the session's detail page and click "Reschedule" in "Change this session"
- Pick another day and a time other than 11:00am
- Click "Confirm reschedule"
- Reload the detail page
- Sign in as
shifted@paxpsychology.devand open Sessions
Expected
- Step 3: the toast "Appointment rescheduled successfully"; the dialog closes
- Step 4: the header shows the new day and time; the session is still Confirmed
- Step 5: the client's Sessions timeline shows the session at the new time ("<Ddd h:mm am> with Shay", or "Tomorrow at <h:mm am> with Shay" inside 24 hours), and the old time is gone
- The client is emailed "Appointment rescheduled: Initial consultation" and the psychologist "Appointment rescheduled: Initial consultation with Rowan Shifted"
Automated run
- 1. On the session's detail page, click "Reschedule"
- 2. Pick another day and a time other than 11:00am
- 3. Click "Confirm reschedule"
- 4. Reload: the page shows the new time
- 5. As the client, open Sessions
- Email "Appointment rescheduled" is sent to shifted@paxpsychology.dev
- Email "Appointment rescheduled: Initial consultation with Rowan Shifted" is sent to shifts@paxpsychology.dev
PassedTC-P-13Session Notes workspace8.5s
Test script
Preconditions Logged in as test@ (AI notes on) with a past session for a client who has not consented to AI notes: Riley Notes (notes@paxpsychology.dev), whose session the acceptance seeder keeps in "Sessions to complete" (press "Show <k> more" until it appears: the queue lists the oldest 10 first). (client@ has AI-notes consent from the demo seed, so its sessions open on dictation instead, which the AI-notes tests cover.)
Steps
- On the appointment detail page click "Write session notes" (or "Edit session notes" if notes already exist)
- Read the AI-notes consent card, type notes by hand, optionally add a note to the client and assign a reading
- Click "Save notes" / "Save & send"
Expected
- A wide dialog (a bottom sheet on a phone) headed "Session notes" with the sub-line "<client>, <session type>, <Fri 23 Oct>, <n> min"
- The left column leads with "AI-assisted notes need <First>'s consent", explaining that dictation is off for this client and notes can still be written by hand, with "Send consent request" and "Record verbal consent" buttons. (A practice without AI notes sees a "Template" select (SOAP note, DAP note, Progress note, Blank) and a "Draft from transcript" action instead. With notes already typed, that action never replaces them silently: it asks "You've already written notes." with "Keep my notes", "Replace my notes" and "Add below my notes".)
- The notes textarea is labelled "Your notes (private)" with the placeholder "Write your note, or dictate it after the session…" and the standing line "Clinical notes stay private to you. Never shared with the client."
- A separate optional "Note to <First> (optional)" field and an "Assign reading" column ("Assign reading and worksheets" when worksheets are on; "Lands in <First>'s reading list when you save.") with tick cells and "Browse the full library": these, not the notes, are what the client sees
- The footer status reads "Notes stay private to you" or "<n> items to share with <First>"; the success screen reads "Notes saved." with a "Done" button
- Anything assigned appears on the client's Reading list (TC-C-33)
- A note to the client with nothing assigned is not dropped: the footer reads "Your note goes to <First>'s reading list; your clinical notes stay private", the button reads "Save & send", and the client's Reading list gets "A note from <psychologist first name>", the note shown under "<name> sent you this on <date>"
Notes This case replaces the old "Add/edit session notes and toggle sharing". The "Share notes with client" switch is retired – clinical notes are always private, so there is no Lock/Unlock indicator and no "These notes are shared with the client" state to check any more. Sharing is now done through the separate "Note to <client>" field and assigned readings, which land on the client's Reading list rather than on their appointment page.
Automated run
- Open Riley Notes's session (a client without AI-notes consent)
- 1. Click "Write session notes" (or "Edit session notes" if notes already exist)
- 2. Read the AI-notes consent card, type notes by hand, add a note to the client and assign a reading
- 3. Click "Save notes" / "Save & send"
- Notes: the "Share notes with client" switch is retired
PassedTC-P-39Clinical notes stay private; shared notes reach the client (new)24.8s
Test script
Preconditions privacy@paxpsychology.dev (Pat Privacy) has two completed sessions with test@paxpsychology.dev: one whose notes are private ("Fixture private clinical note: formulation, never shown to Pat.") and one whose notes are shared with her ("Fixture note shared with Pat: practise the box breathing.")
Steps
- As
test@, open the session with private notes - Sign in as Pat and open Home, Sessions (Past), both sessions' detail pages, Your psychologist and Reading list. Look at the page and at its source (View Source, which includes the data the page was sent)
- Read "Notes and documents" on the session with private notes
- Read "Notes and documents" on the session with shared notes
Expected
- Step 1: the psychologist sees the private note on the session
- Step 2: the private note appears on none of Pat's pages, and in none of their HTML or data
- Step 3: no "Session notes from Emily"; only the line saying nothing was shared
- Step 4: "Session notes from Emily" with the shared note
Notes Known defect (24 Oct 2026): the client's Sessions list (/dashboard/appointments; one query serves both tabs) sends every column of each appointment to the browser, including the private notes (and the transcript and sessionRecap columns when there are any). They are not shown, but they are in the page's data, readable with View Source. getAppointmentsPageCached in data/appointments.ts uses include (every scalar) and the rows go straight into the client component. The automated case fails on the Sessions page.
Automated run
- 1. As test@, the private note is on the session (the fixture is real)
- 2. As the client, the private note is on no page
- 3. The session with private notes says nothing was shared
- 4. The shared note is on its session, under the psychologist's name
PassedTC-P-61Upload, share, unshare and delete an appointment document (new)18.0s
Test script
Preconditions Logged in as a psychologist; any of their appointments. Have a PDF over 1 MB to hand (up to 10 MB)
Steps
- Open
/dashboard/appointments/[appointmentId]and click "Upload document" on the Documents card - Choose the PDF, type a description, turn on "Share with client" and click Upload
- Click the document's "Shared" button, then reload the page
- Click the document's delete (bin) button and confirm "Delete"
Expected
- While it uploads the button reads "Uploading…"; then the dialog closes, the toast "Document uploaded successfully" appears and the document is listed with its size, date and a "Shared" button
- Files over 1 MB upload (they go straight to private storage, not through the page); a file that isn't really a PDF, Word document or image is refused with "File content does not match an allowed document type" and the dialog stays open with no success toast
- "Shared" flips to "Private" at once with the toast "Document is now private", and it is still "Private" after the reload
- Deleting shows "Document deleted successfully" and the row disappears
Notes Unsharing used to leave the document shared (the server read the posted "false" as true), the dialog said "uploaded successfully" even when the upload failed, and files over 1 MB failed. All three are fixed.
Automated run
- Open an appointment and its upload dialog
- Pick a 1.5 MB PDF, tick "Share with client" and click Upload
- Click "Shared" to make it private; it stays private after a reload
- Delete it
2D. Client Management
2 passed 1 skipped by design
PassedTC-P-14View the clients list10.0s
Test script
Preconditions Logged in as a psychologist with at least one client
Steps
- Navigate to
https://paxpsychology.dev/dashboard/clients - Search for a client, then try each status tab
- Click a row
- Close the drawer and click "Export"
Expected
- H1 "Clients", sub "<n> clients. None has a session booked right now." (or "<n> clients. <k> with a session booked."), an "Export" button in the header, a search box (placeholder "Search by name or email") and status tabs "All", "Active", "New", "Paused"
- Table columns: "Client", "Last session", "Sessions", "Next" ("Nothing booked" when empty) and "Status" with "Active" / "New" / "Paused" chips; on a phone only Client and Status show, with "<n> sessions, next …" under the email
- A "<n> clients" line under the table (page controls once there are more than 10)
- Empty state "No clients found." (or "No clients found matching your search.")
- Clicking a row opens a drawer with "View full profile", "Book session" and "Notes" actions and sections "Mood check-ins", "Shared journal entries", "Session history". "Book session" opens "Schedule a session" with this client already selected (TC-P-60)
- "Export" downloads
pax-clients-<YYYY-MM-DD>.csvand toasts "Exported <n> clients.". It holds every client on your list (all pages and statuses), with the columns Name, Email, Mobile, Status, Sessions, First session, Last session and Next session (dates in your timezone). It has no clinical content: no notes, session types, mood check-ins, journal entries, referrals or plans
Notes The old Name / Email / Mobile / Referring Doctor columns have been replaced.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/clients
- 2. Search for a client, then try each status tab
- 3. Click a row
- Notes: the old Name / Email / Mobile / Referring Doctor columns are gone
- 4. Click "Export"
PassedTC-P-15View the client detail page6.2s
Test script
Preconditions As above
Steps
- From the drawer click "View full profile" (or go to
/dashboard/clients/[id]) - Work through each tab
Expected
- A "Clients" back link, H1 = the client's name and the line "<email>, <mobile>, Adult account, client since <Mon YYYY>" (or "Minor account"); "Email" and "Message" buttons
- KPI tiles "Sessions", "Upcoming" ("Nothing booked" or "Next <date>"), "Total paid" and "Mood check-in" (the latest mood, or "None")
- Tabs "Overview", "Sessions", "Payments", "Notes", "Documents" (plus "Assessments" and "Homework" when that flag is on, which is off on staging)
- Overview: "Shared journal", "Client information" (with "Referred by", "Clinic" and "Provider no." where a referral is recorded) and "Recent sessions" with an "All sessions" link to the Sessions tab
- Sessions: "Every session with <first name>" table (Date and time, Type, Length, Status, View); Payments: table (Session, Charged, Amount, Status, View invoice)
- Empty tabs show a panel such as "No notes yet." with its action ("Add note", "Upload document", "Assign assessment", "Assign homework"). "Assign homework" opens a dialog over the tab ("Homework" picker, "Due date (optional)", "Cancel" and "Assign homework"), not a separate page
Automated run
- 1. From the drawer click "View full profile"
- H1 is the client's name, with the email, mobile, account and "client since" line
- KPI tiles "Sessions", "Upcoming", "Total paid", "Mood check-in"
- 2. Work through each tab
Skipped by designTC-P-62Mental Health Treatment Plan GP email and a discharge report (new)16.1s
flag off on staging: the MHTP card is behind FEATURE_MHTP_ENABLED
Test script
Preconditions FEATURE_MHTP_ENABLED on (it is off on staging, so this case reports "blocked" there); logged in as a psychologist; a client with no plan this year
Steps
- On the client's profile click "Add Mental Health Plan", fill GP Name, GP Clinic Name, GP Provider Number, GP Email and Referral Date, and click "Create MHTP"
- Click "Edit" on the plan card
- Clear GP Email, click "Update MHTP", reload and click "Edit" again
- Open "GP reports" › "Discharge", click "Generate report" with the fields empty, then fill Treatment Summary, Treatment Outcomes and Future Care Recommendations, pick "Other reason" and click "Generate report"
- Clean up: delete the report ("Report actions" › Delete) and the plan ("More options" › Delete › "Delete MHTP")
Expected
- Creating shows the toast "Plan created" and the card shows the plan
- The edit form shows the GP email that was entered (it used to be dropped on save); after clearing it and saving, it stays empty
- Empty discharge fields show "Treatment summary is required", "Outcomes summary is required" and "Future recommendations is required"; filled in, the report is created with one toast, "Discharge report created successfully", and is listed under GP Reports
- The report's PDF lists the treating psychologist with the provider number and "Correspondence: Pax Psychology, info@paxpsychology.com.au", never a practice address or the psychologist's phone (the referral acknowledgment and progress report do the same). The email to the GP asks them to contact the psychologist through Pax Psychology at info@paxpsychology.com.au, with no phone number
Notes The discharge report could never be submitted before (its fields are named dischargeData.* but the browser checked them against a flat schema), and its success toast fired during rendering. "Treatment goals achieved" marks the plan COMPLETED, so the script uses "Other reason".
Automated run
- Open a client with no plan, and add one with a GP email – failed
2E. Invoices
3 passed
PassedTC-P-16View the psychologist invoices list12.1s
Test script
Preconditions Logged in as a psychologist with invoices
Steps
- Navigate to
https://paxpsychology.dev/dashboard/earningsand scroll to All transactions, below the three totals - Search, then use the status tabs
Expected
- Section headed "All transactions" with the status tabs "All", "Paid", "Unpaid", "Void" beside it; the chosen tab is underlined and the list filters to it
- Columns "Client", "Session" ("23 May, Brief session"), "Fee" (the session fee), "Your payout" (net of the platform fee) and "Status" (Paid / Unpaid chip)
- Search placeholder "Search by invoice ID, client name or email…"
- Each row ends with an "Invoice" link to the detail page and a "⋯" menu (View Details, Resend)
- With no invoices at all the section is not shown (the Earnings summary says "Nothing billed yet")
- Under the table: "Showing 1–10 of N", with "Previous" / "Next" past 10 items
Notes The list used to be its own page at /dashboard/invoices. That page is gone: a psychologist or admin visiting it gets the not-found page, and a client is still sent to their Sessions page (TC-C-24).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/earnings and scroll to All transactions
- 2. Search, then use the status tabs
- Rows carry an "Invoice" link and a "⋯" menu, and paging appears past 10 items
PassedTC-P-17Invoice detail and resend13.6s
Test script
Preconditions Logged in as a psychologist with at least one payout invoice
Steps
- From All transactions on
/dashboard/earnings, click "Invoice" on a row - Click "Resend invoice" and confirm
Expected
- Detail page: a "← Earnings" back link, H1 = the invoice number (or "Invoice #<stripeInvoiceId>") with a status pill ("Paid" / "Unpaid", the same word as the session page and the client record), and the line "<Session type> with <client>. Paid on <date>. Created <D Month YYYY>." (or "Due <date>.")
- Sections "Payment" (Session fee, Platform fee, Your payout, and "Total charged to the client: $…, due <date>"), "Client", "Provider" (no practice address), a folded "Reference numbers" (invoice and Stripe ids), and the invoice document when Stripe has one
- "Resend invoice" opens a confirm dialog titled "Resend invoice?" with the body "This will send a new copy of the invoice to <client> at <email>. The client will receive an email with the invoice details and payment link."
- Button shows "Resending…"; toast "Invoice has been resent to <client> at <email>" (failure: "Failed to resend invoice. Please try again.")
- Verify this works from a payout invoice, not just a client invoice – this is a fix landing in this build
Notes A payout invoice's own id is always synthetic, so the button is answered from the client invoice behind it. Pick a payout row whose session was actually invoiced through Stripe (a real in_… id); rows keyed on a PaymentIntent (pi_…, cancel_…) or on an in-app Medicare invoice (inv_…) correctly show a disabled "Resend unavailable" – that is not the bug. If the first row you open is unavailable, try another.
Automated run
- 1. From the All transactions list on /dashboard/earnings, click "Invoice" on a row
- The detail page shows the back link, created date, invoice number, status pill and its sections
- 2. Click "Resend invoice" and confirm
PassedTC-P-141Download last month's tax invoice for the Service Fee (new)3.7s
Test script
Preconditions Logged in as payments@paxpsychology.dev with a session fee paid last month (the automated case writes a paid $220 one, and deletes it and the month's invoice afterwards)
Steps
- Navigate to
/dashboard/earnings - Under "Tax invoices for the Service Fee", click "Download PDF" for last month, then download it again
Expected
- Step 1: a panel "Tax invoices for the Service Fee": "Our Service Fee is 20% of each session's fee plus GST. Download a month's tax invoice for your records or your BAS. A month's invoice is ready once the month ends." One row per ended month with a paid session (the last 24), newest first: "<Month yyyy>" (with its number, "SF-000123", once issued), "<n> sessions, Service Fee $<fee> including GST of $<gst>" and "Download PDF" (
aria-label"Download PDF, the tax invoice for <Month yyyy>") - Step 2: a PDF titled "Tax invoice" with a number "SF-<six digits>", the date and "Period: <Month yyyy>"; From "Pax Psychology Pty Ltd, ABN 85 643 512 305, Registered for GST"; To the psychologist's name, business name and ABN; "Service Fee for <Month yyyy>: 20% of the Client Revenue plus GST" and a row per session (date and client first name, the session type, Client Revenue, Service Fee, GST, Total: $220.00, $44.00, $4.40, $48.40), then the totals ("Service Fee before GST", "GST", "Total including GST"). Dates are in the psychologist's zone; sessions sit in the month their fee was paid
- The second download is the same invoice with the same number; numbers are unique and run in order of issue. The current month answers "This month's tax invoice is ready once the month has ended." (409) until it ends
Notes The invoice is issued the first time it is downloaded and kept as issued (agreement clause 4.4). An admin viewing as the psychologist can download one already issued but never issues one.
Automated run
- 1. Open Earnings
- 2. Click "Download PDF" for October 2026
- This month's invoice isn't ready yet
2F. Settings and Connections
25 passed 5 manual 1 retired
PassedTC-P-18Edit a session type11.8s
Test script
Preconditions Logged in as a psychologist with at least one session type
Steps
- Navigate to
/dashboard/settings?section=appointment-types - Click "Edit" on a session type
- Change the Fee (AUD) to
250.00, the Length to1 hour, and the Description - Click "Save session type"
- Rename the session type: its booking URL follows the new title and the old one is gone. Edit it again, change the Title (e.g. add
Renamed), save, then in a signed-out window open the old and new booking URLs
Expected
- The list reflects the new fee and duration
- Future bookings for this type use the new values
- "Cancel" returns to
/dashboard/settings?section=appointment-types - Saving without changing the title keeps the booking URL
- After the rename,
/book/emily-thompson/<new title as a slug>shows the session type, and the old/book/emily-thompson/<old title as a slug>shows the 404 page ("This one's wandered off."). There is no redirect from the old URL (pre-launch, removed pages just 404)
Automated run
- 1. Navigate to /dashboard/settings?section=appointment-types
- 2. Click "Edit" on a session type
- 3. Change the Fee (AUD) to 250.00, the Length to 1 hour, and the Description
- 4. Click "Save session type"
- "Cancel" returns to /dashboard/settings?section=appointment-types
- 5. Rename the session type: its booking URL follows the new title and the old one is gone
PassedTC-P-19Connect a calendar4.8s
Test script
Preconditions Logged in as calendar@paxpsychology.dev (nothing connected). The deployment runs the fake calendar providers (CALENDAR_FAKE_PROVIDERS=true), so "Google" is a stand-in hosted by Pax Psychology consent screen with Allow and Deny links
Steps
- Navigate to
https://paxpsychology.dev/dashboard/connections - Click "Google", then "Continue to Google"
- On the consent screen choose "Deny"
- Click "Try again", "Continue to Google", then "Allow"
Expected
- Connections is in the sidebar under Practice. The "Calendars" card says "Connect the calendar you already use, and we'll keep your booking page in step with it.", with "Busy times block bookings, automatically." and "Pax Psychology sessions in your calendar, if you like.", then "Choose where your calendar lives" with Google (Gmail or Google Workspace), Microsoft (Outlook or Microsoft 365) and Apple (iCloud), and "Pax Psychology only sees when you're busy." Zoom, Google Meet and Microsoft Teams are in the "Video" card below it (TC-P-100)
- Step 2 opens "Connect Google Calendar." listing what "Pax Psychology will be able to" do and what "We won't" do ("Read event titles, notes or guests", "Change or delete anything you made yourself") and the tip "Leave every box ticked on Google's screen." Microsoft's version explains "full access to your calendars" and IT approval. On a phone both are bottom sheets
- Step 3 returns to Connections with an inline alert (not a toast): "Google didn't give Pax Psychology access." and "Try again". An account already linked to another Pax Psychology login shows "That Google account is already connected to another Pax Psychology account." with "Use another account" and "Contact us"
- Step 4 shows the toast "Google Calendar connected. Tick the calendars we should check." and a "Google Calendar" card: the account, "Connected", "Last synced … Changes in Google show up within a minute.", "Check these calendars for conflicts" with a tick per calendar, "Sync now" and "Disconnect", then "Add another calendar" (+ Google, + Microsoft, + Apple) and the "Your Pax Psychology sessions" card
Notes The real Google and Microsoft consent screens need real accounts and a second factor; with the fake off, check them by hand. The old /dashboard/settings/calendars URL is not found (see TC-P-22).
Automated run
- 1. Navigate to /dashboard/connections
- 2. Click "Google", then "Continue to Google"
- 3. On the (fake) consent screen choose "Deny"
- 4. "Try again", "Continue to Google", "Allow"
PassedTC-P-90Choose which calendars are checked for conflicts6.1s
Test script
Preconditions TC-P-19 done (calendar@ has the fake Google connected)
Steps
- Open Connections and look at "Check these calendars for conflicts"
- Untick "Family" and reload
- Tick "Family" again and reload
Expected
- The main calendar ("Your main calendar") and "Family" ("Your calendar") start ticked; "Holidays in Australia" ("All-day public holidays. Tick to block those days.") and "Clinic roster (shared)" ("Shared with you, read only") start unticked
- Each tick saves as soon as it changes and survives a reload
- Only busy events in ticked calendars block bookings; events marked free never do
Automated run
- 1. The connected Google card lists its calendars with their default ticks
- 2. Untick "Family", reload
- 3. Tick "Family" again
PassedTC-P-91A busy event in a connected calendar blocks a time2.8s
Test script
Preconditions TC-P-19 done. A weekday about a week out with 10:00 free
Steps
- Check the 10:00 time is offered on that day (booking page or
/api/v1/psychologists/cara-calendar/availability?date=<day>&duration=60) - Add a busy event 10:00 to 11:00 that day to the Google calendar (fake:
POST /api/dev/calendar-fakewithaction: "seed") - Check the times again
- Open the Schedule on that day and click the busy block
Expected
- After step 2, 10:00 is no longer offered
- The Schedule shows a hatched "Busy (Google)" block, "10:00 to 11:00 am", never the event's title; the header adds "Your calendars are keeping 1 other time off your booking page."; under the toolbar "Checking Google (…). Synced … ago." with "Calendar settings"; a "Calendar busy times" switch hides the blocks; the legend adds "Busy in your calendars"
- The popover reads "Busy in Google", the day and time, "From your <calendar> calendar, <account>. Clients can't book this time." and "We don't see what the event is. To free this time, change it in Google."
- On a phone (Agenda) the same time is a "Busy (Google)" row with the calendar's name
Automated run
- 1. The 10:00 time is bookable before the event
- 2. Add a busy event 10:00 to 11:00 to the Google calendar
- 3. The 10:00 time is no longer offered
- 4. Open the Schedule on that day: a Busy (Google) block, no title
PassedTC-P-92A busy time over a booked session is flagged as a clash3.2s
Test script
Preconditions TC-P-19 done. calendar@'s seeded session with Casey Moves (three or more weekdays out, 11:00)
Steps
- Add a busy event 11:20 to 12:00 on the session's day to the Google calendar
- Open the Schedule on that day
- Click "It's fine", then reload
Expected
- The session block is marked "Clash" (red outline) and shares its slot with the busy block. Below the grid: "Casey's session clashes with a busy time." and "<day>: the session is 11:00 am to 12:00 pm, and something in Google starts at 11:20 am. We won't move or cancel it. Reschedule with Casey, or leave it if it's fine.", with "Reschedule" (opens the session) and "It's fine"
- After "It's fine" the flag goes and stays gone after a reload; the busy block stays. A different busy time over the same session flags again
- Pax Psychology never moves or cancels the session itself
Automated run
- 1. Add a busy event 11:20 to 12:00 on the session's day
- 2. Open the Schedule on that day
- 3. Click "It's fine" and reload
- Clean up: clear the fake calendar's events
PassedTC-P-93Add Pax Psychology sessions to a calendar3.3s
Test script
Preconditions TC-P-19 done
Steps
- In "Your Pax Psychology sessions", check nothing has been added yet
- Turn on "Add to my calendar" and choose the main calendar under "Add your sessions to"
- Look at the calendar (fake:
GET /api/dev/calendar-fake?provider=GOOGLE,written) - Choose "“Busy” only"
- Choose "“Pax Psychology” and the client's first name" again
Expected
- Nothing is written until a calendar is chosen ("Nothing is added until you choose a calendar."). Read-only calendars are not offered. With two connections the list is grouped by account, and only one calendar ever takes sessions ("One calendar only, so sessions never show up twice.")
- Step 2's toast: "Your sessions will be added to that calendar". The upcoming session appears in the calendar as "Pax Psychology: Casey", with the time and a sign-in link to the session, no surname, type, contact details or notes
- "How it looks in your calendar" previews the event. Step 4 changes the preview and the written event to "Busy"; step 5 changes them back
- A session the psychologist booked that the client hasn't confirmed is written as tentative
Automated run
- 1. Under "Your Pax Psychology sessions", nothing is added yet
- 2. Turn on "Add to my calendar" and choose the main calendar
- 3. The upcoming session is written as Pax Psychology: <first name>
- 4. Choose "Busy" only
- 5. Back to "Pax Psychology" and the first name
PassedTC-P-94A broken calendar connection shows on Today until reconnected6.5s
Test script
Preconditions TC-P-19 and TC-P-93 done
Steps
- Make Google refuse Pax Psychology's access (fake:
action: "expire-token", thenaction: "fail"withoperation: "refresh"andstatus: 400), then load any booking times - Open Today
- Open Connections
- On Today click the X ("Hide this until tomorrow") and reload
- On Connections click "Reconnect Google", "Continue to Google", "Allow"
Expected
- Today (and the Schedule) open with "Your Google calendar disconnected." "Reconnect so clients can't book over your other commitments. Busy times from <account> stopped coming through on <date>.", "Reconnect" and the X
- The sidebar Connections item carries an orange dot
- The Google card reads "Needs reconnecting", "Busy times from this calendar aren't blocking bookings." and why, with "Reconnect Google". "Your Pax Psychology sessions" says "Paused until you reconnect Google. Sessions booked meanwhile are added when you do."
- After step 4 the banner stays hidden for the rest of the day (the dots stay)
- After step 5 the card is "Connected" again with its ticks as they were, and the banner and dots are gone
- An email "Your Google calendar disconnected" goes out when it breaks (with the account, calendars and when it stopped), and one reminder after 3 days
Automated run
- 1. Make Google refuse Pax Psychology's access (fake: expired token, refresh refused)
- 2. Open Today
- 3. Connections shows the dot and Needs reconnecting
- 4. Today: "Hide this until tomorrow", reload
- 5. Connections: "Reconnect Google", "Continue to Google", "Allow"
PassedTC-P-95Connect iCloud with an app-specific password, then disconnect8.5s
Test script
Preconditions TC-P-19 done. With the fake on, the app-specific password fake-fake-fake-fake connects a fake iCloud; an email starting wrong is refused
Steps
- Click "+ Apple" under "Add another calendar"
- Enter
wrong.cara@icloud.comandfake-fake-fake-fake, click "Connect iCloud" (the fake refuses awrongemail; another password would go to the real iCloud) - Enter
cara@icloud.comandfake-fake-fake-fake, click "Connect iCloud" - On the iCloud card click "Manage", "Disconnect", then "Keep it connected"
- Click "Disconnect" again and confirm
- On the Google card click "Disconnect", tick the "Also remove" box and confirm
Expected
- Step 1 opens "Connect iCloud Calendar." with the four steps (a link to account.apple.com), "Apple ID email", "App-specific password" ("Four groups of four letters. Not your Apple ID password.") and "We encrypt it …". A bottom sheet on a phone
- Step 2 keeps the dialog open with "Apple didn't accept that email and password." and the password field marked
- Step 3 closes it with the toast "iCloud Calendar connected. Tick the calendars we should check." The iCloud card starts collapsed: "Checking 2 of 3 calendars for conflicts" and "Manage". Its line says "We check iCloud every 10 minutes."
- The disconnect confirm reads "Disconnect iCloud Calendar?", "Busy times from <account> will stop blocking bookings straight away. Clients could then book over those times.", an unticked "Also remove …" box ("Leave this unticked to keep them there. They just won't update any more."), "Your sessions in Pax Psychology don't change, and nothing is cancelled.", "Keep it connected" and a red "Disconnect"
- With sessions written, the box names them: "Also remove the 1 upcoming Pax Psychology session from your <calendar> calendar". Toasts: "iCloud Calendar disconnected", "Google Calendar disconnected"; the page is back to the empty state
Automated run
- 1. "Add another calendar": Apple
- 2. A refused password stays in the dialog
- 3. Email cara@icloud.com, password fake-fake-fake-fake
- 4. Disconnect iCloud: "Manage", "Disconnect", "Keep it connected"
- 5. Disconnect iCloud and confirm
- 6. Disconnect Google, ticking "Also remove"
PassedTC-P-103Google Meet uses the Google calendar connection, makes one real event, and never a made-up link (new)15.3s
Test script
Preconditions proposes@ with no Google calendar connected, and the fake Google on (CALENDAR_FAKE_PROVIDERS=true). A Google Meet session type for proposes@ (the automated run adds an active one and removes it after). confirms@ with its saved card
Steps
- Book
confirms@into a Google Meet session and try to confirm it as the client - As
proposes@, open Connections and connect Google (fake consent, "Allow") - Make Google refuse the next meeting (fake:
POST /api/dev/calendar-fake{ "provider": "GOOGLE", "action": "fail", "operation": "createMeetingEvent", "status": 403 }), then book and confirm a second Google Meet session the same way - Book and confirm a third Google Meet session the same way
- Look at the calendar (fake:
GET /api/dev/calendar-fake?provider=GOOGLE,written)
Expected
- Step 1: the confirmation is refused with "This session can't be booked right now. The psychologist needs to connect their video provider first." (the video provider gate, TC-P-111). The session stays unconfirmed with no video link at all
- Signing in with Google (without connecting the calendar) doesn't make Meet work: Meet reads only the Google calendar connection
- Step 3: the session is booked but has no video link (never a
meet.google.comaddress that isn't a meeting).proposes@gets "Action required: video call setup failed for Cam Confirms", which says to reconnect Google Calendar in Connections, with a button to that page. Ops get the "Video call setup failed" Slack alert - After step 4 the session's link is the Meet on its calendar event (fake:
https://fake-meet.paxpsychology.dev/…) - Step 5 shows exactly one event for that session, carrying the Meet, with no guests (Pax Psychology's own emails carry the link). With "Add to my calendar" on for a Google calendar, the Meet is on that same event, never a second one. Rescheduling moves the event; cancelling deletes it
Notes Before the video provider gate (TC-P-111) step 1 booked the session and sent the setup-failed email; the gate now refuses it, so step 3 makes Google itself fail to show that email.
Automated run
- 1. With no Google calendar connected, a Google Meet session can't be confirmed, so it never gets a link
- 2. Connect Google Calendar (fake consent, Allow)
- 3. When Google won't make the Meet, the session has no link and the psychologist is told
- Email "Action required: video call setup failed" is sent to proposes@paxpsychology.dev
- 4. The next Google Meet session gets a real Meet on one calendar event
PassedTC-P-99Connections is in the sidebar; Settings has no Calendars or Account actions (new)4.5s
Test script
Preconditions Logged in as test@paxpsychology.dev
Steps
- Click "Connections" in the sidebar
- Open Settings
Expected
- Connections (
/dashboard/connections) has the "Calendars" card and the "Video" card (Zoom, Google Meet and, when offered, Microsoft Teams, each with its state) - The Settings nav has no "Calendars" and no "Account actions"
Automated run
- 1. Open the dashboard and click Connections in the sidebar
- 2. Open Settings
ManualTC-P-100Connect Zoom from Connections and land back there (new)6.3s
Zoom's own consent screen needs a real Zoom account, so the run checks the hand-off (the authorize URL and its callback) and the stand-in Zoom stands in for the account after it.
Test script
Preconditions Logged in as gate@paxpsychology.dev with no Zoom connected (the automated run removes the stand-in Zoom first). A real Zoom account for the consent screen
Steps
- Open Connections and click "Connect Zoom"
- Approve on Zoom's screen
Expected
- Before connecting, Zoom reads "Not connected. Connect your own Zoom account to offer Zoom sessions."
- Step 1 goes to Zoom's consent screen (
zoom.us/oauth/authorize, returning to/api/integrations/callback/zoom) - Back on Connections: the toast "Zoom connected" and Zoom reads "Connected (<account>). Zoom sessions get a meeting link from your own account."
Notes The automated run checks the hand-off and puts the stand-in Zoom back for the second half (Zoom's own screen needs a real account). Started from setup's Video and calendar step, the same connection comes back to /setup/connections instead (TC-P-126).
Automated run
- 1. Open Connections and click "Connect Zoom"
- 2. Back on Connections after Zoom says yes
PassedTC-P-101Zoom consent refused shows Didn't connect and Try again (new)2.9s
Test script
Preconditions Logged in as gate@paxpsychology.dev
Steps
- Click "Connect Zoom" (or "Reconnect Zoom") and press Cancel on Zoom's screen (the automated run opens
/api/integrations/callback/zoom?error=access_denied, which is where Zoom sends you) - Click "Try again"
Expected
- Back on Connections, an inline alert (not a toast): "Zoom didn't connect." "You may have pressed Cancel on Zoom's screen. Nothing was changed." with "Try again" and "Dismiss"
- "Try again" goes back to Zoom's consent screen
Automated run
- 1. Come back from Zoom having pressed Cancel
- 2. Click "Try again"
ManualTC-P-102A broken Zoom connection shows Needs reconnecting; reconnecting adds missing links (new)19.2s
Reconnecting goes through Zoom's own consent screen, so the run checks the count and the hand-off; that reconnecting adds the missing links is unit-tested (lib/video-call/backfill.ts).
Test script
Preconditions gate@'s Zoom stops working (the automated run marks the stand-in Zoom expired) and its upcoming session has no link
Steps
- Open Today, then the Schedule
- Open Connections
- Click "Reconnect Zoom" and approve on Zoom's screen
Expected
- Like a broken calendar (TC-P-94), Today and the Schedule open with "Your Zoom connection stopped working." ("Clients can't book your Zoom sessions until you reconnect. Sessions already booked keep their links.") and a "Reconnect Zoom" button to Connections; the sidebar's Connections item has a dot; and the next calendar-sync cron run emails "Your Zoom connection stopped working" (once, with one reminder three days later if it is still broken, whatever the email preferences)
- Zoom reads "Needs reconnecting. Zoom stopped letting Pax Psychology make meetings, so your Zoom sessions aren't taking bookings." with "1 upcoming session has no link yet. Reconnecting adds them." and "Reconnect Zoom"
- After reconnecting, the session gets its Zoom link without anyone rebooking
Notes The automated run checks the count and the hand-off to Zoom; adding the missing links is unit-tested (lib/video-call/backfill.ts). Google Meet and Teams do the same when their calendar is reconnected.
Automated run
- 1. Open Today, then the Schedule
- 2. Open Connections
- 3. Click "Reconnect Zoom"
PassedTC-P-104The session type form only offers connected video providers (new)5.7s
Test script
Preconditions Logged in as gate@paxpsychology.dev (Zoom connected, no Google calendar)
Steps
- Navigate to
/dashboard/settings/appointment-types/add - Edit "Meet session"
Expected
- Under "Video call", Zoom can be chosen; Google Meet is greyed out and marked "(not connected)", with "Only providers you've connected can be chosen. Connect another in Connections"
- With nothing connected the form says "Connect a video provider first, so clients can book this session type. Open Connections", and saving a provider that isn't connected is refused
- "Meet session" keeps Google Meet, with "Google Meet isn't connected, so clients can't book this session type until you connect it in Connections."
Notes Setup's Sessions and fees step follows the same rule: without a connected provider its presets wait as drafts and become session types when one connects (TC-P-127).
Automated run
- 1. Navigate to /dashboard/settings/appointment-types/add
- 2. Edit the Meet session
PassedTC-P-105Default for new session types is set in Connections (new)5.2s
Test script
Preconditions Logged in as gate@paxpsychology.dev
Steps
- Open Connections and, under "Default for new session types", choose Zoom and click "Save"
- Add a session type
Expected
- "New session types use" lists only providers that are connected (here, Zoom); the toast "Default saved"
- The new session type form starts on Zoom. Nothing is chosen for you when nothing is connected (there is no silent default)
Notes Setup's presets take this default too, or the first connected provider (TC-P-127).
Automated run
- 1. Open Connections, "Default for new session types"
- 2. Add a session type
ManualTC-P-106The calendar email links to Connections (new)3ms
Needs the real email in an inbox: open the 'Your Google calendar disconnected' email from TC-P-94 and check its button opens Connections. The link itself is unit-tested.
Test script
Preconditions TC-P-94 (a broken Google calendar) sent "Your Google calendar disconnected"
Steps
- Open the email and click its button
Expected
- The button opens Connections (
/dashboard/connections), where "Reconnect Google" is.
Notes Manual in the automated run (it needs the real inbox); the link is unit-tested.
ManualTC-P-108A Teams session type makes a real Teams link from a work account; a personal Microsoft account is refused clearly (new)1ms
Needs a real Microsoft 365 work or school account (and Teams on in VIDEO_PROVIDERS_ENABLED). The personal account refusal is unit-tested.
Test script
Preconditions Microsoft Teams offered (teams in VIDEO_PROVIDERS_ENABLED). A Microsoft 365 work or school account, and a personal Microsoft account (outlook.com)
Steps
- Connect the work account's calendar on Connections, set a session type to Microsoft Teams and book it
- Repeat with the personal account
Expected
- With the work account the session gets a real Teams link on its calendar event (one event, not two)
- With the personal account, Teams reads "Microsoft Teams needs a work or school Microsoft account. The Microsoft calendar connected above is a personal one." and Teams session types don't take bookings
Notes Manual: needs a real Microsoft tenant.
PassedTC-P-109The session type form and Connections show the AI notes disclaimer for Meet and Teams (new)7.8s
Test script
Preconditions AI notes on (off on staging), logged in as gate@
Steps
- Open Connections
- Edit "Meet session"
Expected
- Zoom reads "AI session notes: sessions can be recorded"; Google Meet "AI session notes: not available. AI session notes can't record Google Meet sessions." and Teams "AI session notes: not yet." (until the organisation approves Teams recordings, TC-P-110; then "AI session notes: available")
- The form shows the same disclaimer under "Video call" for Google Meet and Teams
Automated run
- 1. Open Connections
- 2. Edit the Meet session
PassedTC-P-110A consented Teams session is recorded and drafted into AI notes (new)5.5s
Test script
Preconditions AI notes on (off on staging, so automated locally on the fake Microsoft provider: CALENDAR_FAKE_PROVIDERS=true, teams in VIDEO_PROVIDERS_ENABLED). Logged in as test@ with a work or school Microsoft calendar connected, and client@ consented to session recording
Steps
- Open Connections and look at Microsoft Teams
- Click "Check again"
- Click "Allow recordings" and approve the permission on Microsoft's screen
- Open an upcoming Teams session and click "Join video call"
- Turn on "Record this session" and click "Join session"
- After the session ends, wait for the AI notes cron (every 2 minutes), then open the session's notes
Expected
- Step 1: "AI session notes: not yet. AI session notes need your Microsoft 365 admin to approve Pax Psychology for meeting recordings. Until then, you can dictate a summary after each session." with "Allow recordings" and "Check again"
- Step 2: "Not approved yet"
- Step 3: Microsoft's screen asks for "Read all recordings of online meetings"; back on Connections, "AI session notes are on for Microsoft Teams", Teams reads "AI session notes: available." and says Teams saves the recording in your OneDrive and Pax Psychology can't delete it
- Step 4: Before you join reads "Microsoft Teams recording is set up and imports automatically"
- Step 5: the meeting is set to record automatically, and Teams shows its recording notice once the meeting starts
- Step 6: the draft is ready ("Your draft note for … is ready" email), drafted from the session transcript; turning recording off in Before you join before the session cancels the import
Notes Automated against the fake provider. Manual on a real Microsoft 365 tenant (needs a real Teams meeting, a Microsoft 365 admin to approve the permission, and AWS for transcription); the steps are in docs/settings-and-integrations-plan.md, "Stage 7: real-meeting test".
Emails (1 sent)
PassedTC-P-113Without the organisation's approval, Teams sessions can't be recorded and say why (new)1.8s
Test script
Preconditions As TC-P-110, but the organisation hasn't approved Pax Psychology for meeting recordings
Steps
- Open an upcoming Teams session and click "Join video call"
- Click "Join without recording"
- Have the Microsoft 365 admin approve the permission (in the automated run, the fake provider's admin consent), then click "Check again" on Connections
Expected
- Step 1: "Record this session" is off and can't be turned on, with "AI session notes need your Microsoft 365 admin to approve Pax Psychology for meeting recordings."
- Step 2: the meeting opens and nothing is queued for import
- Step 3: "AI session notes are on for Microsoft Teams" and Teams reads "AI session notes: available."
Notes A personal Microsoft account (outlook.com) never offers Teams recording (TC-P-108). Manual on a real tenant: an organisation that blocks meeting recording by Teams policy shows "Microsoft Teams didn't let Pax Psychology read your meeting recordings" after the first import fails.
PassedTC-P-114A withdrawn recording consent stops the Teams import (new)94ms
Test script
Preconditions As TC-P-110, with a recorded Teams session waiting to be imported
Steps
- As
client@, turn off session recording consent in Settings - Wait for the AI notes cron
Expected
- The import is cancelled, nothing is copied from OneDrive and no draft is written; the AI notes audit trail shows the import skipped because consent was withdrawn
Notes The recording itself stays in the psychologist's OneDrive (Pax Psychology has read-only access).
PassedTC-P-111A psychologist with no working video provider isn't bookable (new)11.4s
Test script
Preconditions Logged in as gate@paxpsychology.dev (stand-in Zoom connected)
Steps
- Open Connections
- In a signed-out window, search the directory for "Gale Gate"
- Click "Disconnect Zoom"
- Open Today
- In a signed-out window, search the directory again and open
/book/gale-gate
Expected
- Step 1: Zoom is connected and "Not taking bookings" lists "Meet session (Google Meet)"; no banner
- Step 2: Dr Gale Gate is listed
- Step 3: Zoom reads "Not connected…" and "Initial consultation (Zoom)" joins "Not taking bookings"
- Step 4: a banner "Connect a video provider so clients can book you" ("Every session is by telehealth, so until a session type's video provider (Zoom, Google Meet or Microsoft Teams) is connected, clients can't book you.") with "Open Connections", and an orange dot on Connections in the sidebar
- Step 5: Dr Gale Gate isn't listed, and the booking page is the not-found page, exactly as for a psychologist without payouts
Notes In-person sessions are off, so a working video connection is required alongside payouts. The automated run puts the stand-in Zoom back. gate@ is approved, like every seeded psychologist; the banner is for after going live (before that, Today has the setup checklist, TC-P-131).
Automated run
- 1. Open Connections
- 2. In a signed-out window, search the directory
- 3. Click "Disconnect Zoom"
- 4. Open Today
- 5. In a signed-out window, search the directory and open the booking page
- Notes: with Zoom back, gate@ is in the directory again
PassedTC-P-112A broken video connection stops new bookings; booked sessions keep their links (new)7.7s
Test script
Preconditions gate@'s Zoom stops working (the automated run marks the stand-in Zoom expired). Its upcoming session with Casey Moves has a Zoom link
Steps
- As
gate@, open Connections - Open Today
- In a signed-out window, open
/book/gale-gate/initial-consultation - Open the upcoming session
Expected
- Step 1: Zoom reads "Needs reconnecting…" with "Reconnect Zoom"
- Step 2: the banner from TC-P-111
- Step 3: the not-found page; a booking already under way is refused with "This session can't be booked right now. The psychologist needs to connect their video provider first."
- Step 4: the session still has its Zoom link (nothing booked is changed)
Automated run
- 1. Open Connections
- 2. Open Today
- 3. In a signed-out window, open the Initial consultation booking page
- 4. The session already booked keeps its link
PassedTC-P-154Removing the app in Zoom disconnects Zoom in Pax Psychology (new)5.8s
Test script
Preconditions gate@ with a working Zoom connection and an upcoming session with Casey Moves that has its Zoom link. On staging, a real Zoom account connected to gate@ (the automated run sends Zoom's signed app_deauthorized event for the stand-in Zoom itself, so it needs the webhook secret and runs in CI and locally only)
Steps
- In Zoom, open the App Marketplace, choose Manage, then Added apps, and remove Pax Psychology (the automated run sends Zoom's event instead)
- As
gate@, open Today - Open Connections
- Zoom sends the same event again (Zoom retries, or both the event subscription and the deauthorization endpoint deliver it)
Expected
- Step 1: the webhook answers 200. The Zoom connection is "Needs reconnecting" (EXPIRED) with its access and refresh tokens deleted, and one
ZOOM_APP_REMOVEDrow is in the integration log - Step 2: the banner "Your Zoom connection stopped working." with "Reconnect Zoom", which opens Connections
- Step 3: Zoom reads "Needs reconnecting. Zoom stopped letting Pax Psychology make meetings…" with "Reconnect Zoom" and the link "How Zoom works with Pax Psychology" (to
/help/zoom, TC-C-141); Zoom session types take no new bookings (as TC-P-112) - Step 4: nothing changes and nothing more is logged. The session already booked keeps its Zoom link and meeting id
Notes A removal for a Zoom user with no connection is answered 200 and ignored; one with a bad signature is refused (401). Zoom's Data Compliance API was retired in 2021, so nothing is reported back to Zoom. Reconnecting goes through Zoom's consent screen again and clears the broken state. The "Your Zoom connection stopped working" email goes out once, from the broken-connection job, as for any broken Zoom. The automated run puts a fresh stand-in Zoom back.
Automated run
- 1. Zoom says gate@ removed the app
- 2. Open Today
- 3. Open Connections
- 4. Zoom sends it again
PassedTC-P-155Moving a Zoom session moves its Zoom meeting and keeps the link (new)3.9s
Test script
Preconditions Logged in as follows@paxpsychology.dev (a working Zoom connection), whose session with Ash Followed that has the Zoom meeting 15500000155 is upcoming
Steps
- Open that session and click "Reschedule"
- Pick another day and time, and click "Confirm reschedule"
- Check the session and its meeting in Zoom
Expected
- Step 1: "Reschedule appointment" opens
- Step 2: "Appointment rescheduled successfully"; Ash Followed is emailed "Appointment rescheduled"
- Step 3: the Zoom meeting is moved to the new date, time and length (in the psychologist's timezone) and keeps its id and join link, so the link the client already has still works. The session records the meeting's new time, and one
ZOOM_MEETING_UPDATESUCCESS row is on the Zoom connection's integration log
Notes Every reschedule moves it: the psychologist's, the client's (TC-C-115), the API's and a new client choosing a suggested time. If the meeting is no longer in Zoom (deleted there by hand), a new one is made for the new time, the session takes its links and a confirmed session's client is emailed "Your new Zoom link for <day>". If Zoom doesn't answer or needs reconnecting, the session still moves; the failure is logged, a refused token marks Zoom "Needs reconnecting" (as TC-P-154), and the meeting is moved once Zoom is back (the calendar-sync job, or on reconnecting). Links added by hand, Google Meet and Teams are never changed by this (Meet and Teams events move with calendar write-back).
Automated run
- 1. On the session's page, click "Reschedule"
- 2. Pick another day and time, and confirm
- 3. The Zoom meeting moved to the new time, with the same link
- Email "Appointment rescheduled" is sent to followed@paxpsychology.dev
PassedTC-P-156Cancelling a Zoom session deletes its Zoom meeting (new)3.8s
Test script
Preconditions Logged in as follows@paxpsychology.dev, whose session with Ash Followed that has the Zoom meeting 15600000156 is upcoming
Steps
- Open that session, click "Cancel appointment" and confirm
- Check the session and the Zoom account
Expected
- Step 1: the session is cancelled; Ash Followed is emailed "Appointment cancellation"
- Step 2: the Zoom meeting is deleted from the Zoom account, with Zoom asked not to email anyone about it (
schedule_for_reminderandcancel_meeting_reminderoff). The session records when, and oneZOOM_MEETING_DELETESUCCESS row is on the integration log
Notes A session that has already started (or is over) keeps its meeting, and so does a no-show or completed session. A meeting already gone from Zoom counts as deleted. A failure never stops the cancellation (as TC-P-155).
Automated run
- 1. On the session's page, click "Cancel appointment" and confirm
- 2. The session is cancelled and its Zoom meeting deleted
- Email "Appointment Cancellation" is sent to followed@paxpsychology.dev
ManualTC-P-20Open the Stripe Express dashboard4.6s
The last hop of step 2 leaves Pax: 'Stripe Dashboard' mints a one-time Express login link and opens connect.stripe.com, which is Stripe's own product and cannot be asserted from here. Everything Pax renders – the 'Connected' badge, the Account / Country / Charges / Payouts rows and the button itself – is checked below.
Test script
Preconditions Logged in as a psychologist with Stripe connected
Steps
- Navigate to
/dashboard/settings?section=payouts - Click "Open Stripe dashboard"
Expected
- The card shows the "Connected" badge and the Account, Country, Charges and Payouts rows, and the button opens the Stripe Express dashboard for the connected account.
Automated run
- 1. Navigate to /dashboard/settings?section=payouts
- The card shows the "Connected" badge and the Account, Country, Charges and Payouts rows
- 2. Click "Open Stripe dashboard" – the button opens the Stripe Express dashboard (hosted hop is MANUAL)
PassedTC-P-21Settings › Availability (new)10.7s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=availability - Click "Edit weekly hours", change something and save
- Close, then click "Block time" and add a block
- Check the "Time off" panel and delete an entry
Expected
- Card "Availability" with the copy "Your usual weekly hours decide when clients can book you. Block time takes one-off hours or whole days out of those hours: a lunch break, supervision or leave."
- Two buttons: "Edit weekly hours" and "Block time" – they open exactly the same modals as the Schedule page (TC-P-03, TC-P-04)
- A second panel titled "Time off" listing upcoming blocks as "<Wed 3 Sep>, 9:00am–5:00pm" with the reason beneath, each with a delete (trash) button
- Empty state "No time off coming up. Use Block time to add some."
- Deleting shows "Delete this time off?" / "<range> will be bookable again."
- A block added here immediately appears in the list after the modal's "Done"
Notes This section is new in the redesign. The old /dashboard/settings/availability URL is not found (see TC-P-22).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/settings?section=availability
- 2. Click "Edit weekly hours", change something and save
- 3. Close, then click "Block time" and add a block
- 4. Check the "Time off" panel and delete an entry
- Notes: the old /dashboard/settings/availability URL is not found
PassedTC-P-22Old settings URLs return not found (new)15.9s
Test script
Preconditions Logged in as a psychologist
Expected
- Each one answers 404 and shows the not-found page ("This one's wandered off."). The address bar keeps the URL you typed: nothing redirects to the settings hub.
Notes Moved pages are deliberately not redirected before launch. Every setting is in the hub at /dashboard/settings?section=<id> (for example ?section=availability, ?section=account, ?section=payouts, ?section=payment-methods, ?section=notifications). Calendars moved to Connections (/dashboard/connections) and Account actions went (pause and resume on Your listing, Sign out on Account): ?section=calendar and ?section=actions open Account, with no redirect. /dashboard/settings/appointment-types/add and /dashboard/settings/appointment-types/[id] are still real pages. The bare /dashboard/settings/appointment-types index has been removed and also returns the not-found page; Session types are at /dashboard/settings?section=appointment-types.
Automated run
- Visit /dashboard/settings/availability and note what you see
- Visit /dashboard/settings/profile and note what you see
- Visit /dashboard/settings/billing and note what you see
- Visit /dashboard/settings/payments and note what you see
- Visit /dashboard/settings/payment-methods and note what you see
- Visit /dashboard/settings/calendars and note what you see
- Visit /dashboard/settings/notifications and note what you see
- Notes: appointment-types/add and appointment-types/[id] are real pages
- Notes: the bare /dashboard/settings/appointment-types index was removed and 404s
- Notes: ?section=calendar and ?section=actions open Account
RetiredTC-P-23Account actions, pause and resume the listing (new)–
Replaced by TC-P-107: Pause and resume moved to Your listing, Sign out to Account
PassedTC-P-107Pause and resume your listing from Your listing (new)16.6s
Test script
Preconditions Logged in as listing@paxpsychology.dev
Steps
- Navigate to
/dashboard/listing - Click "Pause"
- Check
/psychologistsin a signed-out window - Return and click "Resume"
Expected
- Below the listing form, a "Pause or resume" card with the row "Pause your listing" / "Hide from search and stop new clients booking. Your existing clients can still book." and a "Pause" button
- Once paused the row reads "Resume your listing" / "Your listing is paused. Your existing clients can still book. Resume to appear in search and take new clients."
- A paused psychologist does not appear in the public directory; resumed, they're back
- Sign out is on Settings › Account ("Sign out of Pax Psychology on this device.")
Notes The sidebar footer also has a "Taking new clients" switch. It flips at once; if the change can't be saved it shows an error toast and flips back (it used to take the page to the error screen). Off, it reads "Not taking new clients" with "Your existing clients can still book. New clients see similar psychologists instead." under it, and the "Taking new clients" switch on Your listing explains the same. What clients see: TC-C-129. The switch only says whether new clients can book: switched off, the listing stays in the directory (with "Not taking new clients"), and the "Pause or resume" card still offers "Pause". Hiding from search is Pause's job alone; after "Resume" a later switch-off doesn't hide the listing again.
Automated run
- 1. Navigate to /dashboard/listing
- 2. Click "Pause"
- 3. Check /psychologists in a signed-out window
- 4. Return and click "Resume"
- Notes: Sign out is on Settings, Account
- Resumed, the listing is back in the public directory
2G. New surfaces
4 passed
PassedTC-P-24New clients queue (new)11.6s
Test script
Preconditions Logged in as a psychologist with an inbound match request. The automated run seeds its own extra request for step 3 (a PENDING first session with client@, about 20 days out at 5:10am Sydney time) and deletes it afterwards.
Steps
- Navigate to
https://paxpsychology.dev/dashboard/new-clients - Click "Welcome <First>" on a request
- On another request, click "Suggest another time", check the picker shows your open times, and click "Cancel". Then click "Not a fit", type a short note, and click "Cancel and let <First> know"
- Sign in as that client and open Sessions
Expected
- H1 "New clients" with the sub-line "New matches who have booked a first session. Say hello to welcome them, suggest another time, or let them know kindly if you're not the right fit. Nobody is charged until after a session."
- Cards lead with the client's name and a "<n>% match" figure, then a sage "Booked first session" band reading "<date> at <time>, <n> min by video" with a "Card saved" pill (never "Paid": the card is only charged after the session), the intake Q&A ("What's bringing them here" / "What they're looking for"), issue tags, and the buttons "Welcome <First>", "Suggest another time" and "Not a fit"
- Welcoming shows "Welcomed <First>. First session's locked into your calendar."
- Welcome only confirms a request that is still waiting: on a request already cancelled (Not a fit in another tab, or by the client) it says "This request has already been answered." and the session stays Cancelled
- "Not a fit" opens "Not the right fit for <First>?" explaining the session is cancelled, they get a kind note with a link to find another psychologist, and they won't be charged. The note field is "A short note for <First> (optional)" with the hint "This is shown to <First> in the email." Buttons: "Keep request" / "Cancel and let <First> know"
- Confirming shows "Thanks. We've let <First> know kindly, with a link to find another match. They weren't charged." The request leaves the queue on reload
- The client is emailed "A note from <psychologist first name> about your first session": no blame, the note as written, the session marked Cancelled with Charge "None", a "Find another match" button to
/onboarding, and the Lifeline line (13 11 14) - The session is CANCELLED with no charge and no invoice of either kind; the SetupIntent is tidied and an audit row
NEW_CLIENT_NOT_A_FITis written - In the client's Sessions, the session reads "Cancelled: not the right fit" with a "Find another match" chip to
/onboarding - Empty state "No new clients right now." with "New matches who book a first session land here. Keep your listing open to new clients to get matched." and a "Check your listing" button to
/dashboard/listing
Notes The same requests appear on the Today page under "New clients", in a compact rail whose chip reads "Wants <date> at <time>" – that wording belongs to the rail, not to the full queue card. The queue is cached (cacheLife("minutes")), so a request seeded straight into the database takes up to a minute or two of reloads to appear. Step 2 consumes the request, so re-seed before each pass. The full "Suggest another time" flow is TC-P-56.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/new-clients
- The queue lists requests, or shows its empty state
- Cards carry the "Booked first session" band and the three actions
- 2. Click "Welcome <First>" on a request
- 3. On another request, click "Not a fit", add a short note and confirm
- Email "about your first session" is sent to client@paxpsychology.dev
- The session is cancelled with no charge and no invoice
- It leaves the queue
- The client sees it as "Cancelled: not the right fit" in Sessions
PassedTC-P-25Earnings (new)6.0s
Test script
Preconditions Logged in as a psychologist with completed, paid sessions
Steps
- Navigate to
https://paxpsychology.dev/dashboard/earnings
Expected
- H1 "Earnings" with the sub-line "<Month> so far. Session fees settle to your account through Stripe. You keep 78%." and a "Stripe dashboard" button
- Three totals: "This month" (billed), "Waiting to capture" (fees of sessions still to complete, linking "<N> sessions to complete" to Actions) and "Paid to you" ("$… this week, through Stripe Connect"), all to the cent (for example "$120.90", never rounded to "$121")
- The full All transactions list further down the same page (see TC-P-16)
- With Stripe Connect incomplete the page shows the payout setup prompt instead
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/earnings
- H1 Earnings with the month sub-line and the KPI tiles
PassedTC-P-26Your listing (new)9.6s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/listing - Edit the public-profile fields and save
- Open
/psychologists/[psychologistSlug]in a signed-out window
Expected
- H1 "Your listing" with a "Live" pill only when the directory shows the listing (approved, payouts on, a bookable video session type, not paused), "Paused" when paused, else "Not live yet" (payouts alone don't make it Live), the subtitle "Your public profile in Search Psychologists. This is what clients see before they book.", "Preview public page" and "Save changes"; cards "Basics", "How you introduce yourself", "What you work with" and "Sessions and availability" beside a "Live preview" card. "What your profile shows" offers Telehealth across Australia or Based in a state (never a suburb). There is no Medicare rebate field: rebates are worked out, never typed. About you takes up to 2,000 characters. For a live psychologist, changes to the profile copy wait for review (TC-P-132); the rest appear on the public profile page and on the directory card.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/listing
- 2. Edit the public-profile fields and save
- 3. Open /psychologists/[psychologistSlug] in a signed-out window
- Restore the original headline
PassedTC-P-28Choose specialties on your listing (new)11.1s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/listingand find "Specialties" in the "What you work with" card - Click the "Search specialties" field, type part of a specialty you don't have yet, and pick it with the arrow keys and Enter
- Type something that isn't on the list (e.g. "zzz")
- Remove the new chip with its × and add it back, then click "Save changes" and reload
- Open
/psychologists/[psychologistSlug]in a signed-out window - Remove the specialty again and save, so the listing is back as it was
Expected
- The field opens the whole speciality list (
config/specialities.ts, 52 names) grouped under "Mental Health", "Performance", "Wellbeing" (and "Other" for a legacy name outside the list), filtered as you type. Enter adds the highlighted specialty as a chip above the field, and each chip has a "Remove <name>" × button. A query with no match shows 'No specialties match "zzz"' and Enter adds nothing: there is no way to make up a new specialty. On save, a live psychologist sees "Saved. Your profile changes wait for review; …" and "Waiting for review: specialities." (not yet live: their public profile keeps the approved list until an admin approves the change, TC-A-86; then the "Specialities" section lists it, and the directory filters and the matching quiz see it too). The chip is still there after the reload. Taking it out again and saving shows "Profile updated" and leaves nothing waiting.
Notes Before this fix, "Add specialty" added the next name from a fixed list, and saved it to a field the public page and matching never read.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/listing and find "Specialties" in the "What you work with" card
- 2. Type part of a specialty you don't have yet and pick it with the arrow keys and Enter
- 3. Type something that isn't on the list (e.g. "zzz")
- 4. Remove the new chip with its × and add it back, then click "Save changes" and reload
- 5. Open /psychologists/[psychologistSlug] in a signed-out window
- 6. Remove the specialty again and save, so the listing is back as it was
2H. AI session notes (flag)
11 passed
PassedTC-P-70AI notes need the client's consent first (new)11.7s
Test script
Preconditions AI notes on. A client who has not consented
Steps
- Open the session's notes workspace
- Click "Record verbal consent", tick the confirmation and click "Record consent"
- For a second client, click "Send consent request"; as the client, agree in Settings › Privacy, then reopen the workspace
Expected
- Without consent the workspace says AI-assisted notes need the client's consent and offers no "Start recording"
- After verbal consent "Dictate your notes" appears and the consent is shown as verbal
- The request shows "Request sent …" with "Send again", the client gets the "… would like to use AI to help with their notes" email, and once they agree dictation is on
Emails (3 sent)
PassedTC-P-71Dictate and draft a session note (new)40.6s
Test script
Preconditions AI notes on, a consented client
Steps
- Pick an approach (e.g. CBT), dictate, and wait for "Draft ready"
- Switch the format (SOAP to DAP), tick "reviewed and edited" and click "Save notes"
- Upload an audio file instead of dictating
- Start a dictation and cancel it while it is processing
- Change the approaches and regenerate
- Retry a draft that failed
- At phone width, record through the bottom sheet
Expected
- The draft fills "Your notes" in the chosen format and lists anything the dictation did not cover; switching format rewrites it
- "Save notes" stays disabled until the review box is ticked; saving shows "Notes saved."
- An uploaded file is drafted like a dictation; a cancelled one leaves no draft; a regenerate rewrites the draft; a failed draft can be retried
- On a phone the recorder runs in a bottom sheet through to a draft
PassedTC-P-72Recording needs consent before the session is joined (new)15.1s
Test script
Preconditions AI notes on, a Zoom session type, a session starting within the next 15 minutes (Join only shows from 15 minutes before)
Steps
- Join the session ("Before you join")
- Join it again from the Schedule panel
- Start it again from the now card on Today ("Start on Zoom")
Expected
- "Before you join" asks for recording consent first; the client gets the "… would like to record your next session" email; once consent is given the import is queued
- Joining from the Schedule panel goes through the same "Before you join" step
- So does Start on Today's now card: it never opens the meeting straight away while "Before you join" applies
Emails (1 sent)
PassedTC-P-73A recorded Zoom session is imported and drafted (new)18.4s
Test script
Preconditions AI notes on, Zoom connected, a recorded session
Steps
- Let the recording webhook arrive and wait for the import
- Open the draft and click a citation; add a dictation to it
- Open Connections
- Send Zoom's URL validation challenge and a webhook with a bad signature
- Run the sweep
- For a recorded session that already has a saved note, open the notes once the draft is ready; click "Add the draft below my note", tick the review box and save
Expected
- The recording is imported, transcribed and drafted, and "Your draft note for <client> is ready" is emailed
- A citation jumps to its place in the transcript; a dictation can be added to the draft
- Connections shows Zoom "Connected (<account email>)" with a "Disconnect" button and "AI session notes: sessions can be recorded" (connecting Zoom from scratch is TC-P-100)
- The validation challenge is answered; a webhook whose signature does not match is rejected
- The sweep cancels abandoned recordings and deletes expired audio
- Step 6: the saved note stays in the box, never replaced by the draft. Beside it: "A draft is ready, and you've already saved a note." with "Read the draft", "Add the draft below my note", "Replace my note with the draft" and "Keep my note". Adding puts the draft under the saved note ("The draft is added below your note." with "Back to my note"); Save needs the review box ticked, and the saved note then holds both
Notes The draft view used to show the draft in place of the saved note, so saving with the box ticked replaced it.
Emails (3 sent)
PassedTC-P-60Book a session from Schedule and from a client's drawer (new)3.4s
Test script
Preconditions Logged in as test@paxpsychology.dev with weekly availability and at least three clients
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointmentsand click "Book a session" - Look at the days and times offered, pick a time, then click "Cancel"
- Navigate to
/dashboard/clients, open a client's drawer (not the first client) and click "Book session" - Check the client, days and times, toggle "Repeat weekly", then "Cancel"
Expected
- "Schedule a session" / "Book an existing client into an open slot." with "Client" and "Session type" selects
- Days are chips for the next four weeks that have an open slot (weekly availability minus existing bookings, connected calendars and time off); the times are that day's open slots for the chosen session type, shown as "Time (<n> min)". No time already past is offered, and there is no fixed 9:00am to 5:00pm grid. With nothing open: "No open times in the next four weeks for this session type."
- Changing the session type reloads the days and times
- From the drawer, the Client select shows that client (from Schedule it starts on the first client)
- "Repeat weekly" (same client, day and time every week, "One confirmation covers the whole run.") sends the session plus up to five weekly repeats to the client to confirm (TC-P-31). The button reads "Send to <First> to confirm"
Notes The modal used to offer a fixed 9:00am to 5:00pm grid including times already past, and the drawer opened it on the first client in the list. The server also refuses a time that has passed.
Automated run
- 1. On Schedule, click “Book a session”
- 2. Open a client's drawer (not the first) and click “Book session”
- 3. The modal is for that client, with real open times
PassedTC-P-31Book a weekly run for a client to confirm (new)11.7s
Test script
Preconditions Logged in as weekly@paxpsychology.dev (Dr Wren Weekly), whose client is Quinn Repeats. Another client is already booked at 10:00am two weeks after the first weekday three or more days out (the acceptance seeder sets this up every run, and removes last run's request)
Steps
- On
/dashboard/appointments, click "Book a session"; choose Quinn Repeats and "Initial consultation" - Pick the first weekday three or more days out (two weeks before the clash) and 10:00am, and turn on "Repeat weekly"
- Read the "Quinn confirms it" note, then click "Send to Quinn to confirm"
- On the Schedule, open that day
Expected
- Before sending, the dialog says "Quinn confirms it: We send Quinn a request by email and in their dashboard. They confirm with their card, then get the joining details. The time is held for 48 hours, then released if they don't answer."
- "Sent to Quinn." with "Quinn needs to confirm before it's booked.", the client, the day and time with "weekly (5 sessions)", "Status: Waiting for Quinn", "Held for 48 hours", and Done and Withdraw request
- Five sessions exist, one a week at 10:00am for six weeks, with the clash week skipped (the booking already there is untouched). All five are Awaiting confirmation (
PENDING_CLIENT) in one booking request, with no card attached and no invoice: nothing can be charged until Quinn confirms - On the Schedule each is drawn with a dashed outline, "Quinn Repeats (waiting)", and the legend has "Waiting for client"
- Quinn is emailed "Wren booked sessions for you: please confirm" (the sessions, the fee after each session, "Please answer by <date, time>", Confirm sessions and Decline), and no "Appointment Confirmation" yet; those come when Quinn confirms (TC-C-90)
Notes Changed 25 Oct 2026. "Book a session" used to book outright on the client's default saved card, so completing the session charged a card the client had never agreed to use for it. The hold is 48 hours, ending at least an hour before the first session (config/booking-requests.ts); a time less than 1.5 hours away can't be sent ("That's too soon for <First> to confirm."). The expiry job runs every 15 minutes (/api/cron/booking-requests).
Automated run
- 1. On Schedule, click "Book a session" and choose the client and type
- 2. Pick the day and 10:00am, and turn on Repeat weekly
- 3. The dialog says Quinn will be asked to confirm; click "Send to Quinn to confirm"
- Five weekly sessions are held for Quinn, with no card and no invoice
- 4. The Schedule shows the first one dashed, waiting for the client
- Email "Wren booked sessions for you: please confirm" is sent to repeats@paxpsychology.dev
- No email "Appointment Confirmation" to repeats@paxpsychology.dev
PassedTC-P-80Withdraw a session the client hasn't confirmed (new)2.0s
Test script
Preconditions Logged in as proposes@paxpsychology.dev (Dr Piper Proposes) with a session booked for Hollis Held (held@) that Hollis hasn't confirmed. The automated run seeds its own (the fifth weekday out at 9:00am) and deletes it afterwards.
Steps
- On
/dashboard/appointments, open that day and click the dashed "Hollis Held (waiting)" session - Click "Withdraw request"
Expected
- The panel shows the status pill "Awaiting confirmation", "Waiting for Hollis." and "Held until <date, time>. The time stays off your calendar for clients until they answer, and opens again if they don't. Nothing is booked or charged until they confirm with their card." There is no Join, Complete, Reschedule or Cancel
- Withdrawing toasts "Request withdrawn. The time is open again." and the session leaves the Schedule
- The request is
WITHDRAWNand its sessionCANCELLED, so the time is bookable again - Hollis is emailed "Piper withdrew a booking request" ("Nothing was charged.")
Notes The same Withdraw request is on the dialog's "Sent to <First>." screen straight after sending (TC-P-31).
Automated run
- 1. On the Schedule, open the dashed session
- 2. Click "Withdraw request"
- The request is withdrawn and the time is free
- Email "Piper withdrew a booking request" is sent to held@paxpsychology.dev
PassedTC-P-81A session waiting on the client can't be completed or charged (new)2.0s
Test script
Preconditions Logged in as proposes@ with a session for Hollis Held whose time has gone by while Hollis still hasn't confirmed (the hold outlasts the cron by up to 15 minutes; the automated run seeds one yesterday at 2:00pm with the hold still open, and deletes it afterwards)
Steps
- On the Schedule, open yesterday and click the dashed session
- Open its detail page (
/dashboard/appointments/<id>)
Expected
- The panel has no "Wrap up"; it offers "Withdraw request"
- The detail page has no "Wrap up"
- The session stays
PENDING_CLIENTwith no card, payment statusPENDINGand no invoice
Notes The server refuses it too: completing, marking a no-show, retrying a charge or confirming it on the client's behalf all fail with "This session is waiting for the client to confirm it, so it can't be completed or charged yet." Cancelling it from the practice's side (the Schedule, the API, time off) withdraws the whole request instead (TC-P-83), with no fee.
Automated run
- 1. Open the held session from the Schedule
- 2. Open its detail page
- Nothing was completed, charged or invoiced
PassedTC-P-82A held time is off the calendar for other bookings (new)2.7s
Test script
Preconditions Logged in as proposes@
Steps
- Click "Book a session", choose Lou Linked, and note the first day and time offered; click "Cancel"
- Book that time for a client to confirm (the automated run seeds the held session directly, and deletes it afterwards)
- Click "Book a session" again and choose Lou Linked
Expected
- The held time is no longer offered on that day (if it was the day's only time, the day itself is gone)
- The same is true everywhere times are offered (the public booking page, rebook, reschedule, Block time conflicts) until the client confirms, declines, the psychologist withdraws, or the hold expires
Notes A held session counts as busy wherever bookings clash (SLOT_HOLDING_STATUSES in lib/appointment-status.ts).
Automated run
- 1. Note the first open time offered
- 2. That time is held for a client to confirm
- 3. Open Book a session again: the held time isn't offered
PassedTC-P-83Time off over a held session withdraws the request (new)2.2s
Test script
Preconditions Logged in as proposes@ with a session for Hollis Held next Monday at 11:00am that Hollis hasn't confirmed. The automated run seeds its own and deletes it, and the time off, afterwards.
Steps
- On the Schedule click "Block time", choose "Leave", page to next week, pick Monday, 11:00am to 12:00pm, and click "Block time"
- Click "Block and cancel"
Expected
- The held session is listed as a conflict ("1 booked appointment falls in this window. Blocking will cancel it…"), and blocking shows "Time blocked."
- The whole booking request is withdrawn (a weekly run too, not just the session in the window): the request is
WITHDRAWNand its sessionsCANCELLED, with nothing refunded or charged - Hollis is emailed "Piper withdrew a booking request", and Piper "Withdrawn: Hollis Held's <type>" ("…was withdrawn because you blocked that time off. We've let them know, and nothing was charged."). No "cancelled for time off" email goes out for it
Notes Cancelling a held session from the Schedule or the mobile API withdraws the request the same way (reason "you cancelled it from your Schedule"). A client can't cancel a held session; they decline it.
Automated run
- 1. Click "Block time" and block next Monday 11:00am to 12:00pm
- 2. The held session is listed as a conflict; click "Block and cancel"
- The whole request is withdrawn, and the slot freed
- Email "Piper withdrew a booking request" is sent to held@paxpsychology.dev
- Email "Withdrawn: Hollis Held's" is sent to proposes@paxpsychology.dev
PassedTC-P-84The calendar feed shows a held session as tentative (new)173ms
Test script
Preconditions proposes@ with the calendar feed on (Settings, Integrations) and a session for Hollis Held that Hollis hasn't confirmed. The automated run seeds both and removes them afterwards.
Steps
- Open the feed URL (
/api/calendar/feed/<token>), or look at the subscribed calendar
Expected
- The held session is in the feed as
STATUS:TENTATIVEtitled "Pax Psychology: Hollis", with no attendees: Hollis's email isn't in it - Once Hollis confirms it turns into the normal confirmed event; once declined, withdrawn or expired it shows as cancelled, like any cancelled session
- The client's own feed doesn't show it until they confirm
Notes With calendar write-back on ("Add your sessions to"), the held session is written to the psychologist's calendar as tentative too (Google status: tentative, Outlook "Tentative", Apple STATUS:TENTATIVE), turned firm when the client confirms and deleted when it is declined, withdrawn or expires. That part is covered by unit tests (tests/unit/lib/integrations/calendar-writeback.test.ts); staging has no write-back calendar connected.
Automated run
- 1. Open the psychologist's calendar feed
2H. Isolation between psychologists (new)
5 passed
PassedTC-P-63A psychologist sees only the client documents they uploaded (new)10.3s
Test script
Preconditions The Sam Shared fixture exists
Steps
- Sign in as
test@, open/dashboard/clients, search "Sam Shared", open the drawer and click "View full profile", then the Documents tab. Copy the download link of "E2E test-at referral.pdf" - Sign out, sign in as
test2@paxpsychology.dev, open the same record and its Documents tab - Still as
test2@, open the download link copied in step 1
Expected
test@sees "E2E test-at referral.pdf" and not "E2E test2-at intake notes.pdf"test2@sees "E2E test2-at intake notes.pdf" and nottest@'s document- The copied link returns 404 for
test2@
Notes Before this, any psychologist with an appointment with the client saw and could download every psychologist's documents on them.
Automated run
- 1. As test@, open Sam Shared's record, Documents tab
- 2. As test2@, open the same record, Documents tab
- 3. As test2@, request test@'s document by its download URL
PassedTC-P-64Shared journal entries reach only the psychologist they were shared with (new)9.4s
Test script
Preconditions The Sam Shared fixture exists
Steps
- Sign in as
test@and open Sam Shared's record (Overview, "Shared journal") - Sign in as
test2@and open the same record
Expected
test@sees "Shared with Dr Thompson only: the sleep diary." and not the entry shared with Dr Wilsontest2@sees "Shared with Dr Wilson only: the exam worries." and not the entry shared with Dr Thompson- The same holds for mood check-ins on the record and Rough check-ins on Today (the now card and Needs you)
Automated run
- 1. As test@, open Sam Shared's record
- 2. As test2@, open the same record
PassedTC-P-65A psychologist cannot open another psychologist's session with a shared client (new)12.2s
Test script
Preconditions The Sam Shared fixture exists
Steps
- Sign in as
test@, open Sam Shared's record, Sessions tab, and click View on the session. Copy the URL - Sign in as
test2@and open that URL
Expected
test@sees the session; the Sessions tab lists onlytest@'s own session with Sam (1 session), nottest2@'stest2@gets the 404 page ("This one's wandered off.") and nothing about the session
Automated run
- 1. As test@, open Sam Shared's session from the Sessions tab
- 2. As test2@, open the same session URL
PassedTC-C-76A client who sees two psychologists chooses who an entry is shared with (new)16.3s
Test script
Preconditions The Sam Shared fixture exists
Steps
- Sign in as
shared@paxpsychology.devand open/dashboard/journal - Write an entry and turn on "Share this entry". Look at the "With" select
- Choose Dr James Wilson and click "Save entry"
- Sign in as
test2@and open Sam Shared's record; then astest@
Expected
- With more than one psychologist the share control shows a "With" select, defaulting to the current psychologist (the one seen most recently, Dr Emily Thompson). With one psychologist there is no select
- The saved entry says "James can see this" (or "Shared with James" just after sharing)
test2@sees the entry on Sam's record;test@does not- A low mood on a shared entry emails only the psychologist it is shared with; the Home check-in's "Rough" heads-up goes only to the current psychologist
Notes Entries shared before this change were pointed at each client's then-current psychologist by the migration (prisma/manual-sql-archive/add_journal_entry_share_target.sql).
Automated run
- 1. As Sam Shared, write an entry and turn on sharing
- 2. Choose Dr Wilson and save
- 3. test2@ sees it on the record; test@ does not
PassedTC-P-56Suggest another time, the client picks one (new)12.4s
Test script
Preconditions Logged in as a psychologist with a pending new-client request and some open availability in the next four weeks. The automated run seeds its own request (about 21 days out at 5:20am Sydney time) and deletes it afterwards.
Steps
- Navigate to
https://paxpsychology.dev/dashboard/new-clientsand find the request - Click "Suggest another time", pick one or two of the open times, and click "Send to <First>" / "Send 2 times to <First>"
- Reload the queue
- Sign in as the client, open Sessions, and click "Pick a time" (or open the link in the email). Click "Book this time" on the first suggested time
- Back as the psychologist, reload the queue
Expected
- The dialog "Suggest another time" reads "Pick up to 3 of your open times. <First> booked <date> at <time>. They'll get an email with a link for each time, and can let you know if none of them work. The times stay open for 72 hours." It shows a row of days and a grid of that day's open times (the same availability the booking page uses, never a past time, never the time they already booked). Picked times show as chips with a × to remove; a fourth cannot be picked
- After sending: "Times sent to <First>. We'll let you know when they pick one." On reload the card carries a band "Waiting for the client": "<First> has your suggested times. They stay open until <date> at <time>." with the times as chips, and the button reads "Suggest different times"
- The client is emailed "<psychologist first name> suggested some times" with one button per time, a "None of these work" button, and a note that the times stay open until <date, time> and they'll be asked to sign in
- The client's Sessions page shows "<Psychologist> suggested some new times for your first session." with a "Pick a time" button to
/dashboard/appointments/<id>/times - That page, "Suggested times", lists each time with "Book this time" and a "None of these work" button. Booking shows "You're booked in." with "Your first session with <psychologist> is now <date, time>. We've emailed you both the details. You'll only be charged after the session, on the card you saved."
- The session has moved to that time and is CONFIRMED (no charge); both sides get "Appointment rescheduled" emails; audit rows
NEW_CLIENT_TIMES_SUGGESTEDandNEW_CLIENT_TIME_CHOSENare written; the request has left the queue
Notes Each link carries a signed token tied to that set of times, the session and the client. It only works for that signed-in client, only until the times expire, and only once: after a time is booked (or "None of these work"), every link in the email reads "This has already been sorted." or "You're booked in.". If a time was taken by someone else in between, the page says "Sorry, <time> has just been taken." and offers the rest, or "Ask <psychologist> for another time" when none are left. Signed out, the link goes to sign-in and comes back to the page afterwards.
Automated run
- 1. Navigate to /dashboard/new-clients and find the request
- 2. Click "Suggest another time" and pick two of your open times
- 3. The card says the times went, then reads "Waiting for the client"
- Email "suggested some times" is sent to client@paxpsychology.dev
- 4. As the client, open Sessions and pick the first suggested time
- 5. The session has moved to that time and left the queue
- Email "Appointment rescheduled" is sent to test@paxpsychology.dev
Admin
72 cases67 passed 1 manual 3 retired 1 skipped by design
3A. Dashboard
2 passed
PassedTC-A-01Admin landing page4.3s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard
Expected
- An admin is sent to
/dashboard/admin, "At a glance", the admin home (see TC-A-31) - A dark sidebar showing: At a glance, Toolkit, Stories (an open book icon), Categories, Authors, FAQs, Media (unlabelled first group); Users, Newsletter, Marketing, Correspondence under "Audience"; Site settings, Integrations under "Site"; Your settings under "Account". (Claims, Health funds and Compliance appear only with the insurance flag on, off on staging.) No role tag sits under the brand
- On a phone: a dark top bar, and bottom tabs Home (At a glance), Toolkit, Users, Inbox (Correspondence) and More
Notes The old admin overview's Recent Registrations list and the four Quick Actions (including "Add Blog Post" and "Add Story") are gone for good.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- Expected: the sidebar shows the admin nav, with no role tag
- Expected: the old admin overview's lists and actions are gone
PassedTC-A-31At a glance shows the admin how the site is going (new)9.0s
Test script
Preconditions Logged in as admin@paxpsychology.dev; test@paxpsychology.dev (psychologist) and client@paxpsychology.dev (client) to hand
Steps
- Open
/dashboard/admin - Pick 7 days, then Year to date in the period picker
- Open the info button on the Our cut tile
- Sign in as the psychologist and open
/dashboard/admin, then repeat as the client
Expected
- Step 1: a greeting on the Sydney clock ("Morning, Sarah." or similar) with nothing above it, and 30 days selected. Eight tiles, each with a number, a change against the period before ("up 12%", "down 3%", "level" or "up from none") and a small trend line: New clients, New psychologists, Sessions booked, Sessions completed, Gross booking value, Our cut (the dark tile), Active clients, Active psychologists. Money shows in whole dollars
- Below: Needs a look (unpaid sessions and failed payouts, each linking to the session, or a green "Nothing owed" note), Cancellations with the late-cancel rate, From quiz to first session (four steps), Most booked (up to five psychologists, linking to their user page), a busiest day and the top quiz ask when there is data, and a Where people come from card that links to See marketing (
/dashboard/marketing) - Step 2: the URL gains
?period=7d, then?period=ytd; the selected button and the "compared with" line under The numbers change with it - Step 3: "What counts" explains the cut is the 22% platform fee on sessions and late cancellations paid in the period, without refunded or unpaid sessions
- Step 4: both see the 403 screen (H1 "That bit's not yours to see."); no tile, figure or psychologist name appears in the page
Notes Every number comes from our own database. Seeded and fixture accounts are counted (there is no test-account flag), so staging figures are test data. Quiz starts are not recorded, so the funnel starts at a finished quiz.
Automated run
- 1. Open /dashboard/admin
- 2. Pick 7 days, then Year to date
- 3. Open the info button on our cut
- 4. The psychologist and the client get the 403 screen
3B. User Management
33 passed 1 retired
PassedTC-A-02View all users8.3s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/users - Search by name, then by email
- Try each role tab
- Click a row
Expected
- H1 "Users" with the sub-line "<n> clients, <n> psychologists and <n> admin"
- Header buttons "Impersonation log" and "Invite user" (the button is no longer labelled "Add User")
- Search placeholder "Search by name or email"; role filter buttons "All", "Clients", "Psychologists", "Admin"
- A table with columns "User", "Role", "Status", "Joined" and a "View <name>" row action; role chips "Admin" / "Psychologist" / "Client"; status chips "Active", "Invited" (active but email unverified) and "Suspended" (deactivated)
- Footer "1-10 of <n> users", "Rows per page", "Page 1 of <n>" and previous/next buttons
- Empty states "No users found matching your search." / "No users yet" with an "Invite user" CTA
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/users
- 2. Search by name, then by email
- 3. Try each role tab
- 4. Click a row
PassedTC-A-03Create a new CLIENT user8.9s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/users/add - Choose the "Client" role card
- Fill in: First name
New, Last nameTestClient, EmailNewTestClient@Example.com(deliberately mixed case), Mobile0412 345 678; optionally the "Referring doctor (optional)" fields; leave Password blank - Click "Create client"
- Open the new user's detail page and check the stored email
Expected
- A "Users" back link, H1 "Invite user" with "Pick a role to get started."; role cards "Admin" / "Full platform access and user management" / "Invite admin", "Psychologist" / "Manage appointments, clients, and billing" / "Invite psychologist", "Client" / "Book appointments and manage their profile" / "Invite client"
- After choosing a card: a "Back to role selection" button and a "New client" card (or "New admin"; the psychologist form has its own "New psychologist" card)
- Fields: "First name", "Last name", "Email" (placeholder
client@example.com), "Mobile", "Medicare number" (placeholderOptional), the "Referring doctor (optional)" section, and "Password (optional)" with the helper "If no password is provided, a welcome email with setup link will be sent." - Button "Create client" ("Creating…" while pending); toast "Client created successfully"
- The stored email is lower-cased (
newtestclient@example.com) – this is a fix in this build. Creating a second user with the same address in different casing must be rejected as a duplicate - A welcome email, subject "Welcome to Pax Psychology: set up your account", goes to the new client's (lower-cased) address
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/users/add
- 2. Choose the "Client" role card
- 3. Fill in the details, using a deliberately mixed-case email, and leave Password blank
- 4. Click "Create client"
- Email "Welcome to Pax Psychology: set up your account" is sent to e2e-client+e2e-20261104-gh41924178588-a03@paxpsychology.dev
- 5. Open the new user's detail page and check the stored email
- Expected: the same address in different casing is rejected as a duplicate
RetiredTC-A-04Create a new PSYCHOLOGIST user (and the welcome email)–
Psychologists are invited with only an email and set themselves up (docs/psychologist-onboarding-plan.md, decision 9): there is no admin-filled psychologist form and no welcome email. See TC-A-74.
PassedTC-A-74Invite a psychologist with only an email, and the invite email (new)5.3s
Test script
Preconditions Logged in as an admin
Steps
- Open
/dashboard/users/addand choose the "Psychologist" card - Type an email such as
e2e-invite+<run>@paxpsychology.dev, first nameEmily, a note "Lovely to talk on Friday.", and click "Send invite" - Read the invite email (Correspondence, or the inbox)
- Open the "Accept your invite" link in a signed-out browser
Expected
- Step 1 goes straight to
/dashboard/users/invite: an "Invites" back link, H1 "Invite a psychologist", the sub-line "All you need is their email. They set up everything else themselves, and you approve their profile before it goes live.", fields "Email", "First name (optional)", "Last name (optional)" and "A note from you (optional)" ("Goes at the top of the invite email, signed with your name."), "Send invite" and "Cancel", the line "The link works for 14 days. We send a reminder after 3 days and 10 days if it hasn't been used.", and a "What happens next" card with four numbered steps. There is no admin-filled psychologist form any more - Step 2: the toast "Invite sent to <email>" on the Invites tab (
/dashboard/users?tab=invites), where the row reads "Sent", "Not opened yet. Reminder due <day>.", "Invited <date> by <admin>" - Step 3: subject "<admin> has invited you to join Pax Psychology", heading "You're invited, Emily.", the note in a yellow box signed "<admin>, Pax Psychology", the button "Accept your invite" to
/join/<token>, the five setup steps, what to have handy, and "This link is for <email> and works until <day>." No provider number, address or qualifications. In Correspondence the link shows as/join/redacted - Step 4: "Welcome, Emily." with "<admin> invited you to join Pax Psychology as a psychologist.", the invited email read-only, "Use a passkey" (Recommended) with "Create a passkey", "Continue with Microsoft", "Continue with Google", "or use a password", a "Password" field and "Create account with a password". The row on the Invites tab now reads "Opened" (once the page has loaded in a browser; a link checker fetching it, as some mail services do, doesn't count)
Notes The token is stored only as a hash, so the link can't be read back from the database. Reminders ("Your invite is waiting") go on day 3 and day 10 if the link hasn't been used, from the daily onboarding cron.
Automated run
- 1. Open /dashboard/users/add and choose the "Psychologist" card
- 2. Type an email, a first name and a note, and click Send invite
- Email "has invited you to join Pax Psychology" is sent to e2e-invite+e2e-20261104-gh41924178588-a74@paxpsychology.dev
- 4. Open the Accept your invite link in a signed-out browser
PassedTC-A-75An email that already has an account, or an open invite, can't be invited again (new)3.3s
Test script
Preconditions Logged in as an admin
Steps
- On
/dashboard/users/invite, inviteclient@paxpsychology.dev - Invite a new address, then invite the same address again
Expected
- Step 1: under the email field, "This email already has a client account. A psychologist needs an account of their own, so ask for another address, such as their practice email." Nothing is sent
- Step 2: the second time, "This email already has an invite that's still open. Resend it from Invites instead." Only one invite exists
Automated run
- 1. Invite client@paxpsychology.dev
- 2. Invite a new address, then the same address again
PassedTC-A-76The Invites tab shows each status and progress; Resend makes a new link and the old one stops working (new)9.8s
Test script
Preconditions Logged in as an admin. The fixture invites below exist (the acceptance seeder resets them)
Steps
- Open Users, then the "Invites (n)" tab
- Use the filter chips: "All", "In progress", "Not started", "Expired", "Revoked"
- Invite a new address, copy its link, then click "Resend" on its row
- Open the old link, then the new one, signed out
- Click "Send a reminder" on Dr Ivy Progress's row
Expected
- Step 1: the tabs "All users" and "Invites (n)" under the header, whose main button reads "Invite a psychologist" on this tab. Columns "Psychologist", "Where they're up to", "Invited", "Last activity"; the note "Opened means they opened the link in a browser (a mail scanner checking it doesn't count). We don't track opens in the email itself. Resend makes a new link and the old one stops working." Opened is recorded by the join page once it runs in the browser, not when the link is fetched.
- The fixture rows:
invited-sent@"Sent" (Resend, Revoke),invited-opened@"Opened" with "Visited the link on <date>. No account yet." (Resend, Revoke), Dr Ivy Progress "In progress" with "Step 5 of 8, sessions and fees. Payouts not started." and an 8-part bar (Send a reminder, Revoke),invited-expired@"Expired" with "The link ran out on <date> without being used." (Send a new invite, Remove),invited-revoked@"Revoked" with "Withdrawn by <admin> on <date>." - Step 2: each chip shows only its rows, with its count
- Step 3: the toast "Sent a new link. The old one no longer works."
- Step 4: the old link says "This link doesn't work." (it may be from an older invite email); the new one is the welcome screen
- Step 5: the toast "Reminder sent";
invited-progress@gets "Pick up where you left off on Pax Psychology" (TC-P-120)
Notes "Waiting for review", "Changes asked" and "Live" rows link to the psychologist's review (TC-A-79).
Automated run
- 1. Open Users, then the "Invites" tab
- 2. Use the filter chips
- 3. Invite a new address, keep its link, then click Resend on its row
- 4. Open the old link, then the new one, signed out
- 5. Click "Send a reminder" on Dr Ivy Progress's row
- Email "Pick up where you left off on Pax Psychology" is sent to invited-progress@paxpsychology.dev
PassedTC-A-77Revoke an unused invite; the link says it was withdrawn (new)4.6s
Test script
Preconditions Logged in as an admin
Steps
- Invite a new address, then click "Revoke" on its row
- Read the dialog, type a reason and click "Revoke invite"
- Open the invite link signed out
Expected
- Step 2: "Revoke this invite?" (or "Revoke <name>'s invite?"), "The link stops working straight away.", "They aren't told automatically. You can invite them again later.", "Reason (only admins see this)", "Keep invite" and "Revoke invite"; then the toast "Invite revoked" and the row reads "Revoked"
- Step 3: "This invite was withdrawn." with "The Pax Psychology team cancelled this invite, so the link no longer works. If you think that's a mistake, email <support> and we'll sort it out." and "Go to the homepage". Nothing says why
Automated run
- 1. Invite a new address, then click Revoke on its row
- 2. Read the dialog, type a reason and click Revoke invite
- 3. Open the invite link signed out
PassedTC-A-78Revoke after the account exists: deactivated and signed out everywhere (new)7.9s
Test script
Preconditions Logged in as an admin; a second, signed-out browser
Steps
- Invite a new address; in the second browser accept it with a password and agree to the agreement
- As the admin, on Invites, click "Revoke" on its "In progress" row
- Read the dialog and click "Revoke and deactivate"
- In the second browser, reload, then try to sign in again
Expected
- Step 3: the dialog says they have made an account and lists what happens: the link stops working and they are signed out everywhere, the account is deactivated, and nothing they entered is shown anywhere (deleted under the retention rules); then "Invite revoked and the account deactivated"
- Step 4: the second browser is signed out, and signing in says the account has been deactivated
Notes The psychologist isn't emailed. A live (approved) psychologist is deactivated from their user page instead (TC-A-06). Inviting the same address again later works: the revoked account gives the address back (it stays deactivated for the retention job, under a placeholder address, with its passwords, passkeys and Google or Microsoft links removed), and the person makes a fresh account from the new link.
Automated run
- 1. Invite a new address; in a second browser accept it with a password and agree
- 2. On Invites, click Revoke on its "In progress" row
- 3. Read the dialog and click Revoke and deactivate
- 4. In the second browser, reload, then try to sign in again
PassedTC-A-82An admin viewing as a psychologist in setup sees it read only (new)7.1s
Test script
Preconditions Signed in as an admin. A psychologist part way through setup (Dr Ivy Progress, or one of your own)
Steps
- Open the psychologist and impersonate them (reason "Support request")
- Open
/setup - Open Your practice and About you
Expected
- Step 1: the ochre "Viewing as <name> (psychologist) for: Support request" banner
- Step 2: their current step, with the note "You're viewing <first name>'s setup, read only. <first name> has to agree to the terms, connect their own accounts and set up payouts themselves. To change a detail for them, use Edit on their user page, which is recorded." Every field and Continue is off, and there's no "Save and finish later"
- Step 3: the same on each step; connect and payout buttons are off too. Your practice shows the address's suburb, state and postcode only, never the street (that needs "Show full address" and a reason, TC-A-84). Nothing they had saved changes
Notes The server refuses a save sent anyway with the same words. Nobody can accept the agreement for someone else: a psychologist who hasn't agreed isn't sent to it while an admin views as them.
Automated run
- 1. Open the psychologist and impersonate them
- 2. Open /setup
- 3. Open Your practice and About you
- 4. Nothing was saved
PassedTC-A-84Showing a full practice address asks for a reason and is logged (new)3.6s
Test script
Preconditions Signed in as an admin. Dr Ivy Progress (invited-progress@) has a practice address in Sandy Bay TAS 7005
Steps
- Users, open Dr Ivy Progress, click "Edit" and "Show all fields"
- Under "Business information", click "Show full address"
- Click "Show address" with the reason empty, then type a reason and click it
Expected
- Step 1: "Practice address" shows "Sandy Bay TAS 7005" only, with "Private, and often a home. The psychologist changes it in setup.", and "What the profile shows" gives the public line
- Step 2: "Show the full address?" asks for a reason ("It's often the psychologist's home. Say why you need it; your reason is recorded with your name.")
- Step 3: the button stays off until there is a reason; then the full address shows with "Shown with your reason, which is recorded on their history." A PRACTICE_ADDRESS_VIEWED check is stored with the admin and the reason
Notes The address isn't a field on the admin form any more: the psychologist changes it in setup. Not available while viewing as someone else.
Automated run
- 1. Open Dr Ivy Progress, "Edit" and "Show all fields"
- 2. Click "Show full address"
- 3. Give a reason and show it
PassedTC-A-79Review and approve: the Ahpra check and photo approval are recorded, the psychologist goes live and gets the email (new)7.8s
Test script
Preconditions Signed in as an admin. A psychologist who sent their setup for review with a new photo, everything else done
Steps
- Users, open them
- Under "Ahpra registration and endorsement", open the register, tick "General registration, no conditions" and their endorsement, and click "Mark as checked"
- Under Photo, click "Approve photo"; under insurance and profile copy, "Mark as checked" and "Mark as read"
- Click "Approve and go live"
Expected
- Step 1: a dark band "Ready to approve once N things are done." listing what's left, with "Ask for changes" and "Approve and go live" (off). Then "Checks before going live", "Private details" (the practice address as suburb, state and postcode), "Setup progress" and "History" (invited, opened, made their account, agreed to the agreement and its version, sent for review)
- Steps 2 and 3: each row turns done with "Checked by <admin> on <date>."
- Step 4: "<name> is live"; they show in Search Psychologists and the public profile opens at once. They get "You're live on Pax Psychology"
Notes Each check is a PractitionerCheck with who and when. The photo becomes the profile photo only on approval.
Automated run
- 1. Users, open them
- 2. Record the Ahpra check and "Mark as checked"
- 3. Approve the photo, check insurance and read the profile
- 4. Click "Approve and go live"
- Email "You're live on Pax Psychology" is sent to e2e-invite+e2e-20261104-gh41924178588-a79@paxpsychology.dev
PassedTC-A-80Ask for changes: the note reaches Today and email, and the psychologist sends it back (new)7.9s
Test script
Preconditions As TC-A-79, before approving
Steps
- Click "Ask for changes", type a note and click "Send"
- As the psychologist, open Today, then Review and send, and click "Send it back for review"
Expected
- Step 1: the band reads 'Changes asked for: "<note>"'. The psychologist gets "One change before you go live" with the note, signed with the admin's name
- Step 2: Today shows the note (TC-P-131); after sending, the admins get the ready-for-review email again and the band is back
Automated run
- 1. Click "Ask for changes", type a note and send
- Email "One change before you go live" is sent to e2e-invite+e2e-20261104-gh41924178588-a80@paxpsychology.dev
- 2. As the psychologist, open Today, then send it back
- Email "is ready for review" is sent to admin@paxpsychology.dev
PassedTC-A-81Approve stays off until the required checks are recorded (new)2.3s
Test script
Preconditions As TC-A-79, with no checks recorded
Steps
- Open the psychologist and look at "Approve and go live"
Expected
- The button is off and the band lists "Check the Ahpra register.", "Check the insurance certificate." and "Read the profile copy." (and anything else missing: a photo to approve, payouts, video, a session type with a fee, hours, two-step verification). The server refuses an approval sent anyway.
Automated run
- 1. Open the psychologist and look at Approve
PassedTC-A-83Admins get the ready-for-review email, and can turn it off (new)6.0s
Test script
Preconditions Signed in as an admin
Steps
- Open Settings, Notifications
- A psychologist sends their setup for review
- Turn "Psychologists ready for review" off and have another one send theirs
Expected
- Step 1: "Psychologists ready for review" ("When a psychologist sends their setup, or a change to a live profile, for you to check."), on by default
- Step 2: "<name> is ready for review" with their Ahpra number, endorsement, Medicare, video, payouts, insurance and photo, and "Review <name>'s setup"
- Step 3: no email to this admin; the others still get it
Automated run
PassedTC-A-85The insurance check: open the certificate of currency, confirm the expiry, Mark as checked; Approve waits for it (new)5.6s
Test script
Preconditions As TC-A-79
Steps
- Under "Professional indemnity insurance", click "View certificate"
- Click "Mark as checked"
- The psychologist uploads a new certificate (Settings, Registration)
Expected
- Step 1: the certificate downloads (private: nobody else can open it)
- Step 2: the row is done, "Checked by <admin> on <date>."
- Step 3: the row asks again ("A new certificate came in after the last check.") and, before approval, Approve waits for it
Automated run
- 1. Under insurance, "View certificate"
- 2. Click "Mark as checked"
- 3. The psychologist uploads a new certificate
PassedTC-A-86A live psychologist's profile edit waits for review; the admin sees the change side by side and approves it (new)5.2s
Test script
Preconditions A live psychologist who changed About you (TC-P-132)
Steps
- Open the psychologist
- Click "Approve the change"
Expected
- Step 1: "Profile change waiting for review" with each changed field, live and new side by side, "Ask for changes" and "Approve the change". The admins got "<name> changed their profile"
- Step 2: "The change is live"; the public profile shows the new copy
Automated run
- 1. Open the psychologist
- 2. Click "Approve the change"
PassedTC-A-87A live psychologist's insurance expires: the admins are alerted, the psychologist is reminded, and the listing changes only if an admin decides (new)4.1s
Test script
Preconditions A live psychologist whose certificate expired yesterday. The daily onboarding cron (/api/cron/onboarding)
Steps
- Run the cron
- Open the psychologist as an admin, and their profile signed out
Expected
- Step 1: the admins get "<name>'s insurance has expired"; the psychologist gets "Your insurance certificate has expired". A month before expiry the psychologist got "Your insurance certificate expires soon"
- Step 2: the insurance row reads "Expired <date>. Ask them for a current certificate."; the profile is still live
Notes Nothing pauses on its own (decision 14). Each email goes once; a new certificate resets them. The automated run calls the cron only where it has CRON_SECRET (a local run); on staging it's manual.
Automated run
- 1. Run the cron
- Email "Your insurance certificate has expired" is sent to e2e-invite+e2e-20261104-gh41924178588-a87@paxpsychology.dev
- Email "insurance has expired" is sent to admin@paxpsychology.dev
- 2. Open them as an admin, and their profile signed out
PassedTC-A-88The yearly Ahpra register check: queued, emailed as counts, recorded, and a listing paused and resumed (new)7.0s
Test script
Preconditions Signed in as an admin. A live psychologist approved about 11 and a half months ago (the automated case makes one and moves its approval back). The weekly cron (/api/cron/ahpra-checks)
Steps
- Run the cron
- Users, click "Registration checks"
- Under the psychologist, click "Checked on the register" with nothing chosen, then choose "Not found on the register" (the date defaults to today) and click it again
- Click "Pause listing", keep the reason, and confirm; open their profile signed out
- Click "Resume listing"; open their profile signed out
Expected
- Step 1: they are queued, and every admin gets "<n> Ahpra register checks are due" (or "1 Ahpra register check is due") with Waiting, Overdue and "Added this week" as counts only, never a name, and "Open registration checks"
- Step 2: H1 "Registration checks", sub "We check each psychologist on the public Ahpra register when we approve them and at least once a year after. These are due in the next 30 days or overdue." Each psychologist due: their name (to their user page), "<Ahpra number>. Last checked <d Mon yyyy> at approval. Next check due <d Mon yyyy>.", a "Due soon" or "Overdue" chip, "Search the Ahpra register" (the public register search), "What the register shows" ("Current, no conditions", "Current, with conditions", "Not found on the register"), "Checked on" (a date, not in the future) and "Note (optional)"
- Step 3: "Choose what the register shows." first; then "Register check recorded", the row moves to the top with a "Needs a decision" chip, reads "...: Not found on the register." and "The register showed no registration. You can pause the listing while you look into it." with "Pause listing". A check that finds a problem stays in the list for 30 days; a current one leaves it until the next is due
- Step 4: "Pause <name>'s listing?" ("They come off the directory and can't be booked, by new or current clients, until you resume it. Sessions already booked stay booked. They can't resume it themselves."), the reason "Not found on the Ahpra register on <date>."; then "Listing paused" and "Paused <date>: <reason>. They aren't listed or bookable." The profile is not found, and their own Your listing reads "Paused by Pax Psychology"
- Step 5: the profile is back
Notes Every check, pause and resume is a PractitionerCheck row (who and when; never changed). A current registration recorded here also counts as the review's Ahpra check. With no admin action the queue just waits; nothing pauses on its own. The automated run calls the cron only where it has CRON_SECRET (a local run); on staging it's manual.
Automated run
- 1. Run the weekly cron
- Email "Ahpra register check" is sent to admin@paxpsychology.dev
- 2. Users, Registration checks
- 3. Choose "Not found on the register" and click "Checked on the register"
- 4. Click "Pause listing" and confirm
- 5. Click "Resume listing"
PassedTC-A-05Edit an existing user6.3s
Test script
Preconditions Logged in as an admin
Steps
- Open a user's detail page and click "Edit"
- Update the name and save
Expected
- Detail page: a "Users" back link, H1 = the user's name over their email, buttons "Impersonate" (non-admins), "Emails", "Edit" and "Deactivate", then role and status chips; cards "Basic information" (Email, "Profile URL" for psychologists, Phone, Joined), "Professional details" (psychologists) and "Client details" (clients); empty values read "Not given"
- Edit page: a back link named after the user, H1 "Edit user", the sub-line "<name>, <email>"; Email is read-only ("Email can only be changed by the user."); buttons "Save changes" ("Updating…" while pending) and "Cancel"; toast "Client updated successfully" (or the equivalent for the role)
- The change appears in the users list
Automated run
- Setup: create a throwaway client to edit
- 1. Open a user's detail page and click "Edit"
- 2. Update the name and save
- Expected: the change appears in the users list
PassedTC-A-06Deactivate a user5.5s
Test script
Preconditions Logged in as an admin with a non-admin user to deactivate
Steps
- Open the user's detail page and click "Deactivate"
- Read the confirmation dialog and click "Deactivate user"
- Try to sign in as that user
Expected
- A confirmation dialog opens on the user page (no separate page) titled "Deactivate <name>?", with the copy "They won't be able to sign in. Nothing is deleted: their data stays put, and you can reactivate the account any time."
- Buttons "Deactivate user" (spinner while pending) and "Cancel"
- "Deactivate" is not offered on your own record or on a suspended user
- Toast "<name> has been deactivated"; the list shows the "Suspended" pill
- The deactivated user cannot sign in
Automated run
- Setup: create a throwaway client (with a password) to deactivate
- 1. Open the user's detail page and click "Deactivate"
- 2. Read the confirmation and click "Deactivate user"
- 3. Try to sign in as that user
PassedTC-A-07Impersonate a client5.5s
Test script
Preconditions Logged in as an admin
Steps
- From
/dashboard/users, open a CLIENT user and click "Impersonate". In the dialog, choose "Support request" and click "Start impersonating" - Move around the dashboard
Expected
- "Start impersonating" shows a spinner; toast "Now impersonating <name>"
- An amber banner reads "Viewing as <name> (client) for: Support request" with a "Stop Impersonating" button
- The dashboard shows the client portal (Home / Sessions / Care) with that client's data
- The sidebar user chip shows an "Impersonating" badge
- The event is written to the impersonation log
Notes "Impersonate" is only offered for non-admin targets. The reason step is tested in TC-A-43.
Automated run
- 1. From /dashboard/users, open a CLIENT user and click "Impersonate"
- 2. Move around the dashboard
- Expected: the event is written to the impersonation log
PassedTC-A-08Impersonate a psychologist5.4s
Test script
Preconditions Logged in as an admin
Steps
- From
/dashboard/users, open a PSYCHOLOGIST user and click "Impersonate", choose "Support request" and click "Start impersonating"
Expected
- Toast "Now impersonating <name>"; banner "Viewing as <name> (psychologist) for: Support request".
<name>is the account name without the title (the user page heading reads "Dr Emily Thompson", the toast "Emily Thompson") - The dashboard shows the psychologist Today page with their sessions and requests
Automated run
- 1. From /dashboard/users, open a PSYCHOLOGIST user and click "Impersonate"
PassedTC-A-09Stop impersonation and check the audit log10.7s
Test script
Preconditions Currently impersonating (TC-A-07 or TC-A-08)
Steps
- Click "Stop impersonating" in the amber banner
- Go to
/dashboard/usersand click "Impersonation log" - Type the impersonated user's email into "Search by admin or user", then a name that matches nobody
Expected
- Button shows "Returning..."; toast "Returned to <adminName>"; you land back on
/dashboard/usersas the admin /dashboard/users/impersonation-log: a "Users" back link, H1 "Impersonation log", sub "An audit trail of every admin impersonation session."- Table columns are exactly "Date", "Admin", "Target user", "Action", "Reason", "IP address" (shown in capitals); Admin and Target user cells show name over email; Action shows a
STARTorSTOPchip; a START row shows the reason given ("Support request"), with any details under it; a missing IP, or a reason on a row from before reasons were asked, reads "Not recorded" - With no sessions yet, the column heads stay and the panel reads "No impersonation sessions yet."
- Both the START and the STOP row for the session just run are present
- Page size is 20
- The search box sits above the table. It matches the admin's or the target user's name or email (case-insensitive, server-side), adds
?search=to the URL and goes back to page 1; pagination counts only the matching rows - Searching the impersonated user's email leaves only their rows; a search that matches nobody keeps the column heads and reads "No sessions match your search."
Notes The column headings are "Target user" and "IP address"; update any older test note that says "Target" and "IP".
Automated run
- Setup: impersonate the seeded client so there is a session to stop
- 1. Click "Stop impersonating" in the amber banner
- 2. Go to /dashboard/users and click "Impersonation log"
- 3. Search the log by the impersonated user's email
PassedTC-A-28Impersonation limits (new)9.0s
Test script
Preconditions Logged in as admin@paxpsychology.dev. inactive@ (Ira Inactive, deactivated) and impersonated@ (Indy Impersonated, active) are reset by the acceptance seeder every run
Steps
- Open your own user record, then another admin's (
2fa-admin@) - Open Ira Inactive's record
- Open Indy Impersonated's record and click "Impersonate", choose "Support request" and click "Start impersonating". Visit
/dashboard/usersand/dashboard/users/<your own id> - While impersonating, open
/psychologistsand/ - Open Settings › Account, click "Delete account", then "Delete account" in the dialog
- Look at the impersonation session's expiry (database:
sessions.expiresfor the row withimpersonated_byset) - Click "Stop impersonating" and look at the impersonation log
Expected
- Step 1: no "Impersonate" button on an admin's record, your own included
- Step 2: the record reads "Suspended" and offers "Reactivate"; there is no "Impersonate" button
- Step 3: the amber banner "Viewing as Indy Impersonated (client) for: Support request"; no "Users" item in the sidebar; both admin URLs send you back to the client's dashboard
- Step 4: the same banner shows on the public pages
- Step 5: the error toast "You can't do this while impersonating. Only the account holder can."; the dialog stays open and the account stays active
- Step 6: the impersonation session expires 8 hours after it started
- Step 7: you are the admin again; the log has exactly one START row (reason Support request) and one STOP row for this impersonation, and none for Ira
Automated run
- 1. Open your own record, then another admin's
- 2. Open the deactivated client's record
- 3. Impersonate the client; the admin pages are closed to you
- 4. Public pages carry the impersonation banner too
- 5. Try "Delete account" as the client
- 6. The impersonation session lasts 8 hours
- 7. Stop impersonating: the admin is back, with a START and a STOP row
PassedTC-A-29Deactivation signs the user out everywhere; reactivation lets them back (new)10.7s
Test script
Preconditions Logged in as the admin. A throwaway client with a password, created from /dashboard/users/add, signed in in a second browser
Steps
- In the client's browser, open
/dashboard/appointments - As the admin, open the client's record, click "Deactivate", then "Deactivate user"
- In the client's browser, click Home in the sidebar, then reload; then try to sign in again
- As the admin, open the record again and click "Reactivate", then "Reactivate user"
- In the client's browser, sign in
Expected
- Step 2: the toast "<name> has been deactivated"; the client's sessions are deleted at once
- Step 3: the very next click lands on
/auth/login(the open session no longer works), and signing in shows "Your account has been deactivated. Please contact support for assistance." - Step 4: the record offers "Reactivate" instead of "Deactivate"; the dialog is "Reactivate <name>?"; the toast "<name> has been reactivated"
- Step 5: the client signs in and lands on Home ("Hey <FirstName>.")
Automated run
- Setup: invite a throwaway client with a password
- 1. In the client's own browser, sign in and open Sessions
- 2. As the admin, deactivate the client
- 3. In the client's browser, click Home, then reload
- 4. As the admin, click "Reactivate"
- 5. The client can sign in again
PassedTC-A-30An edit cannot change a user's email (new)5.3s
Test script
Preconditions Logged in as the admin. A throwaway client created from /dashboard/users/add
Steps
- Open the client's record and click "Edit"
- In the browser's developer tools, remove
readonlyfrom the Email field, type another address, and click "Save changes" - Open the client's record again
Expected
- Step 1: Email is read-only, with the hint "Email can only be changed by the user."
- Step 2: the save is refused: the Email field is marked invalid with "Email can only be changed by the user.", and there is no success toast
- Step 3: the record still shows the original email; no user has the new address
Notes An email is where password resets go, so the server refuses the change whatever the request says, not just the form.
Automated run
- Setup: invite a throwaway client
- 1. Open the client's Edit page
- 2. Remove readonly from Email, type another address and save
- 3. The user keeps the original email
PassedTC-A-43An admin gives a reason before impersonating (new)9.8s
Test script
Preconditions Logged in as admin@paxpsychology.dev (a fresh sign-in, so no code is asked for). impersonated@ (Indy Impersonated) is reset to active by the acceptance seeder every run
Steps
- Open Indy Impersonated's record and click "Impersonate"
- Choose "Other", leave the details empty, and click "Start impersonating"
- Type a short note in the details (for example "Checking a booking problem, ticket 4821") and click "Start impersonating"
- Open
/ - Click "Stop Impersonating", open the impersonation log and search for
impersonated@paxpsychology.dev
Expected
- Step 1: the dialog "Why do you need to view as Indy Impersonated?" opens, with the reasons Support request, Safety concern, Legal or complaint, Data access request and Other (the same list as viewing clinical records). "Start impersonating" is disabled until one is chosen
- Step 2: the dialog stays open with "Say why you need to view as them."; nothing is logged and you are still the admin
- Step 3: the toast "Now impersonating Indy Impersonated" and the amber banner "Viewing as Indy Impersonated (client) for: <your note>" (for "Other" the banner shows your own words; for any other reason, its name)
- Step 4: the same banner, with the reason, on the public site
- Step 5: the START row shows Other in the Reason column with your note under it
Notes If the admin's last sign-in or code is more than a few minutes old, a "Confirm it's you" dialog comes after the reason. Any clinical record opened while impersonating is logged in the clinical access log with this reason and note (TC-A-41).
Automated run
- 1. Open the client's record and click "Impersonate"
- 2. Choose "Other" with no details and start
- 3. Give the details and start
- 4. The public site shows the same reason
- 5. The impersonation log shows the reason on the START row
PassedTC-A-40An admin must give a reason before viewing a client's clinical records (new)14.8s
Test script
Preconditions Logged in as admin@paxpsychology.dev (a fresh sign-in, so no code is asked for); client@paxpsychology.dev exists
Steps
- Open
/dashboard/users, openclient@paxpsychology.dev, and click "View clinical records" in the Clinical records card. If the page opens on the records (access from an earlier run), click "Done, close access" and reload - Choose "Other", leave the details empty, and click "View records"
- Click "Cancel"
- Click "Give a reason to view", choose "Support request", type a short note in the details, and click "View records"
- Click "Done, close access"
Expected
- Step 1:
/dashboard/users/<id>/clinicalopens on a "A reason is needed" card, with the dialog "Why do you need to see these records?" on top (it opens by itself on arrival). The reasons scroll inside it, and "Cancel" and "View records" stay on screen, even at 720px high or on a phone. The reasons are Support request, Safety concern, Legal or complaint, Data access request and Other, and "View records" is disabled until one is chosen. No note, document, journal entry or message is on the page - Step 2: the dialog stays open with "Say why you need to view these records."
- Step 3: the dialog closes and the records stay locked
- Step 4: a toast "Access open for 30 minutes"; a banner "Open until <time> for: Support request" with the note, "Read only. Everything on this page, and each download, is logged under your name."; then the cards Session notes, Client notes, Documents, Journal, Assessments and homework, Mental health plans and GP reports and Messages. There is no "Export data (ZIP)" button for this reason
- Step 5: the toast "Access closed" and the locked card again, with the dialog closed (it opens by itself only when you arrive on the page)
Notes Admins hold no clinical access by default. If the admin's last sign-in or code is more than a few minutes old, a "Confirm it's you" dialog comes first. Access lasts 30 minutes and covers only this client. An admin's appointment page shows "View clinical records" in place of the notes and documents until they give a reason. Admins can't edit clinical records.
Automated run
- 1. Open the client's user page and click "View clinical records"
- Expected: the records stay locked and the reason dialog opens
- 2. Choose "Other" with no details and submit
- 3. Cancel
- 4. Give the reason "Support request" with details
- Expected: the records open read only, for 30 minutes
- 5. Click "Done, close access"
PassedTC-A-41Every clinical record an admin opens is logged (new)11.9s
Test script
Preconditions As TC-A-40
Steps
- Open the client's clinical records with the reason "Safety concern" and a short note, then click "Done, close access"
- Open
/dashboard/users, click "Clinical access log", and search forclient@paxpsychology.dev - Set Action to "Exported"
Expected
- Step 2: H1 "Clinical access log", sub-line "Every clinical record an admin opened, with the reason they gave." Columns Date, Admin, Client, Record, Reason, From. A row for the admin and the client with Clinical record, the chip Viewed, Safety concern and the note, and an IP address with a short browser summary (for example "Chrome on macOS"). One more row for each note, document or message that was on the page
- Step 3: the URL gains
?action=EXPORTand the rows from step 1 drop out
Notes A row is written before the record is shown; if the log can't be written, the record isn't shown. While an admin impersonates someone, their reads are logged under the admin's own name with "Viewing as <name>" and the reason they gave for impersonating (TC-A-43), and "While impersonating" filters to those.
Automated run
- 1. Open the client's clinical records with the reason "Safety concern"
- 2. Open Users, then "Clinical access log", and search for the client
- Expected: a row names the admin, the client, the record and the reason
- 3. Filter by the action "Exported"
PassedTC-A-42Start a data access request (new)8.6s
Test script
Preconditions Logged in as admin@paxpsychology.dev (a fresh sign-in). access@paxpsychology.dev (Avery Access, a client of test@ only) has no open data access request; the seeder resets it every run
Steps
- Open Avery Access's clinical records with the reason "Data access request" and a short note
- Click "Start a data access request", leave today's date in "When did the client ask?", type a note in "How it came in" and click "Send for review"
- Click "Done, close access", open
/dashboard/usersand click "Data access requests" - Open the clinical access log with Action "Export requested" and search for
access@paxpsychology.dev
Expected
- Step 1: the banner says "The export includes everything, once each treating psychologist has reviewed it." A Data access request card offers "Start a data access request"; there is no download button
- Step 2: the dialog "Start a data access request" says the export includes notes the client hasn't been shown and that psychologists have 14 days. Then the toast "Sent to 1 psychologist to review"; the card reads "Received <today>. Respond to the client by <today + 30 days>", the chip With psychologists, "Waiting for 1 of 1 psychologist", and Emily Thompson with the chip Waiting. There is still no download button, and
/api/admin/clinical-export/<id>answers 409 test@gets the email "Please review Avery's request for their records by <date>"- Step 3: H1 "Data access requests"; a row for Avery Access with the dates, Emily Thompson Waiting and With psychologists
- Step 4: a row Data export, the chip Export requested, Data access request and the note
Notes The old "Export data (ZIP)" button is gone: the export is downloaded once the psychologists have reviewed it (TC-A-44). A client can have one open request at a time.
Automated run
- 1. Open Avery Access's clinical records with the reason "Data access request"
- Expected: a Data access request card, with no export yet
- 2. Click "Start a data access request", keep today's date, add a note and send
- Expected: the request waits on test@, and can't be downloaded
- Email "request for their records" is sent to test@paxpsychology.dev
- 3. Open Users, then "Data access requests"
- Expected: the request is in the clinical access log
PassedTC-A-44The treating psychologist reviews the request before anything is released (new)14.0s
Test script
Preconditions As TC-A-42, with a request for Avery Access waiting on test@ (the case starts one if there isn't). A second browser signed in as test@paxpsychology.dev
Steps
- As
test@, open Today - Click "Review the request"
- Tick "Withhold this record" on the private session note and click "Send review"
- Choose "Serious threat to life, health or safety (APP 12.3(a))", type reasons, click "Send review", then "Send review" in the dialog
- As the admin, reload Avery Access's clinical records (open with the reason Data access request)
- Click "Download export (ZIP)"
- Open the clinical access log for
access@with Action "Reviewed", "Withheld" and "Exported"
Expected
- Step 1: a Needs you row (maybe behind "Show <n> more") "A client has asked for their records." with "Your review is due by <Day D Mon>." and "Review the request"
- Step 2: H1 "Avery Access asked for their records", "Please review by <date>", an amber note explaining everything is released unless withheld and that reasons go to the client. Three records: the private note, the shared note (tagged "Already visible to the client") and the client note, each with its text and "Withhold this record". The footer reads "Releasing all 3 records."
- Step 3: under the note, "Choose the ground." and "Say why it should be withheld."; no dialog opens
- Step 4: the footer reads "Releasing 2, withholding 1."; the dialog "Send your review?" says "2 records will be in Avery Access's export and 1 withheld, with your reasons. You can't change this afterwards." Then the toast "Review sent. The export is ready for the Pax Psychology team."; the page is read only, the note marked "Withheld: Serious threat to life, health or safety." with the reasons and the others "Released"; Today no longer shows the band
- Step 5: the card's chip reads Ready to download; Emily Thompson shows 1 withheld, with the ground and the reasons
- Step 6: a file
pax-data-avery-access-<date>.zipdownloads. It holdsREADME.txt,profile.json,sessions.json,client-notes.json,invoices.json,consents.json,journal.json,assessments.json,homework.json,mental-health-plans.json,gp-reports.jsonandmessages.json: the shared note and the client note are in it, the withheld note isn't.README.txtlists the withheld note with "Withheld by Emily Thompson under APP 12.3(a): Serious threat to life, health or safety" and "Reasons: ...", and says how to ask for a review or complain to the OAIC - Step 7: a Reviewed row by Emily Thompson ("Treating psychologist", "3 records reviewed, 1 withheld"), a Withheld row for the session note with the ground and reasons, and Exported rows (one Data export row and one per released record)
Notes Only the psychologist can answer: an admin viewing as them sees the page read only (and the read is logged). A record written after the review is left out of the export and counted in README.txt.
Automated run
- Setup: the admin starts a request for Avery Access
- 1. As test@, open Today
- 2. Click "Review the request"
- Expected: every record test@ holds, unshared ones included
- 3. Tick "Withhold this record" on the private note and click "Send review"
- 4. Choose the ground, give reasons and send
- Expected: the review is read only, with the withheld note
- 5. As the admin, reload the clinical records
- 6. Click "Download export (ZIP)"
- Expected: each step is in the clinical access log
PassedTC-A-45An overdue review holds the export until the request is closed (new)12.8s
Test script
Preconditions As TC-A-44, with a new request for Avery Access whose review date has passed (the case sets it to yesterday in the database)
Steps
- As the admin, reload Avery Access's clinical records
- As
test@, open Today - As the admin, click "Close request", then "Close request" in the dialog
- As
test@, reload Today, then open/dashboard/access-requestsand the request
Expected
- Step 1: the card's chip reads Review overdue and Emily Thompson shows Overdue; there is no download button, and the export route answers 409
- Step 2: in Needs you (click "Show more" if it's there), the records row reads "A review is overdue. Nothing is released until you've reviewed it."
- Step 3: the dialog "Close this request?" says "Some psychologists haven't reviewed it yet. Closing cancels their reviews, and the export can't be downloaded." Then the toast "Request closed", and the card says the last request was closed, with "Start a data access request" again
- Step 4: no row about it in Needs you on Today; the request is listed as Closed, and its page reads "The Pax Psychology team closed this request. There's nothing more to do.", with nothing to send
Notes Nothing is released automatically when a review is late.
Automated run
- Setup: start a request for Avery Access, then make its review a day overdue
- 1. Reload the clinical records
- 2. As test@, open Today
- 3. As the admin, click "Close request", then "Close request" in the dialog
- 4. As test@, reload Today and open the request
PassedTC-A-89Send a departing psychologist their client records, once, logged (new)7.4s
Test script
Preconditions Signed in as an admin. A psychologist who has left and asked, within 90 days, for the client records they made (agreement clause 10.8(d)); the automated case makes one with a private client note about joins@
Steps
- Open the psychologist's user page
- Under "Client records export", click "Send their records", click "Send the link" with "How they asked" empty, then fill it in and send
- Open the emailed link signed out and click "Download your records", then open the link again
- Reload the user page; open the clinical access log
Expected
- Step 1: a card "Client records export" ("When a psychologist leaves and asks within 90 days, we send them the client records they made (agreement clause 10.8(d)).") reading "None sent yet."
- Step 2: "Send <name> their client records?" ("They get an email with a link to one ZIP of every client record they made in Pax Psychology. It works once, for 72 hours. You don't see the records, and every record that goes out is logged."), "The day they asked" (today; never in the future) and "How they asked"; empty, "How they asked is required". It asks for your code first if your last one is old. Then "Sent. <name> has a link for 72 hours." and a row "Asked <date>, sent <date, time> by <admin>: 1 client" with "Emailed, waiting". The psychologist gets "Your client records are ready to download" with "Download your records"; the correspondence log shows the link as
/records-export/redacted - Step 3: "Your client records are ready." with the count, then a ZIP
pax-psychology-client-records-<date>.zip: README.txt (clause 10.8(d), what is included) andclients/<name>-<id>/record.jsonwith their sessions, client notes, working documents, assessments, homework, GP reports and messages, plus the files. Never the client's journal or another psychologist's records. Opening the link again: "This link has been used." - Step 4: the row reads "Downloaded" with when; the clinical access log has an "Export requested" row per client under the admin and an "Exported" row per record under the psychologist, with the reason "Records export for a departing psychologist"
Notes Opening the link never uses it (the download is a POST), so a mail scanner can't spend it. A new export withdraws an unused older link. The admin never sees the records.
Automated run
- 1. Open the psychologist's user page
- 2. Click "Send their records", say how they asked, and send
- Email "Your client records are ready to download" is sent to e2e-invite+e2e-20261104-gh41924178588-a89-0@paxpsychology.dev
- 3. Open the emailed link signed out and download
- 4. Back on the user page, and the clinical access log
PassedTC-A-52An admin can audit what the retention job destroyed (new)7.3s
Test script
Preconditions admin@paxpsychology.dev and test@paxpsychology.dev (psychologist)
Steps
- As the admin, open
/dashboard/usersand click "Destruction log" - Set Category to "Financial"
- Sign in as the psychologist and visit
/dashboard/users/retention-log
Expected
- Step 1:
/dashboard/users/retention-logwith H1 "Destruction log" and the sub-line "Records destroyed at the end of their retention period: what kind, whose and when. Never their content." A notice reads "Destruction is off. The daily job only counts what is due." (or, onceRETENTION_DESTRUCTION_ENABLED=trueis set on the deployment, "The retention job is destroying records that are due."). Three cards, Clinical, Closed account and Financial, each with a record count. The table has the columns Destroyed, Record, Client id, Count, Records dated and Why; with no rows it shows "Nothing has been destroyed yet." - Step 2: the URL gains
?category=FINANCIAL - Step 3: sent back to the psychologist's dashboard; no "Destruction log" heading
Notes The log holds a client id, the kind of record, the count, the dates and the reason, never names or content. Dry runs write nothing, so on staging the log stays empty until destruction is turned on. A row reads like "Client documents, Clinical, cm..., 2 (2 files), 1 Mar 2017 to 4 May 2018, 7 years after the last service or entry on 4 May 2018, Kept until 4 May 2025".
Automated run
- 1. As the admin, open Users, then "Destruction log"
- Expected: the mode, the totals and the log
- 2. Set Category to "Financial"
- 3. As the psychologist, visit the destruction log
3C. Content Management
1 passed 2 retired
RetiredTC-A-10Create, edit, and publish a blog post6ms
The blog has been folded into the Toolkit. There is no /dashboard/blog any more; /dashboard/blog, /dashboard/blog/add and /dashboard/blog/:id return not found (TC-A-21). The Toolkit editor is tested as TC-A-16.
RetiredTC-A-11Create, edit, and publish a story/testimonial–
Replaced by TC-A-95. Stories are their own section again (/dashboard/stories, in the same editor as the Toolkit articles); test them as TC-A-95. The "It's normal" carousel on the directory page shows the published stories (see TC-C-09).
PassedTC-A-12Create, edit, and publish an FAQ13.3s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/faqs - Click "New FAQ"
- Enter a Question and Answer, pick an Audience, turn "Published" on, and click "Create FAQ"
- Edit the FAQ and save
- Check the FAQ accordion on the homepage
- Delete the FAQ
Expected
- List: H1 "FAQs" with "<n> questions across the site" and a "New FAQ" button; search placeholder "Search by question or answer"; a status select ("All FAQs" / "Published" / "Draft") and an audience button group ("All", "For clients", "For psychologists", "Billing", the active one filled dark)
- A table with columns "Question", "Audience", "Status"; each row has the question (a link to the edit page) over a one-line answer excerpt, and edit and delete icon buttons; uncategorised rows read "Uncategorised". The footer reads "1-<n> of <total> questions" with rows per page and previous/next
- New and Edit pages have a "FAQs" back link and one white card: fields "Question" (placeholder
What do people ask?), "Answer" (placeholderMarkdown links work, like [Our Story](/our-story)), "Audience (optional)", and a "Published" switch described as "Visible on the public marketing site." The New page subtitle reads "Add a question to the site FAQs." - Buttons "Create FAQ" / "Update FAQ" (pending "Saving…") and "Cancel"; toasts "FAQ created successfully" / "FAQ updated successfully"
- A published FAQ appears in the homepage accordion, the cobalt "FAQs" band
- Delete opens "Delete this FAQ?" and gives the toast "FAQ deleted successfully"
Notes The standalone /faqs page uses a separate, hard-coded list – editing an FAQ here changes the homepage accordion only (see TC-C-31).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/faqs
- 2. Click "New FAQ"
- 3. Enter a Question and Answer, pick an Audience, turn "Published" on, and click "Create FAQ"
- 4. Edit the FAQ and save
- 5. Check the FAQ accordion on the homepage
- 6. Delete the FAQ
3D. Newsletter
3 passed
PassedTC-A-13View newsletter subscribers5.6s
Test script
Preconditions Logged in as an admin with at least one subscriber (create one via TC-C-27)
Steps
- Navigate to
https://paxpsychology.dev/dashboard/newsletter - Search for a subscriber by email, then by first name
- Try the "All", "Active" and "Unsubscribed" tabs
Expected
- H1 "Newsletter" with the sub-line "Manage subscriptions and export subscriber data."
- Search placeholder "Search by email or name"
- Status filter buttons "All", "Active", "Unsubscribed" beside the search. The choice is reflected in the URL as
?status=, and a count on the right reads "<filtered> of <total>" - A table with the columns "Email", "First name", "Status", "Subscribed"; status chips "Active" / "Unsubscribed"; a missing name reads "Not given"; dates read like "11 Aug 2026"
- Under the table: "1-10 of N subscribers", "Rows per page", "Page X of Y" and previous / next buttons
- Empty states "No subscribers yet" / "Newsletter subscribers will appear here once people sign up." and, when filtered, "No subscribers found matching your criteria."
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/newsletter
- 2. Search for a subscriber by email, then by first name
- 3. Try the "All", "Active" and "Unsubscribed" tabs
PassedTC-A-14Export subscribers as CSV5.3s
Test script
Preconditions Logged in as an admin with subscribers
Steps
- Switch to the "Active" tab
- Click "Export CSV" and choose "Export Current View (Active)"
- Open the file
- Repeat with "Export all subscribers", "Export active only" and "Export Unsubscribed Only"
Expected
- "Export CSV" is a dropdown, not a plain button; it offers "Export Current View (All|Active|Unsubscribed)", "Export all subscribers", "Export active only" and "Export unsubscribed only"
- "Export Current View" respects the tab you are on; the other three ignore it
- The file downloads as
newsletter-subscribers-<filter>-<YYYY-MM-DD>.csv(today's date in your time zone, not UTC) with the headers "Email", "First Name", "Subscribed At", "Status", "Unsubscribed At" - Toast "Export completed successfully" (failure: "Failed to export subscribers")
Notes The export filters by status only – the current search string is not applied to the export.
Automated run
- 1. Switch to the "Active" tab
- 2. Click "Export CSV" and choose "Export Current View (Active)"
- 3. Open the file
- 4. Repeat with "Export all subscribers", "Export active only" and "Export unsubscribed only"
PassedTC-A-15Toggle a subscriber's status and delete a subscriber12.7s
Test script
Preconditions Logged in as an admin with at least one active subscriber
Steps
- Open the "⋯" menu on an active subscriber's row
- Click "Mark unsubscribed"
- Reopen the menu on the same row and click "Reactivate"
- Open the menu again and click "Delete", then confirm
Expected
- The row menu is behind a "⋯" button labelled "Actions for <email>"; the toggle item reads "Mark unsubscribed" for an active subscriber and "Reactivate" for an unsubscribed one. It fires immediately with no confirmation
- Toasts "Subscriber marked as unsubscribed" and "Subscriber reactivated" (failure: "Failed to update subscriber status")
- Marking someone unsubscribed also emails them, subject "You're off the list"
- Delete opens the dialog "Delete subscriber" / "Are you sure you want to delete this subscriber? This action cannot be undone."; toast "Subscriber deleted successfully"
- The row moves between the Active and Unsubscribed tabs accordingly
Automated run
- Setup: subscribe from the public /toolkit newsletter strip
- 1. Open the "⋯" menu on an active subscriber's row
- 2. Click "Mark unsubscribed"
- Email "You're off the list" is sent to e2e+e2e-20261104-gh41924178588-a15@paxpsychology.dev
- 3. Reopen the menu on the same row and click "Reactivate"
- 4. Open the menu again and click "Delete", then confirm
3E. Toolkit CMS (new)
15 passed 1 skipped by design
PassedTC-A-16Create, edit and publish a Toolkit article24.8s
Test script
Preconditions Logged in as an admin, with at least one category and author
Steps
- Navigate to
https://paxpsychology.dev/dashboard/toolkit - Click "New article"
- Enter a Title and click "Generate from title" next to "URL slug"
- Fill Excerpt and Body, choose a Cover image from Media, pick a Category and Author
- Click "Save draft"
- Reopen the article from the list and click "Publish"
- Check
/toolkitin a signed-out window - Reopen the article, turn on "Feature in the Toolkit", and click "Update"
Expected
- List: H1 "Toolkit" with "<n> articles: <n> published, <n> scheduled and <n> drafts" ("scheduled" counts Scheduled articles whose publish date is still in the future, and shows 0 when there are none); buttons "View live" (opens
/toolkitin a new tab) and "New article"; search placeholder "Search articles"; status tabs "All", "Published", "Drafts", "Scheduled"; a category select starting with "All categories" - A table with columns "Article", "Category", "Author", "Status", "Views"; chips "Published" (green) / "Scheduled" (blue) / "Draft" (grey); featured rows carry a star; Views shows the count (0 for drafts). A footer reads "1-10 of <n> articles" with Rows per page and Previous/Next. On a phone the table becomes a list of article cards and nothing scrolls sideways
- Editor: a "Toolkit" back link above the H1 "New article" (or "Edit article"), with "Save draft" and the primary button top right; fields "Title" (placeholder
Give it a headline, with a livepaxpsychology.com.au/toolkit/slug preview), "URL slug", "Excerpt", "Cover image", a "Body" card with a footer that reads "0 words" while empty and "<n> words, a <n> min read" once there is text, and sidebar cards "Publish", "Details" (Category, Author, "Written by (optional)" and "Their role (optional)" for a writer without an account) and "Live preview" - "Save draft" forces the status to Draft regardless of the radio selection; toast "Article created successfully"
- "Publish" on a draft promotes it to Published immediately – this is the fix in this build. On an already-published article the primary button reads "Update"; with the Scheduled radio selected it reads "Schedule"
- Both buttons show "Saving…" while submitting, and success returns you to the list
- The published article is live at
/toolkit/<slug>; featuring it pins it to the top of the Toolkit index
Notes "Publish" is disabled until the Title has content.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/toolkit
- 2. Click "New article"
- 3. Enter a Title and click "Generate from title" next to "URL slug"
- 4. Fill Excerpt and Body, choose a Cover image from Media, pick a Category and Author
- 5. Click "Save draft"
- 6. Reopen the article from the list and click "Publish"
- 7. Check /toolkit in a signed-out window
- 8. Reopen the article, turn on "Feature in the Toolkit", and click "Update"
PassedTC-A-17Toolkit status radio and scheduled articles13.0s
Test script
Preconditions Logged in as an admin with a draft article
Steps
- Open the article and look at the "Publish" card in the right-hand sidebar
- Select "Scheduled", set a "Goes live" date/time in the near past, and save
- Wait past that time and reload
/toolkit
Expected
- The sidebar radio group (real radio buttons) offers "Draft" / "Only you can see it", "Published" / "Live in the Toolkit" and "Scheduled" / "Goes live on a set date"
- Choosing "Scheduled" reveals a "Goes live" datetime field, and the primary button becomes "Schedule"
- A "Feature in the Toolkit" switch ("Pin to the top spot") sits in the same card
- A SCHEDULED article does not go live on its own – there is no scheduled-publish job. It stays off
/toolkituntil someone reopens it and presses Publish/Update
Notes Flag this to the team if the intent is for scheduling to be automatic; today it is a manual reminder, not a scheduler.
Automated run
- Setup: write a draft article to schedule
- 1. Open the article and look at the "Publish" card in the right-hand sidebar
- 2. Select "Scheduled", set a "Goes live" date/time in the near past, and save
- 3. Wait past that time and reload /toolkit
PassedTC-A-18Delete a Toolkit article11.2s
Test script
Preconditions Logged in as an admin with a published article you can discard
Steps
- Open the article and scroll to the "Danger zone" card
- Click "Delete article" and confirm
Expected
- Copy: "Deleting takes the article off the Toolkit straight away. This can't be undone."
- Confirmation dialog "Are you sure?" / "This article "<title>" will be permanently deleted." with "Delete" and "Cancel"
- Toast "Article deleted"; the article disappears from
/toolkitimmediately (failure: "Couldn't delete the article. Try again.")
Automated run
- Setup: publish an article that can be discarded
- 1. Open the article and scroll to the "Danger zone" card
- 2. Click "Delete article" and confirm
- Expected: the article disappears from /toolkit immediately
PassedTC-A-95Stories in the admin: list, write, publish and delete a story (new)7.6s
Test script
Preconditions Logged in as an admin
Steps
- Click "Stories" in the admin sidebar
- Click "New story", fill in a Title (then "Generate from title"), Excerpt, "Told by" and the Body, and click "Publish"
- Open
/stories/<slug>in a signed-out window - Back in Stories, open the story and delete it
Expected
- The sidebar has "Stories" under "Toolkit", with an open book icon, linking to
/dashboard/stories - List: H1 "Stories" with "<n> stories: <n> published, <n> scheduled and <n> drafts", "View live" (→
/stories) and "New story", a "Search stories" field and the status tabs, but no category filter and no Category column (stories have none). Sarah and Harry are listed here, not under Toolkit - Editor: the same editor as an article, with a "Stories" back link, the H1 "New story" (or "Edit story"), the slug preview
paxpsychology.com.au/stories/…, "Published" / "Live on Your stories", a "Feature on Your stories" switch, and in Details the Author and "Told by (optional)" (the teller's name, shown as the byline), no Category or role field - Publishing shows "Story created successfully"; the story is live at
/stories/<slug>with "Shared by <teller>", and/toolkit/<slug>is a 404 - Delete: "Deleting takes the story off Your stories straight away. This can't be undone." Confirming shows "Story deleted" and the page 404s
Notes The same permissions as the articles: psychologists and clients get the 403 screen at /dashboard/stories. Anything added to the article editor (such as the media picker) reaches stories too.
Automated run
- 1. Click “Stories” in the admin sidebar
- 2. Click “New story”, fill it in and click “Publish”
- 3. Open /stories and the new story
- 4. Back in Stories, open it and delete it
PassedTC-A-19Categories, Authors and Media (new)18.7s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
/dashboard/categories, add a category, edit it, then delete it - Navigate to
/dashboard/authors - Navigate to
/dashboard/media, upload an image, search for it by its name, then search for a name nothing has and click "Clear filters"; then open the image and move it to the trash
Expected
- Categories: H1 "Categories" with "<n> categories across the Toolkit" and a "New category" button; columns "Category", "Slug", "Description", "Live articles"; the dialog is titled "New category" / "Edit category" with fields "Name" (placeholder
e.g. Burnout), "URL slug" ("Leave blank to derive it from the name.") and "Description" ("Optional. Shown on the Toolkit index."); each row has edit and delete icon buttons; empty state "No categories yet. Create one to organise the Toolkit." A new category appears as a chip on/toolkit - Categories delete: the dialog is titled
Delete "<name>"?. If the category has live articles, a "Move articles to" select sits under the text; the page loads without a hydration error either way - Authors: H1 "Authors" with "<n> contributors" and an "Invite author" button (which goes to
/dashboard/users/add); each card has the avatar, the name and one line "<title or Contributor>. <n> articles, joined <year>", plus an edit button; empty state "No authors yet" / "Authors appear here once they publish an article." - Media: H1 "Media" with "<n> images for covers, articles and sharing", an "Upload" button, a drop zone ("Drop images, or click to upload"), a "Search by name, alt text or caption" field and the Type, Show, Used in, Sort and Grid or List controls (TC-A-90 covers them). An upload is named after its file without the extension, and its tile says "Needs alt text"
- Media search: typing part of a name (any case) leaves only the tiles that match; a name nothing matches shows "No matches" with a "Clear filters" button, which brings every tile back. The count in the subtitle does not change
- Trash: the tile opens the image's page; "Move to trash" asks to confirm ("You can restore it for 30 days."), the toast reads "Moved <name> to the trash", and the page then says "In the trash"
Automated run
- 1. Navigate to /dashboard/categories, add a category, edit it, then delete it
- 2. Navigate to /dashboard/authors
- 3. Navigate to /dashboard/media, upload an image, search for it, then move it to the trash
PassedTC-A-90Browse, search and filter the Media library (new)4.2s
Test script
Preconditions Logged in as an admin. The seeds have put the article and story covers in the library with their alt text (pnpm media:backfill on an older database), and the e2e fixture seed has added the undescribed image "Fixture: friends subscribing"
Steps
- Navigate to
/dashboard/media - Search for "harry", then for a name nothing has, and click "Clear filters"
- Filter Used in: Stories, then Show: Needs alt text
- Sort by name, switch to List, and read the footer
Expected
- H1 "Media" with "<n> images for covers, articles and sharing", an "Upload" button, a drop zone "Drop images, or click to upload", a search field "Search by name, alt text or caption" and the Type, Show, Used in and Sort selects with a Grid or List switch
- Searching matches the name, alt text and caption in any case; a search nothing matches shows "No matches" with "Clear filters", which brings every tile back
- Used in: Stories keeps the story covers (harry shows "In use"); Show: Needs alt text keeps the images without alt text, each marked "Needs alt text": "Fixture: friends subscribing" is there, the seeded covers such as harry are not (the backfill described them); Show also has "Trash (<n>)"
- The list has the columns Name, Type, Dimensions, Size, Used in and Uploaded ("JPEG", "1 place", "1 Mar 2026"); the footer reads "1-<n> of <n> images" with pages of 24 tiles or 20 rows
Automated run
- 1. Navigate to /dashboard/media
- 2. Search for "harry", then for a name nothing has, and click "Clear filters"
- 3. Filter Used in: Stories, then Show: Needs alt text
- 4. Sort by name, switch to List, and read the footer
PassedTC-A-91An image's page: details, Used in, trash and restore (new)9.8s
Test script
Preconditions Logged in as an admin. The e2e fixture seed has added the unused image "Fixture: friends subscribing"
Steps
- Open "harry" from the library
- Open "Fixture: friends subscribing"
- Clear the alt text and save, then fill it in with a caption and save
- Move it to the trash
- Open it from the trash and restore it
Expected
- "harry" lists "Story: Harry" (linked to its editor) with "Cover" under Used in, and says "This image can't go in the trash while it is used. Change the places above first." with no Move to trash button
- The fixture's page shows its preview; File lists Dimensions, Size, Type ("JPEG"), Where it lives ("Built into the site"), Uploaded by and Uploaded on, the link with "Copy link", and a "Replace file" drop zone; Used in says "Not used anywhere yet."
- Saving without alt text shows "Alt text is required"; with it the toast is "Image details saved", the values stay after a reload, and History gains "<admin> edited the alt text and caption"
- Move to trash asks to confirm ("You can restore it for 30 days."), the toast is "Moved Fixture: friends subscribing to the trash", the header says "In the trash" and the image shows under Show: Trash
- Restore gives "Restored Fixture: friends subscribing" and the Move to trash button comes back; in the trash the page also offers "Delete forever"
Automated run
- 1. Open "harry" from the library
- 2. Open "Fixture: friends subscribing"
- 3. Clear the alt text and save, then fill it in with a caption and save
- 4. Move it to the trash
- 5. Open it from the trash and restore it
PassedTC-A-92Upload several images, replace a file, delete forever (new)19.8s
Test script
Preconditions Logged in as an admin; a Blob store (the case skips without the CI Blob token)
Steps
- Upload two PNG images and a text file at once
- Open the first image and replace its file
- Move both to the trash, and delete one forever; back on Media, clear the search and choose Show: Trash
Expected
- The text file stays in the upload queue with "Only JPEG, PNG, WebP and GIF images can be uploaded." until "Dismiss" is clicked; each image toasts "Uploaded <file>" and shows as a tile named without the extension, marked "Needs alt text"
- The image's page says Type "PNG" and Where it lives "Uploaded"; a new file toasts "File replaced" and History gains "File replaced by <admin>"
- Delete forever asks to confirm, toasts "Deleted <name> for good" and goes back to Media, which keeps the search you left it with (the deleted image's name); with that cleared, the other image is still under Show: Trash
Automated run
- 1. Upload two images and a text file at once
- 2. Open the first one and replace its file
- 3. Move both to the trash, and delete one forever; back on Media, clear the search and choose Show: Trash
PassedTC-A-93Pick the site share image from the Media library (new)10.1s
Test script
Preconditions Logged in as an admin; no default share image is set (the case skips when one is, so it never replaces it)
Steps
- Open Site settings, Site and search, and click "Choose image" under "Default share image"
- Search for "harry", choose it, clear its alt text and click "Use image", then give it alt text and click "Use image" again
- Click "Save changes" and reload
- Open harry in Media and look at Used in
- Back in Site settings, click "Remove" and save
Expected
- The field says "No image chosen." with "Choose image"; the picker is titled "Choose the default share image" ("Pick one from the Media library, or upload a new one.") with "Library" and "Upload new", a search field and a grid of the library's images (nothing from the trash)
- Choosing an image shows its preview, size and an "Alt text" box; "Use image" with no alt text says "Alt text is required"; with it the picker closes and the field shows the image and "Alt text: <text>"
- "Site settings updated" after saving; after a reload the field shows the image with "Change image" and "Remove"
- harry's page lists "Site settings" with "Share image" under Used in, and its alt text is the text typed in the picker; the homepage's
og:image:altis that text - After Remove and save the field says "No image chosen." again
Automated run
- 1. Open Site settings and click "Choose image" under Default share image
- 2. Search for "harry", choose it, give it alt text and click "Use image"
- 3. Click "Save changes" and reload
- 4. Open harry in Media and look at Used in
- 5. Remove the share image again and save
PassedTC-A-94An article's cover and body image come from the Media library (new)13.0s
Test script
Preconditions Logged in as an admin. The seeds have put the story covers (story-1 to story-15) in the library
Steps
- Start a new article at
/dashboard/toolkit/addand choose its Cover image from Media ("story-3"), giving it alt text if it has none - Click "Insert image" in the Body toolbar and insert "story-4"
- Click "Publish" and open the article at
/toolkit/<slug> - Open "story-4" in Media and look at Used in
- Delete the article
Expected
- The Cover image field says "No image chosen." with "Choose image"; the picker is titled "Choose a cover for this article"; after "Use image" the field shows the image and "Alt text: <text>"
- "Insert image" opens "Insert an image"; "Insert image" puts the picture in the body where the cursor is
- On the site the cover's alt text is the library's alt text (not the title), and the body image is there with its alt text
- story-4's page lists "Article: <title>" with "In the body" under Used in, and it can't go in the trash
- Deleting the article leaves both images in Media
Automated run
- 1. Start a new article and choose its Cover image from Media
- 2. Click "Insert image" in the Body toolbar and insert another image
- 3. Click "Publish" and open the article on the site
- 4. Open "story-4" in Media and look at Used in
PassedTC-A-96A story's cover comes from the Media library (new)9.8s
Test script
Preconditions Logged in as an admin; "sarah" is in the library
Steps
- Start a new story at
/dashboard/stories/addand choose its Cover image from Media ("sarah") - Click "Publish" and open the story at
/stories/<slug> - Open "sarah" in Media and look at Used in
- Delete the story
Expected
- The picker is titled "Choose a cover for this story"
- The story's cover on the site uses the library's alt text
- sarah's page lists "Story: <title>" under Used in
Automated run
- 1. Start a new story and choose its Cover image from Media
- 2. Click "Publish" and open the story on the site
- 3. Open "sarah" in Media and look at Used in
PassedTC-A-20The admin sidebar's Site and Account groups (new)6.0s
Test script
Preconditions Logged in as an admin
Steps
- Open the dashboard and look at the sidebar
- Click "Site settings", then "Integrations"
Expected
- The "Site" group is "Site settings" (
/dashboard/admin/site) and "Integrations" (/dashboard/admin/integrations), plus "Claims", "Health funds" and "Compliance" with the insurance flag on. A new "Account" group has "Your settings" (/dashboard/settings) - "Integrations" carries the coral dot while the last scheduled health check found a service that needs attention (TC-A-68)
- Each page opens with its own heading: "Site settings", "Integrations"
Automated run
- 1. Open the dashboard and look at the sidebar
- 2. Click "Site settings", then "Integrations"
PassedTC-A-64Admin Settings is your own account only (new)4.8s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
/dashboard/settings - Open Account, then Notifications
- Visit
/dashboard/settings?section=journal-site,?section=integrationsand?section=actions
Expected
- The settings nav is "Account", "Sign-in and security", "Notifications", nothing else. No "Journal & site", "Integrations", "System" or "Account actions"
- Account has "Your details", "Password" and an "Account" card with "Sign out". No Mobile field
- Notifications has "Platform problems" ("When a service the platform runs on needs attention, like payments or email."), on
- Each old section id opens Account; nothing redirects elsewhere
Automated run
- 1. Navigate to /dashboard/settings
- 2. Account has your details and Sign out
- 3. Notifications has Platform problems, on
- 4. The old section ids fall back to Account
PassedTC-A-21Retired dashboard URLs return not found (new)6.1s
Test script
Preconditions Logged in as an admin
Expected
- Each one answers 404 and shows the not-found page ("This one's wandered off."). The address bar keeps the URL you typed: nothing redirects to the Toolkit.
Notes Removed pages are deliberately not redirected before launch. There are no public /blog redirects either (see TC-C-32).
Automated run
- Setup: pick a real article id for the /dashboard/blog/<id> row
- Visit each retired URL and note what you see
PassedTC-A-69Platform OAuth and admin video connect are gone (new)1.8s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
/dashboard/settings/integrations - Look through the sidebar and every Settings section
Expected
- Step 1 is the 404 page ("This one's wandered off."), with no redirect
- Nowhere offers "Platform OAuth", "Configure new" (a client id and secret form), "Video providers", "Default provider" or a Zoom, Google Meet or Teams connect button for the admin's own account. No client secret appears in any admin page's HTML
Notes The OAuth apps behind sign-in, calendars, Zoom, Meet and Teams are configured in Vercel environment variables; psychologists connect their own accounts.
Automated run
- 1. Navigate to /dashboard/settings/integrations
- 2. Look through the sidebar and every Settings section
Skipped by designTC-A-70Health funds live under Claims (new)1.7s
FEATURE_INSURANCE_ENABLED is off on this deployment, so the health fund registry is hidden
Test script
Preconditions Logged in as an admin, with FEATURE_INSURANCE_ENABLED=true (off on staging: the automated run skips this case by design)
Steps
- In the sidebar's Site group, click "Health funds"
- Open the "Health fund APIs" tab, edit one fund's HICAPS code and save
Expected
/dashboard/admin/health-fundswith the H1 "Health funds" and two tabs, "Health funds" and "Health fund APIs", working as they did on the old integrations page. The sidebar item sits after "Claims"- The save shows "Integration settings updated successfully" and the code is kept on reload
- With the insurance flag off, the page is the 404 page and the sidebar has no "Health funds" item
3F. Correspondence (new)
1 passed
PassedTC-A-22Correspondence: delivery filter, template and resend (new)8.6s
Test script
Preconditions Logged in as an admin. Signing in sends a "New sign-in" email, so there is at least one recent email to work with
Steps
- Navigate to
https://paxpsychology.dev/dashboard/correspondence - Click "Failed" in the delivery toggle, then "Sent", then "All"
- Search "New sign-in", click "Sent", and open the newest "New sign-in to your Pax Psychology account" row
- Click "Resend", read the dialog, then click "Resend" in it
- Open an "Appointment Confirmation" email sent after this release
Expected
- Beside the search box sits a toggle with "All", "Sent" and "Failed". Each click updates
?status=(All clears it) and goes back to page 1 - Failed shows only rows with a red "Failed" chip (and, for emails logged before this release, "Not sent"); the footer count matches. Sent shows only green "Sent" rows. All also shows grey "Skipped" rows on environments that do not send email
- The item page's details card lists Sent, To, From and Template ("New sign-in"). Emails logged before this release say "Not recorded". A failed email also shows an Error row with the provider's message
- Header buttons: "Resend" and "View user". The dialog reads "Resend this email?" and "It goes to <address> again, exactly as shown below, and is logged as a new email." with "Cancel" and "Resend"
- After confirming: a toast "Email resent." (or, where sending is off, "Resend logged. Email delivery is off in this environment, so it was not sent."), and a Resends row appears with the new email's time and status; opening it shows a Resend of link back and Resent by your name
- For the Appointment Confirmation (it carries a calendar invite), Resend is greyed out and a Resend row explains why: "Not available. This email had a calendar attachment, which isn't stored, so it can't be resent as it was." Password-reset and verification emails say their links were redacted. Emails logged before this release say it isn't known whether they had an attachment
Notes Resend is admin only and goes through the normal mail path, so on staging it really sends to the original recipient.
Automated run
- 1. Navigate to /dashboard/correspondence
- 2. Click "Failed", then "Sent", then "All"
- 3. Search "New sign-in", click "Sent" and open the newest one
- 4. Click "Resend" and confirm
3H. Marketing (new)
2 passed
PassedTC-A-50A campaign landing and its booking reach the channels table (new)16.7s
Test script
Preconditions client@paxpsychology.dev has a saved card and no unpaid session. admin@paxpsychology.dev. Pick a campaign name nobody else is using, for example tc-a-50-<your initials>-<time>
Steps
- Sign in as the client, then open
https://paxpsychology.dev/?utm_source=e2e-ads&utm_medium=cpc&utm_campaign=<campaign>&gclid=E2E123 - In the browser's developer tools (Application, Cookies), look at the cookies for the site
- Book a session with test@ using the saved card
- In another browser (or a private window), sign in as the admin and open
/dashboard/marketing?period=7d&channel=paid. The numbers are cached for about a minute; reload if the row is not there yet - Click "First touch", then "Last touch"
- Cancel the session booked in step 3
Expected
- Step 2:
pax_vid,pax_ft,pax_ltandpax_vsare set, all HttpOnly, SameSite Lax and Secure.pax_vidand the touch cookies expire in about 13 months,pax_vsin 30 minutes. No_gaor other third-party cookie - Step 4: the page is headed "Where people come from". The Channels table has a row "e2e-ads / cpc" with campaign
<campaign>, at least 1 visitor and at least 1 booking. The Bookings tile counts it, and the Client funnel shows a "Booked" step - Step 5: "First touch" is highlighted and
?touch=firstis in the URL; the client's row moves to wherever client@'s browser first arrived from (often "(direct) / (none)" under All channels). "Last touch" brings the<campaign>row back - Nothing in the page names a quiz answer, a condition or a URL query string other than the campaign fields
Notes The client account is a test account; test accounts are counted on staging and left out in production. Nothing is sent to Google or any ad platform: the click id is only stored in our own database.
Automated run
- 1. As the client, open the home page from a campaign link
- 2. Book a session with the saved card
- 3. As the admin, open Marketing (last touch, 7 days, Paid ads)
- 4. Switch to First touch
PassedTC-A-51Only admins can open Marketing (new)7.6s
Test script
Preconditions test@paxpsychology.dev (psychologist), client@paxpsychology.dev (client) and admin@paxpsychology.dev
Steps
- Signed out, visit
/dashboard/marketing - Sign in as the psychologist and visit
/dashboard/marketing - Repeat as the client
- Sign in as the admin, open "At a glance", then click "Marketing" in the sidebar (Audience). Go back and click the "Where people come from" card
Expected
- Step 1:
/auth/login?redirectTo=%2Fdashboard%2Fmarketing - Steps 2 and 3: sent back to their own dashboard; no Marketing heading, numbers or sidebar link at any point
- Step 4: both lead to
/dashboard/marketingwith the tiles, "Client funnel", "Quiz drop-off", "Channels", "Psychologist supply" and "Newsletter and contact". The period picker (7 days, 30 days, 90 days, 12 months) and the channel filter (All channels, Paid ads, Search, Social, Email, Other sites, Direct) update the URL
Automated run
- 1. Signed out, visit /dashboard/marketing
- 2. As the psychologist, visit /dashboard/marketing
- 3. As the client, visit /dashboard/marketing
- 4. As the admin, open it from the sidebar
3G. Access and route guards (new)
3 passed
PassedTC-A-25Non-admins are refused at admin URLs (new)48.7s
Test script
Preconditions test@paxpsychology.dev (psychologist) and client@paxpsychology.dev (client). The id of another user (for example test2@) and of a correspondence row, copied while signed in as the admin
Steps
- As the psychologist, visit
/dashboard/users,/dashboard/users/add,/dashboard/users/<id>,/dashboard/users/<id>/edit,/dashboard/users/impersonation-log,/dashboard/toolkit/add,/dashboard/categories,/dashboard/authors,/dashboard/faqs,/dashboard/faqs/new,/dashboard/media,/dashboard/newsletter,/dashboard/correspondence,/dashboard/correspondence/<id>,/dashboard/admin/health-funds,/dashboard/admin/site,/dashboard/admin/site?section=features,/dashboard/admin/integrations,/dashboard/settings?section=journal-site,/dashboard/toolkitand/dashboard/toolkit/<an article id> - Repeat as the client
- Sign out, visit
/dashboard/users, then sign in as the admin
Expected
- Every admin page sends a psychologist or client back to their own dashboard or to the 403 screen (
/dashboard/admin/...pages check for themselves and show the 403 screen). No admin data appears at any point, including in the page's HTML: no other user's email, no correspondence subjects, no invite form ?section=journal-sitefalls back to the role's own settings; there is no "Journal & site", "Site settings" or "Integrations" link and no "SEO & social" panel- The feature flag action refuses them too (unit-tested:
tests/unit/actions/feature-flags.test.ts); Site settings and Integrations HTML never reaches them (noSTRIPE_SECRET_KEY, no "Recent changes") /dashboard/toolkitand/dashboard/toolkit/<an article id>: the psychologist gets the 403 screen ("That bit's not yours to see."), never their own dashboard (the address may stay put or read/forbidden), and their sidebar has no Toolkit item; the client gets their own private journal ("New entry"), never the CMS- Step 3:
/auth/login?redirectTo=%2Fdashboard%2Fusers, and after the admin signs in they land on/dashboard/users
Automated run
- 1. As the psychologist, visit each admin URL
- (psychologist) Site settings are not offered in their own Settings
- 2. As the client, visit each admin URL
- (client) Site settings are not offered in their own Settings
- The psychologist is refused the Toolkit CMS; the client gets their own journal
- 3. Signed out, /dashboard/users goes to sign-in, and back after the admin signs in
PassedTC-A-26Admins are kept out of psychologist and client pages (new)14.0s
Test script
Preconditions Logged in as admin@paxpsychology.dev
Steps
- Visit
/dashboard,/dashboard/appointments,/dashboard/clients,/dashboard/clients/<a client id>,/dashboard/new-clients,/dashboard/actions,/dashboard/earnings,/dashboard/listing,/dashboard/invoices,/dashboard/reading,/dashboard/my-psychologistand/dashboard/settings/appointment-types/add - Impersonate
test@paxpsychology.devand open/dashboard/clients, then stop impersonating
Expected
/dashboardlands on/dashboard/admin./dashboard/earningsand/dashboard/invoicesare the 404 page, and the admin's sidebar has no Earnings item./dashboard/settings/appointment-types/addis the 403 screen ("That bit's not yours to see."): session types belong to a practitioner, so an admin never adds one. Every other page sends the admin to their own dashboard. None shows a client's details- Step 2: while impersonating,
/dashboard/clientsshowstest@'s caseload (the impersonated session carries the psychologist's role)
Automated run
- 1. As the admin, visit each psychologist and client page
- 2. Impersonate test@ and open Clients
PassedTC-A-27The Better Auth admin and two-step routes are closed (new)1.9s
Test script
Preconditions Logged in as admin@paxpsychology.dev. Note the number of rows in the impersonation log for this admin and the client (other cases impersonate their own accounts at the same time)
Steps
- With the admin's session cookie, POST straight to each of:
/api/auth/admin/impersonate-user(body{ "userId": "<client id>" }),/api/auth/admin/stop-impersonating,/api/auth/admin/set-role,/api/auth/admin/ban-user,/api/auth/admin/revoke-user-sessions,/api/auth/admin/remove-user,/api/auth/admin/create-user,/api/auth/sign-up/email,/api/auth/sign-in/email,/api/auth/change-email,/api/auth/change-password,/api/auth/update-user,/api/auth/delete-user,/api/auth/request-password-reset,/api/auth/reset-password,/api/auth/revoke-sessions, and/api/auth/two-factor/enable,/disable,/send-otp,/verify-otp,/verify-totp,/verify-backup-code,/generate-backup-codesand/get-totp-uri - GET
/api/auth/admin/list-users,/api/auth/list-sessionsand/api/auth/two-factor/get-totp-uri - GET
/api/auth/get-session; reload/dashboard/usersand the impersonation log
Expected
- Steps 1 and 2: every request answers a plain 404, with no
Locationheader and no session cookie - Step 3:
get-sessionanswers 200 with the admin's own session (so the check is not a blanket block). The admin is still the admin, with no impersonation banner; the client's role and status are unchanged; the impersonation log has no new row for this admin and the client
Notes Extends TC-C-39, which covers only the sign-in routes. The allowlist is ALLOWED_AUTH_ROUTES in lib/auth-guards.ts; a new plugin's routes stay closed until they are added there.
Automated run
- 1. With the admin's session cookie, POST each closed route
- 2. GET /api/auth/admin/list-users and /api/auth/list-sessions
- 3. The admin is unchanged, and the check is not a blanket block
3I. Site settings and Integrations (new)
6 passed 1 manual
PassedTC-A-65Site settings: Site and search and Toolkit save (new)5.7s
Test script
Preconditions Logged in as an admin
Steps
- Open Site settings (
/dashboard/admin/site), change the "Tagline", click "Save changes", reload, then put it back - Open "Toolkit", switch "Show read time", save, reload, then switch it back
Expected
- The nav is "Site and search", "Toolkit", "Features", "Business rules"
- Site and search has "General", "SEO & social" and "Syndication" (the RSS feed). Saving shows "Site settings updated" and the value is kept
- Toolkit has "Default author", "Default category" and "Show read time". Saving shows "Toolkit settings updated" and saves only those
- "Allow comments" and "Auto-add to newsletter" are gone (nothing read them)
Automated run
- 1. Site and search: change the tagline and save
- 2. Toolkit: toggle Show read time and save, then back
PassedTC-A-66Business rules are read only; locked flags say why (new)3.3s
Test script
Preconditions Logged in as an admin
Steps
- Open Site settings, "Business rules"
- Open "Features"
Expected
- Business rules lists Money (Pax Psychology's fee, GST, invoices due, currency), Booking and cancelling (late cancellation, how far ahead, the hold on a session a psychologist books, minimum client age) and Security (two-step verification, step-up window, idle sign-out, clinical access), each with the
config/file it comes from. Nothing is editable: "Business rules change by release, as a reviewed change to the code." - In Features, the locked flags (AI session notes, Insurance and Medicare and the Medicare sub-features, Medicare test mode, Push notifications, Text message notifications) show "Locked" and why, for example "Needs AWS set up and the AI notes privacy review signed off. Changed by release.", and have no "Change" button
Automated run
- 1. Open Business rules
- 2. Open Features and look at a locked flag
PassedTC-A-67Integrations health shows statuses and counts, never a secret or a name (new)3.7s
Test script
Preconditions Logged in as an admin
Steps
- Open Integrations (
/dashboard/admin/integrations) - View the page source
- Click "Check again"
Expected
- One card per service (Stripe, Resend, Google, Microsoft, Apple, Zoom, Cloudflare Turnstile, Vercel Blob, Redis, Scheduled jobs, Encryption keys, Sentry, Slack, GitHub, AI session notes, Push notifications, Medicare and PRODA, HICAPS and Tyro), each with what it's for, a status ("Working", "Set", "Needs attention", "Not set" or "Off by flag") and the NAMES of its environment variables, marked "(not set)" when missing
- The page source has no secret value, prefix or length, and no provider error text
- "Check again" runs the checks now (they are otherwise cached for a few minutes); a check that doesn't answer in time says "Set, not checked"
Automated run
- 1. Open Integrations
- 2. The page source holds no secret value and no email
- 3. Click "Check again"
ManualTC-A-68A failing service shows Needs attention, the sidebar dot, and the Platform problems email reaches every admin (new)1ms
Needs a platform service to fail on the deployment (for example an invalid RESEND_API_KEY on a throwaway preview), which the automated run must not do to staging.
Test script
Preconditions A throwaway preview (never staging or production) where one service is broken on purpose, for example RESEND_API_KEY set to an invalid key. By hand: the automated run lists it as "Manual"
Steps
- Call the scheduled check (
GET /api/cron/platform-healthwith the cron secret), or wait for it (every 30 minutes) - As an admin, open the dashboard, then Integrations
- Call the check again
- Fix the key and call it once more
Expected
- The broken service shows "Needs attention" with our own words ("The check failed (HTTP 401).") and the sidebar's Integrations item has the coral dot
- Every active admin with "Platform problems" on gets "Platform problem: Resend" once; step 3 sends nothing more
- After step 4 the service is "Working", the dot is gone, and a later failure emails again
PassedTC-A-71Switching an editable flag takes effect without a deploy and is recorded (new)4.6s
Test script
Preconditions Logged in as an admin whose last sign-in or step-up is more than 10 minutes old (to see the step-up)
Steps
- In Site settings, Features, click "Change" on "How did you hear about us?"
- Choose "On", leave the reason empty and save; then write a reason ("Testing a switch on staging.") and save
- Open
/booking-successin a private window - Back in Features, look at "Recent changes"
- Put it back: "Use the environment value" (TC-A-72)
Expected
- The dialog has "On", "Off" and "Use the environment value (off)", and "Why are you changing it?". Saving with no reason says "Say why in at least 10 characters."
- Saving asks "You're about to turn How did you hear about us? on for everyone. We check it's you first." Then the toast "How did you hear about us? is on"
- The booking confirmation now asks "How did you hear about us?", with no deploy
- Recent changes has a row: when, who, "How did you hear about us?", "Off to On" and the reason. Ops get a Slack message "<admin> turned How did you hear about us? on: <reason>"
Automated run
- 1. In Features, switch How did you hear about us? on with a reason
- 2. The booking confirmation follows on its next load
- 3. Recent changes lists it with the reason
PassedTC-A-72The environment value removes the override; a locked flag can't be switched (new)5.8s
Test script
Preconditions TC-A-71 done
Steps
- "Change" on "How did you hear about us?", "Use the environment value", a reason, save
- Open
/booking-success - Look for a "Change" button on a locked flag
Expected
- The row's "Override" reads "None" and its status follows the environment again; Recent changes gets "On to Off (environment)"
- The booking confirmation no longer asks "How did you hear about us?"
- "In-person sessions" is locked, with why: sessions are telehealth only for now (a session type needs a video provider)
- Locked flags have no "Change" button, and the action refuses one even from a tampered form (unit-tested)
- Saving a setting that changes nothing says "Nothing changed" and records nothing
Automated run
- 1. Switch How did you hear about us? to Use the environment value
- 2. The booking confirmation is back to the environment value (off)
- 3. Locked flags have no Change button
PassedTC-A-73An admin can turn off the Platform problems email (new)3.9s
Test script
Preconditions Logged in as an admin
Steps
- Settings, Notifications: switch "Platform problems" off and click "Save changes"
- Reload, then switch it back on and save
Expected
- It stays off after the reload; while off, that admin gets no Platform problems email (other admins still do)
- It's on by default for every admin
Automated run
- 1. Turn Platform problems off and save
3H. Search and sharing settings (new)
1 passed
PassedTC-A-60The site description in settings sets the homepage description (new)9.5s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/admin/site?section=site(Site settings, Site and search) and note the "Meta description" in "SEO & social" - Change "Meta description" to
Talk to a psychologist who gets it.and watch the "Share preview" card under the form - Click "Save changes"
- In a private window, open
https://paxpsychology.dev/and view the page source - Put the original description back and save
Expected
- "SEO & social" also has "Default share image" (an image from Media, with "Choose image" or "Change image" and "Remove"; see TC-A-93), "X / Twitter", "Instagram", "LinkedIn page URL", "Facebook page URL", "Google verification code" and "Bing verification code"
- The share preview's description changes as you type, before saving, and its title reads "Find the right psychologist | Pax Psychology"
- With no default share image, the share preview shows the Pax Psychology card: "Shit happens. It's good to talk about it." in white on the cobalt band, with the white Pax Psychology logo and a yellow, green and coral stripe along the bottom
- "Site settings updated" shows after saving
- The homepage's
<meta name="description">,og:descriptionandtwitter:descriptionare the new text, without a redeploy - With no default share image, the homepage's
og:imageandtwitter:imagearehttps://paxpsychology.dev/og/pax-share.png, withog:image:width1200,og:image:height630 andog:image:alt"Shit happens. It's good to talk about it. Pax Psychology" - An invalid value is refused with a message under its field: a title template without
%s, an X handle with a space, a LinkedIn URL on another site
Notes The same settings feed every public page: the title template, the site name in og:site_name, twitter:site from the X handle, the default share image (empty, the homepage uses the Pax Psychology card and other pages a generated card headed with their title; set, it replaces both, but a journal article with a cover or a psychologist with a photo keeps its own generated card, see TC-C-101), the Organization sameAs links on the homepage, and the verification meta tags.
Automated run
- 1. Open Site settings, Site and search and note the Meta description
- 2. Change the Meta description and watch the share preview
- 3. Click Save changes
- 4. Open the homepage and read its description tags
- An invalid value is refused under its field
- 5. Put the original description back and save
Mobile (375px)
19 cases18 passed 1 skipped by design
4A. Marketing pages
6 passed
PassedTC-M-01Homepage at phone width6.3s
Test script
Preconditions Cookie banner accepted (or accept it first)
Steps
- Navigate to
https://paxpsychology.dev/on a 375px wide screen - Scroll through How this works and the coral band
- Scroll through the psychologist cards and the Toolkit
- Scroll through How we can help and the FAQs
- Scroll to the right-time block and the coral subscribe block
Expected
- Dark header with "Pax Psychology" and a kebab (⋮) menu button; the desktop links (Stories, Psychologists, Toolkit) are not shown in the bar
- Hero: the H1 "Shit happens. It's good to talk about it." set large (about 56px, over five lines), then the paragraph and a full-width white "Find my match" button
- Every section is stacked in one column. Section titles ("How this works", "Toolkit", "FAQs") read across the page, not rotated sideways
- How this works: the title, then a portrait photo, then the step title and text, centred, with dots under it
- The coral band "When it's personal, you need the right person." has two full-width buttons: "Find my match" and, under it, an outlined "Search for a Psychologist" (→
/psychologists) that the desktop band does not have - "Breathe. There's no judgement here" goes straight into the psychologist cards, which swipe sideways inside their row (the page itself does not)
- Toolkit: the title, the intro ("Our toolkit is designed to assist you…"), then three compact rows (square photo on the left, grey category and a bold title on the right, no excerpt) and a full-width "Read more" (→
/toolkit) - "How we can help": the intro, then three coloured pill links "Mental Health" (yellow), "Performance" (blue) and "Wellbeing" (green), each with a chevron and no photo, each going to its section of
/our-story - FAQs on the blue band: the question rows, then a white "Find my match" button under them
- "The right time is now. Take action." with its "Find my match" button, then a separate coral block: a photo running edge to edge, "Subscribe today", the sign-up form and "Sign up"
Automated run
- 1. Navigate to https://paxpsychology.dev/ on a 375px wide screen
- 2. Scroll through How this works and the coral band
- 3. Scroll through the psychologist cards and the Toolkit
- 4. Scroll through How we can help and the FAQs
- 5. Scroll to the right-time block and the coral subscribe block
PassedTC-M-02Header and mobile menu2.8s
Test script
Preconditions Signed out, cookie banner accepted
Steps
- Navigate to
https://paxpsychology.dev/toolkiton a 375px wide screen - Tap the menu button
- Press Escape, then reopen the menu and tap Contact
- Navigate to
https://paxpsychology.dev/and open the menu
Expected
- On
/toolkitthe header is light; on/it is dark. Both show "Pax Psychology" and a kebab (⋮) button (aria-label"Open menu") that is at least 44px square - The menu fills the whole screen edge to edge (no gap down either side), on dark ink, with a close cross (
aria-label"Close menu") - It holds a white "Find my match" button (→
/onboarding) and large outlined links: "About" (→/our-story), "Stories" (→/stories), "Psychologists", "Toolkit", "Contact" (→/contact) and "Sign in" (→/auth/login). Each is easy to tap (at least 44px tall) and fills in white on hover or focus - The page behind does not scroll while the menu is open
- Escape closes the menu; tapping Contact opens
/contactand closes the menu
Automated run
- 1. Navigate to https://paxpsychology.dev/toolkit on a 375px wide screen
- 2. Tap the menu button
- 3. Press Escape, then reopen the menu and tap Contact
- 4. Navigate to https://paxpsychology.dev/ and open the menu
PassedTC-M-03Footer at phone width860ms
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/our-storyon a 375px wide screen and scroll to the footer - Check the small links and contact details
Expected
- A single column of large links, one under the other: "About" (→
/our-story), "Find my match", "Psychologists", "Toolkit" and "Contact" (→/contact). There are no "About / Support / Contact / Subscribe" column headings and no sign-up form in the footer on a phone - Small spaced capitals under them: "Privacy policy | Terms of Use"
info@paxpsychology.com.au(a mail link), the copyright line and the Acknowledgement of Country
Notes From 640px wide the footer switches back to the columns with the Subscribe form (TC-C-01).
Automated run
- 1. Navigate to https://paxpsychology.dev/our-story on a 375px wide screen and scroll to the footer
- 2. Check the small links and contact details
PassedTC-M-04Toolkit and Your stories at phone width1.4s
Test script
Preconditions At least two published Toolkit articles
Steps
- Navigate to
https://paxpsychology.dev/toolkiton a 375px wide screen - Scroll to the sign-up band and the right-time block
- Navigate to
https://paxpsychology.dev/stories
Expected
/toolkit: the H1 "Toolkit" and intro centred, the category chips wrapping onto several centred lines, then one full-width card per row (photo, coloured category tag, title, excerpt, "By <writer>")- "Get tips for your toolkit landed in your inbox." set large (about 56px) with the sign-up form under it
- The mint photo panel (the flying man) comes before "The right time is now. Take action." on a phone
/stories: the H1 "Your stories" with "Our story" outlined under it (a link to/our-story), the story cards one per row (photo, name, excerpt and a full-width "Read Sarah's story" button), then the light blue "When it's personal, you need the right person." band with a full-width "Find my match"
Automated run
- 1. Navigate to https://paxpsychology.dev/toolkit on a 375px wide screen
- 2. Scroll to the sign-up band and the right-time block
- 3. Navigate to https://paxpsychology.dev/stories
PassedTC-M-05Toolkit article at phone width1.2s
Test script
Preconditions At least two published Toolkit articles
Steps
- Open the first article from
https://paxpsychology.dev/toolkiton a 375px wide screen - Scroll to See similar
Expected
- The yellow header with the H1, photo, author, date and topic, and a row of share buttons under them (LinkedIn, X, Facebook, email), each easy to tap
- The article body fits the screen with no sideways scrolling
- "See similar" reads across the page, then up to three compact rows (square photo on the left, grey category and bold title on the right) and a full-width "See more" button (→
/toolkit)
Automated run
- 1. Open the first article from https://paxpsychology.dev/toolkit on a 375px wide screen
- 2. Scroll to See similar
PassedTC-M-06Our Story at phone width1.3s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/our-storyon a 375px wide screen - Scroll through Wellbeing, Performance and Mental Health
- Scroll to the light blue band
Expected
- "Your stories" outlined over the H1 "Our story", centred
- "The founders" reads across the page above the founders photo, then the story heading "Pax Psychology started when two friends…" at a readable size (about 30px, not the 40px desktop size) and the two paragraphs
- "Wellbeing", "Performance" and "Mental Health" each show the title and paragraph first, then a full-width photo panel under them
- The light blue band "We'll help find a psychologist for you." with a full-width "Find my match"
Automated run
- 1. Navigate to https://paxpsychology.dev/our-story on a 375px wide screen
- 2. Scroll through Wellbeing, Performance and Mental Health
- 3. Scroll to the light blue band
4B. Directory, profile and quiz
4 passed
PassedTC-M-07Psychologist directory at phone width1.7s
Test script
Preconditions Cookie banner accepted; at least two live psychologists
Steps
- Navigate to
https://paxpsychology.dev/psychologistson a 375px wide screen - Tap the sliders icon, then close the drawer
- Scroll through the search results
- Scroll to Popular choices
Expected
- The H1 "Search psychologists" reads across the page with the sliders (filters) icon beside it, and the search field under it runs the full width of the screen. There is no "Filter by" column
- The sliders icon is easy to tap (at least 44px square) and opens a dark full-screen "Filter by" panel that fits on the screen, with the rows "Gender", "Focus area", "Issue" and "Name" (plus "Session type" and "Availability"); there is no "Location" row. "Show <n> results" at its foot closes it
- Each result is a full-width white row with the photo, name and location, a +/- shortlist icon and a black "Book" button (→
/book/<psychologist slug>); the sort dropdown is still shown - When there is more than one page of results, the page squares and arrows sit under the list, the current page filled black
- "Popular choices" is a row of cards that swipes sideways inside itself, each with "Book appointment"
- Nothing on the page scrolls sideways
Notes TC-C-30 covers applying filters inside the drawer and the drawer closing when the window is widened.
Automated run
- 1. Navigate to https://paxpsychology.dev/psychologists on a 375px wide screen
- 2. Tap the sliders icon, then close the drawer
- 3. Scroll through the search results
- 4. Scroll to Popular choices
PassedTC-M-08Psychologist profile at phone width1.9s
Test script
Preconditions Signed out (staff see a dashboard notice instead of the booking button); at least two live psychologists
Steps
- Open the first profile from
https://paxpsychology.dev/psychologistson a 375px wide screen - Scroll down through the bio
- Scroll through Availability, Fee and Specialities
- Tap "See more" under Specialities
- Scroll to Discover other Psychologists
Expected
- The Practitioner page in one column: the header's back chevron, the name (H1), a full-width photo, then the title, location and highlights
- A black "Book appointment" bar stays pinned to the bottom of the screen, edge to edge, while you scroll through the bio and the sections under it, and scrolls away with the end of the profile
- "Bio", "Availability", "Fee" ("From $<cheapest active session type> per session"), "Details" and "Specialities" are stacked one under the other, each with a hairline above it
- There is no Medicare copy in the profile's facts (title, highlights, availability, fee, details)
- Specialities show about two and a half rows of chips fading out; when they don't all fit, "See more" shows the rest and turns into "See less"
- "Discover other psychologists" reads across the page with a full-width "Search psychologists" button, then a row of practitioner cards ("Book appointment" on each) that swipes sideways inside itself
- Nothing on the page scrolls sideways
Notes A profile whose specialities all fit in that space shows them all and has no "See more"; check step 4 on a profile with a long list if there is one.
Automated run
- 1. Open the first profile from https://paxpsychology.dev/psychologists on a 375px wide screen
- 2. Scroll down through the bio
- 3. Scroll through Availability, Fee and Specialities
- 4. Tap “See more” under Specialities
- 5. Scroll to Discover other Psychologists
PassedTC-M-09Matching quiz at phone width2.5s
Test script
Preconditions No saved quiz progress (use a private window, or clear the site's storage)
Steps
- Navigate to
https://paxpsychology.dev/onboardingon a 375px wide screen - Tap "Let's go!"
- On "What should we call you?", tap the back arrow, then the next arrow
- Type a name and tap "Ok"
- Answer through to the tags and tap "Anxiety"
Expected
- The welcome screen "When it's personal, you need the right person." with "Let's go!", and a back chevron beside "Pax Psychology" in the bar; headings on every screen are left aligned on a phone (centred only on wider screens)
- From the first question, a row above the question holds a back arrow, the progress dots (the current one a short coral bar) and a next arrow; the answer rows run the width of the screen
- The back arrow returns to "Is this your first time speaking with a psychologist?" and the next arrow comes back to the name question
- The name field runs the width of the screen; "Ok" stays disabled until something is typed, and the "Press Enter ↵" hint is not shown on a phone
- On "Do any of these tags reflect your Mental Health needs?" a tapped tag fills coral with a ×, and "Ok" is under the tags
- Nothing scrolls sideways on any of these screens
Notes Stop at the tags; TC-C-07 covers the rest of the quiz and the booking steps.
Automated run
- 1. Navigate to https://paxpsychology.dev/onboarding on a 375px wide screen
- 2. Tap “Let’s go!”
- 3. On “What should we call you?”, tap the back arrow, then the next arrow
- 4. Type a name and tap “Ok”
- 5. Answer through to the tags and tap “Anxiety”
PassedTC-M-17Booking steps at phone width (new)12.2s
Test script
Preconditions Logged in as client@paxpsychology.dev
Steps
- At 390px wide, navigate to
https://paxpsychology.dev/book/emily-thompson, choose "Initial consultation", click "Pick a time", and pick a time - Click "Continue to details" (the review), then "Continue to payment"
- Repeat at 375px
Expected
- Nothing scrolls sideways on any step: the page is exactly the screen's width
- The wizard's phone controls sit above each heading: a back arrow, the dots and a forward arrow ("Previous step", "Next step"); the forward arrow is off until a time is picked
- Times show three to a row; on the payment step the button sits full width above "Back"
Notes The old stepper made the time and payment steps 401px wide on a 390px phone.
Automated run
- 1. (390px) Open the booking page and pick a day and time
- 2. (390px) Continue to the review
- 3. (390px) Continue to payment
- 1. (375px) Open the booking page and pick a day and time
- 2. (375px) Continue to the review
- 3. (375px) Continue to payment
4C. The client portal at 390px (new)
4 passed
PassedTC-M-10Sign in and register at phone width (new)1.7s
Test script
Preconditions Signed out, 390 × 844
Steps
- Open
/auth/login - Tap the close (X)
- Open
/auth/register, then/auth/forgot-password
Expected
- No page scrolls sideways
- Sign in: the close (X), Email, Password, the show/hide password toggle, "Sign in", "Forgot password" and "Continue with Google" are each at least 44px
- Step 2 returns to
/ - Register: First name, Email, Password and "Create account" are at least 44px; Forgot password: Email and "Send reset link"
Notes Known defect (24 Oct 2026): the show/hide password toggle is 32 × 32px.
Automated run
- 1. Open /auth/login
- 2. Tap the close (X)
- 3. Open /auth/register and /auth/forgot-password
PassedTC-M-13Client Home at phone width (new)2.3s
Test script
Preconditions Logged in as client@paxpsychology.dev, 390 × 844
Steps
- Open
/dashboard - Tap the avatar
- Tap "More", then press Escape
- Tap each bottom tab: Sessions, Journal, Reading list, Home
Expected
- No sidebar; the top bar shows the brand, a "Notifications" bell and the avatar; the bell, the avatar menu button, the five bottom tabs (Home, Sessions, Journal, Reading list, More) and the check-in mood buttons are at least 44px; nothing scrolls sideways
- Step 2: the menu offers Settings and Sign out
- Step 3: the full-screen menu lists "Your psychologist" and "Settings", and Escape closes it
- Step 4: each tab opens its page, and none scrolls sideways
Automated run
- 1. Open /dashboard
- 2. Tap the avatar
- 3. Tap "More", then close it with Escape
- 4. Tap each bottom tab
PassedTC-M-14Sessions and a session at phone width (new)3.6s
Test script
Preconditions Logged in as client@paxpsychology.dev, 390 × 844, with an upcoming session (more than two days out) and a completed, paid one
Steps
- Open Sessions and scroll to the sessions above today ("Show earlier sessions" until a paid one, with "Receipt", is on the page)
- Open the completed session
- Open the upcoming session; tap "Move or cancel", "Cancel this session", then "Keep my session"
Expected
- No screen scrolls sideways
- Sessions: "Book a session", "Move or cancel" on the next session, and "Book again" and "Receipt" on past sessions are at least 44px
- Step 2: the receipt card comes first, above "Session details"; "View receipt" and "Book a follow-up session" are at least 44px
- Step 3: "Move or cancel" is at least 44px and opens a bottom sheet; cancel then opens as a bottom sheet (full width, resting on the bottom edge) whose two buttons are at least 44px; "Keep my session" closes it
Notes Known defect (24 Oct 2026): "Book a session" is 42px tall, and each Past row's "Book again" and "Receipt" are 38px tall.
Automated run
- 1. Open Sessions, then the earlier sessions above today
- 2. Open the completed session
- 3. Open an upcoming session; tap "Move or cancel", "Cancel this session", then "Keep my session"
PassedTC-M-15Receipt and Settings at phone width (new)3.0s
Test script
Preconditions Logged in as client@paxpsychology.dev, 390 × 844, with a paid receipt
Steps
- Open the receipt
- Open Settings and swipe the section pills
- Tap "Delete account", then "Keep my account"
- Tap "Payment methods"
Expected
- No screen scrolls sideways
- Step 1: "Paid", and the download button is at least 44px
- Step 2: the section pills scroll inside their own row while the page does not; the pills, the name field, "Save changes", "Sign out" and "Delete account" are at least 44px
- Step 3: a bottom sheet "Delete your account?"; "Keep my account" closes it
- Step 4: Payment methods opens and fits
Automated run
- 1. Open a receipt
- 2. Open Settings; the section pills scroll on their own
- 3. Tap "Delete account", then "Keep my account"
- 4. Open Payment methods
4D. The psychologist's dashboard at 390px (new)
4 passed 1 skipped by design
PassedTC-M-18Today at phone width (new)2.2s
Test script
Preconditions Logged in as test@paxpsychology.dev, 390 × 844
Steps
- Open
/dashboard - Tap "More", then press Escape
Expected
- No sidebar; the top bar shows the brand, a "Notifications" bell and the avatar; the bell, the avatar menu, the bottom tabs Today, Schedule, Clients, Earnings and More, the quick actions "Block time" and "Book a session", and the now card's first button are at least 44px; nothing scrolls sideways
- Step 2: the full-screen menu lists "Your listing" and "Settings"; Escape closes it
Notes Known defect (24 Oct 2026): the "Block time" and "Schedule" quick actions are 42px tall.
Automated run
- 1. Open /dashboard
- 2. Tap "More", then close it
PassedTC-M-19Schedule at phone width (new)2.8s
Test script
Preconditions Logged in as test@paxpsychology.dev, 390 × 844
Steps
- Open
/dashboard/appointments - Tap "Week"
- Tap "Agenda", then "Book a session", then "Cancel"
Expected
- The page never scrolls sideways
- "Book a session", "Previous week", "Next week", "Today", the Agenda / Week / Month tabs and "Block time" are at least 44px
- Step 2: the week grid scrolls sideways inside its own panel
- Step 3: the "Schedule a session" modal fits the screen
Automated run
- 1. Open Schedule
- 2. The week grid scrolls inside its own panel
- 3. Switch to "Agenda" and open "Book a session", then close it
PassedTC-M-20A session at phone width (new)3.2s
Test script
Preconditions Logged in as test@paxpsychology.dev, 390 × 844, with an upcoming CONFIRMED session and one that has ended
Steps
- Open the upcoming session
- Open the session that has ended, tap "Wrap up", then press Escape
Expected
- No screen scrolls sideways
- Step 1: the top bar has a back arrow ("Back to schedule") to Schedule; it, "Message", "Profile", "Reschedule" and "Cancel appointment" are at least 44px
- Step 2: "Wrap up" is at least 44px; the wrap-up is a bottom sheet that fits the screen, and its "Attended" option and "Save for later" are at least 44px; Escape closes it without completing anything
Automated run
- 1. Open an upcoming session
- 2. Open a session that has ended; tap "Wrap up", then close
PassedTC-M-21Clients at phone width (new)3.9s
Test script
Preconditions Logged in as test@paxpsychology.dev, 390 × 844
Steps
- Open
/dashboard/clients - Tap a client, then press Escape
Expected
- No screen scrolls sideways
- The search box, the status filters, each client row and the paging buttons are at least 44px
- Step 2: the client drawer sits inside the screen; "Book session" and "View full profile" are at least 44px
Notes Known defect (24 Oct 2026): "Go to previous page" and "Go to next page" are 32 × 32px.
Automated run
- 1. Open Clients
- 2. Tap a client: the drawer fits the screen
Skipped by designTC-M-22Messages at phone width (new; flag-gated)2.2s
Messaging is off on this target (FEATURE_MESSAGING_ENABLED): /dashboard/messages sends the psychologist back to Today.
Test script
Preconditions FEATURE_MESSAGING_ENABLED=true on the target (off on staging). Logged in as test@paxpsychology.dev, 390 × 844, with a conversation
Steps
- Open
/dashboard/messages - Open a conversation
Expected
- Neither screen scrolls sideways
- A "Search conversations" box sits above the list and is at least 44px tall; typing part of a name narrows the list to matching people
- The message box and "Send" are at least 44px
Notes With messaging off, /dashboard/messages sends the psychologist back to Today and the automated case is skipped by design.
Two-step verification
8 cases7 passed 1 manual
PassedTC-C-40Sign in with an emailed code (new)4.6s
Test script
Preconditions Signed out.
Steps
- Sign in on
/auth/loginas2fa-client@paxpsychology.dev/Test123! - Reload the page
- Try
/dashboardin the address bar, then go back - Click “Continue” with the field empty, then enter
000000and click “Continue” - Enter the code from the email “Your Pax Psychology sign-in code”
- Open Settings, Sign-in and security
Expected
- Step 1: “Signing in as 2•••@paxpsychology.dev”, then “Check your email.” with “We've emailed a 6-digit code to 2•••@paxpsychology.dev. It works for 10 minutes.” and the “6-digit code” field straight away, without clicking anything. A disabled “Send it again in 0:30” counting down, “Use a backup code”, and “Trust this browser for 30 days” with “We won't ask for a code here again until <date>. Skip this on a shared computer.” “Continue” is black and enabled
- Step 1 (email): one code email arrives; it names the device, the approximate place (“Near”, on staging only; nothing locally) and when, and says “Works for 10 minutes, once.”
- Step 2: the same screen and copy with the field; no second code email is sent
- Step 3: back to sign in. No session exists until the code is entered
- Step 4: empty: “Enter your code.” Wrong: “That code didn't work. Check it and try again.”
- Step 5: the dashboard
- Step 6: “On since <date>” (or “On” for the seeded account); “Email codes, sent to 2•••@paxpsychology.dev.”; Recent sign-in activity has a table with When, What happened, Device, Near and Result, listing “Signed in, Password and email code” (Signed in) and “Code not accepted, Email code, wrong code” (Refused), with the line “We keep the nearest city with each sign-in to help you spot ones that aren't you. Our privacy policy explains this.” (linking
/privacy-policy) above it
Notes “Send it again” works once every 30 seconds and five times an hour (the code sent on arrival counts); after the fifth, a panel says until when the newest code still works and when more can be asked for (“The newest one still works until 9:41 am. You can ask for more after 10:12 am, or use a backup code.”). Ten wrong codes in a row show “Let's pause for 15 minutes.” with the time it lifts, and send “Sign-in is paused for 15 minutes”. A sign-in from a browser this account hasn't used before sends “New sign-in to your Pax Psychology account” (Device, Near, When, How, “Review sign-in activity”); a trusted browser never does.
Automated run
- 1. Sign in as 2fa-client@paxpsychology.dev with Test123!
- 2. Reload the page: the same code step, and no second email
- 3. No session yet: /dashboard goes back to sign in
- Email "Your Pax Psychology sign-in code" is sent to 2fa-client@paxpsychology.dev
- 4. An empty and a wrong code are refused
- 5. Enter the code from the email: signed in
- 6. Settings, Sign-in and security shows the method and the sign-in
PassedTC-C-41Sign in with a backup code (new)4.6s
Test script
Preconditions Signed out.
Steps
- Sign in as
2fa-client@paxpsychology.dev, then click “Use a backup code” - Enter
aaaa2seed2(the codeAAAA2-SEED2, in lower case without the dash) - Open Settings, Sign-in and security
- Sign out, sign in again and try the same backup code
Expected
- Step 1: “Use a backup code.” with the hint “10 characters, like ABCDE-23456. The dash is optional.” and “Lost your phone and your codes? Contact us …”
- Step 2: the dashboard, and the email “A backup code was used on your account” (“Codes left: 9 of 10”, the device, and “Make new backup codes”)
- Step 3: “9 of 10 left. Each one works once. Making new ones cancels the old set.”
- Step 4: “That backup code didn't work. Check it and try again.”
Automated run
- 1. Sign in as 2fa-client@paxpsychology.dev, then choose “Use a backup code”
- 2. Enter AAAA2-SEED2 (lower case and without the dash works too)
- Email "A backup code was used on your account" is sent to 2fa-client@paxpsychology.dev
- 3. Settings, Sign-in and security: 9 of 10 left
- 4. The same backup code is refused next time
PassedTC-C-42Trust this browser for 30 days (new)6.1s
Test script
Preconditions Signed out.
Steps
- Sign in as
2fa-client@paxpsychology.dev, tick “Trust this browser for 30 days” and enter the emailed code - Sign out and sign in again
- Settings, Sign-in and security, Trusted browsers: click “Stop trusting”
- Sign out and sign in again
Expected
- Step 2: straight to the dashboard, no code (and no “New sign-in” email)
- Step 3: the browser was listed with a “This browser” tag (for example “Chrome on macOS”, “Trusted 24 Oct, until 23 Nov”), above “Stop trusting all browsers”; after “Stop trusting” the card says “None yet.”
- Step 4: the code is asked for again
Automated run
- 1. Sign in as 2fa-client@, tick “Trust this browser for 30 days” and enter the code
- 2. Sign out and in again: no code asked for
- 3. Settings, Sign-in and security lists the browser; “Stop trusting” it
- 4. Sign out and in again: the code is asked for
PassedTC-C-43Booking sign-in with two-step verification (new)3.1s
Test script
Preconditions Signed out.
Steps
- From
test@'s profile, book: pick a time, then "Continue to details" - On "Your details." click "Sign in" and sign in as
2fa-client@paxpsychology.devin the "Sign in to your account" panel ("Sign in and continue") - Enter the emailed code in the panel and click "Continue"
Expected
- Step 2: the panel opens in the page above the form (no dialog) and switches to "Check your email." with "We've emailed a 6-digit code to 2•••@paxpsychology.dev." and the 6-digit code field, without leaving the booking or clicking anything; one code email arrives
- Step 3: the panel closes and the booking carries on with the same time, signed in: "Is this all still right?" with the account's details (the "Already have an account?" card is gone)
Notes "Not now" closes the panel. The client banner suggesting two-step verification never shows on booking or payment screens. On the client's dashboard home, after a confirmed booking, it is a quiet white card with a thin border: "Add two-step verification to your account?", "We'll ask for a code when you sign in on a new browser. It's optional and takes about a minute.", "Turn it on" and "Not now".
Automated run
- 1. Open test@’s booking page, pick a time and continue
- 2. Click “Sign in” and sign in as 2fa-client@paxpsychology.dev
- 3. The code step shows in the sign-in panel; enter the emailed code
- 4. The panel closes and the booking carries on with the same time, signed in
PassedTC-P-29Sign in with an authenticator app (new)5.0s
Test script
Preconditions Signed out. The psychologist key above added to an authenticator app.
Steps
- Go to
/auth/login?redirectTo=/dashboard/settingsand sign in as2fa-psych@paxpsychology.dev - Enter the 6-digit code from the app
- Sign out, sign in again and enter the same code before it changes
- Open Settings, Sign-in and security
Expected
- Step 1: “Enter your code.”, the hint “The code refreshes every 30 seconds.”, and under “Can't use your app?” the links “Email me a code instead” and “Use a backup code”
- Step 2: Settings opens (the page asked for)
- Step 3: “That code didn't work. Codes change every 30 seconds, so check you're using the newest one.” Each code works once; wait for the next one
- Step 4: “Authenticator app. If you can't use it, we can email you a code.”; “Turn off” is shown but disabled, with “Psychologist accounts need two-step verification to keep client records safe, so it stays on.”
Notes Five wrong codes on one sign-in show “Let's start that again.”; a sign-in left for more than 10 minutes shows “That took a little long.” Both offer “Back to sign in”. A psychologist's grace counts from their first sign-in (the account is made when an invite is accepted), and a Microsoft sign-in that proves MFA counts as two-step for a psychologist (TC-P-117).
Automated run
- 1. Sign in as 2fa-psych@paxpsychology.dev with Test123!
- 2. Enter the code from the authenticator app: lands on the page asked for
- 3. The same code cannot be used again
- 4. Settings, Sign-in and security: Turn off is shown but disabled, with why
PassedTC-A-23Set up two-step verification from the gate (new)3.2s
Test script
Preconditions Signed out. 2fa-setup@ is reset to no 2FA by the seed (the acceptance run resets it).
Steps
- Sign in as
2fa-setup@paxpsychology.dev - Try
/dashboard - Leave “Authenticator app” chosen and click “Continue”; open “Can't scan? Enter this key instead”
- Enter the code from the app and click “Confirm”
- Click “Continue” before and after ticking “I've saved these codes somewhere safe”
- Click “Go to your dashboard”
Expected
- Step 1: the photo panel's headline reads “Your sessions stay between you and us.”; “Step 1 of 3”, “Set up two-step verification to continue.” with the note “Required for admin accounts. There's no way to skip this one.”, a radio choice of “Authenticator app” (Recommended) and “Email codes”, “Continue”, and “Sign out” and “Get help” but no “Not now”
- Step 2: back on the setup page
- Step 3: “Step 2 of 3”, “Scan this code.”, the key in groups of four with “Copy key”
- Step 4: “Step 3 of 3”, “Save your backup codes.” with ten codes, “Copy”, “Download” and “Print”; the email “Two-step verification is on”
- Step 5: “Continue” stays disabled until the box is ticked, then “You're all set.” with Codes from “Authenticator app”, Backup codes “10, saved”, If you're stuck “Email me a code”
- Step 6: the admin dashboard
Notes “Print” opens the print dialog with a plain page of just the codes: “Pax Psychology” above the heading “Backup codes”, “For 2•••@paxpsychology.dev, made <date>”, the ten codes with tick boxes, and the footer “Pax Psychology, printed <date>”; “Download” saves pax-psychology-backup-codes.txt. At phone width “Can't scan? Enter this key instead” starts open. A psychologist in grace sees a banner in the dashboard's content column (“Set up two-step verification in N days.”, “Set it up”, and a cross to hide it until tomorrow; at phone width the cross sits beside the title, the body reads “From <date> you'll need it to open your dashboard. It takes about two minutes, and your bookings carry on either way.” and a full-width “Set it up now” follows), and on the setup page “Remind me later” with “N days left, until <date>.” Once the grace ends, the setup page says “Your 14 days to set this up ended on <date>. Your bookings, reminders and payouts carry on as normal.” A psychologist's 14 days count from their first sign-in (accepting the invite, TC-P-118); one who signs in only with Google is asked too, and a passkey or a Microsoft sign-in that proves MFA covers it (TC-P-115, TC-P-117).
Automated run
- 1. Sign in as 2fa-setup@paxpsychology.dev: sent to setup, not the dashboard
- 2. /dashboard still goes to setup
- 3. Continue with “Authenticator app”: a QR code and a key in fours, with Copy
- 4. Enter the app’s code and confirm: ten backup codes, shown once
- Email "Two-step verification is on" is sent to 2fa-setup@paxpsychology.dev
- 5. Continue needs “I've saved these codes”; then the summary
- 6. Go to your dashboard
PassedTC-A-24Admin resets a client's two-step verification (new)5.1s
Test script
Preconditions Signed in as admin@paxpsychology.dev.
Steps
- Users: open Robin Reset (
2fa-reset@paxpsychology.dev) - In “Two-step verification” click “Reset two-step verification” (confirm it's you if asked), type a reason such as “Lost phone, confirmed by phone”, then click “Reset two-step verification” in the dialog
- Open Ari Admin (
2fa-admin@paxpsychology.dev) - Sign out and sign in as
2fa-reset@paxpsychology.dev
Expected
- Step 1: “On”, Codes from “Email codes”, Backup codes left “10”, and “Recent sign-ins” when there are any
- Step 2: the dialog lists what the reset does and has “Reason (optional)” with the hint “Saved to the audit log with your name and the time.”; then “Two-step verification reset for Robin Reset”, the section shows “Off” with the button disabled (“… so there's nothing to reset.”); Robin gets “Two-step verification was reset on your account”; the reason is on the
2FA_RESETrow inauth_audit_logs.note - Step 3: “Reset two-step verification” is shown but disabled, with “Admin accounts can't be reset here. A developer resets them with the reset script, so no admin can remove another admin's protection.”
- Step 4: straight in with the password
Notes The reason is optional; leaving it empty resets all the same. If the admin's last code (or sign-in) is more than 10 minutes old, “Confirm it's you.” asks for a code or the password first (the password has a “Forgot your password?” link under it) and names the change (“You're about to reset Robin Reset's two-step verification. …”), then says “We won't ask again for 10 minutes.” The same applies to impersonating, connecting or disconnecting a sign-in provider, Stripe payout changes and changing an email address, each with its own reason.
Automated run
- 1. Sign in as admin@ and open Robin Reset’s user page
- 2. “Reset two-step verification”, give a reason, confirm: it shows Off
- Email "Two-step verification was reset on your account" is sent to 2fa-reset@paxpsychology.dev
- 3. An admin's page shows the reset button disabled, with why
- 4. The client now signs in with just the password
ManualTC-A-63An admin's Microsoft sign-in needs Microsoft MFA (new)270ms
Microsoft Entra's hosted sign-in cannot be driven from Playwright, and the check needs a real tenant account with MFA turned off and on. The refusal, the audit row and the error page are covered by unit tests (tests/unit/lib/better-auth-config.test.ts, tests/unit/lib/provider-mfa.test.ts). Verify by hand as the script describes.
Test script
Preconditions Signed out. A Microsoft account in the staging tenant whose Pax Psychology account is an ADMIN, with the amr optional claim on the app registration (docs/better-auth-cutover.md, Entra step 4). Manual only: Microsoft's hosted sign-in can't be driven from Playwright.
Steps
- With MFA off for that Microsoft account (or a Conditional Access exclusion), click “Continue with Microsoft” on
/auth/loginand sign in with just the password - Turn MFA on for that account (or remove the exclusion), sign out of Microsoft, then repeat step 1 and complete the second step
- Sign out of Pax Psychology and sign in with Microsoft as a client or psychologist account with MFA off
Expected
- Step 1:
/auth/errorwith “Two-step verification needed.”, “Your Microsoft sign-in needs two-step verification. Turn on multi-factor authentication for your Microsoft account (or ask your IT admin), then try again.” and “Added a passkey to Pax Psychology? You can use it to sign in instead.”; not signed in; anOAUTH_MFA_REQUIRED_REFUSEDrow inauth_audit_logswith methodmicrosoft, reasonamr_without_mfaand a note likerole=ADMIN; action=sign-in; amr=pwd - Step 2: the admin dashboard
- Step 3: the dashboard, as before
Notes Reason missing_amr (note amr=none) means the token had no amr claim: the optional claim isn't on the app registration. An admin can still sign in with their password and Pax Psychology two-step verification, or a passkey. Google and Apple sign-ins aren't checked (neither sends a reliable MFA claim). The test exemption never applies to provider sign-ins.
Passkeys and idle sign-out
10 cases10 passed
PassedTC-C-117Add a passkey, then sign in with it (new)4.7s
Test script
Preconditions Signed out.
Steps
- Sign in as
passkey-client@paxpsychology.devwith the password - Open Settings, Sign-in and security
- In “Passkeys” click “Add a passkey”, name it “Test laptop”, click “Continue” and accept the browser's prompt
- Sign out. On
/auth/loginclick “Sign in with a passkey” (or pick the passkey from the email field's suggestions) - Open Settings, Sign-in and security
Expected
- Step 2: a “Passkeys” card under Two-step verification: “Sign in with your face, fingerprint or device PIN, with no password or code. A passkey only works on the Pax Psychology website, so nobody can trick you into using it somewhere else.”, “None yet.”, “Add a passkey” and “We'll check it's you first.”
- Step 3: the dialog “Add a passkey.” (“Your device will ask for your face, fingerprint or PIN, then save the passkey on this device or in your password manager.”, “Name it (optional)”, “Cancel”, “Continue”); if the sign-in is more than 10 minutes old, “Confirm it's you.” asks for the password first. Then the toast “Passkey added: Test laptop”, the row “Test laptop” with “Added <date>, not used yet.” and “Synced across your devices.” or “On one device.”, “Rename” and “Remove”, and the email “A passkey was added to your account” (Passkey, When, Device, Near, “Review security settings”)
- Step 4: the dashboard, with no password or code
- Step 5: the passkey says “last used <date>”; Recent sign-in activity lists “Signed in, With a passkey” and “Added a passkey, Test laptop”
Notes The sign-in page shows “Sign in with a passkey” only in a browser that supports passkeys. A device without a passkey for this site says “No passkey was used. If this device doesn't have one for Pax Psychology yet, sign in with your email and password.” A new browser signing in with a passkey sends “New sign-in to your Pax Psychology account” with How “With a passkey”.
Automated run
- 1. Sign in as passkey-client@ with the password
- 2. Settings, Sign-in and security shows Passkeys with none yet
- 3. Add a passkey named Test laptop
- Email "A passkey was added to your account" is sent to passkey-client@paxpsychology.dev
- 4. Sign out, then Sign in with a passkey
- 5. The activity says how, and the passkey was used
PassedTC-C-118Rename and remove a passkey (new)4.7s
Test script
Preconditions TC-C-117 steps 1 to 3 done with the name “Old phone”, still signed in.
Steps
- Click “Rename” beside “Old phone”, change it to “Work phone” and click “Save”
- Click “Remove”, then “Remove passkey” in the dialog
- Sign out and try “Sign in with a passkey” with that passkey
Expected
- Step 1: “Rename passkey.” with the name filled in; then “Passkey renamed” and the row reads “Work phone”
- Step 2: “Remove this passkey?” with ““Work phone” won't sign you in any more. If it's saved in a password manager, you can delete it there too.”; confirm it's you if asked; then “Removed “Work phone””, the card says “None yet.”, and the email “A passkey was removed from your account”
- Step 3: “We don't recognise that passkey. It may have been removed from your account. Sign in another way, then add it again.” and no sign-in
Notes An account holds at most 10 passkeys (“That's the most an account can have. Remove one to add another.”). While an admin views as someone, adding and removing are refused. The last passkey is refused when it is the account's only way in (“This passkey is the only way into your account. Add another passkey first, then remove this one.”) or a psychologist's only two-step verification; the account here has a password, so it goes.
Automated run
- 1. Rename it to Work phone
- 2. Remove it, confirming in the dialog
- Email "A passkey was removed from your account" is sent to passkey-client@paxpsychology.dev
- 3. The removed passkey no longer signs in
PassedTC-C-119Still there? Stay signed in (new)2.6s
Test script
Preconditions Signed out.
Steps
- Sign in as
idle@paxpsychology.devand open Sessions - Leave the tab alone for 58 minutes
- Click “Stay signed in”, then leave it for another 30 minutes
Expected
- Step 2: the dialog “Still there?” with “We'll sign you out in 2:00 to keep your information safe.”, counting down each second, and “Sign out” and “Stay signed in” (focused). Moving the mouse alone doesn't close it
- Step 3: the dialog closes and Sessions stays open; no warning 30 minutes later
Notes Escape or the close button also means “Stay signed in”. A client's limit is 60 minutes; using the page at all (a click, typing, scrolling) restarts it.
Automated run
- 1. Sign in as idle@ and open Sessions
- 2. Leave it for 58 minutes: the warning
- 3. Stay signed in: still here half an hour later
PassedTC-C-120Signed out after an hour, then back where you were (new)3.9s
Test script
Preconditions Signed out.
Steps
- Sign in as
idle@paxpsychology.dev, open Settings, Account, and open the dashboard in a second tab - Leave both tabs for an hour
- In the second tab, try
/dashboard - In the first tab sign in again
Expected
- Step 2: after the warning, both tabs go to the sign-in page with “We signed you out after a while without activity, to keep your information safe. Sign in again to carry on where you left off.”
- Step 3: the sign-in page (the session is gone on the server too)
- Step 4: back on Settings, Account
Notes A laptop closed for longer than the limit is signed out when it wakes, without a warning. A session ended any other way (signed out elsewhere, the 12-hour limit for staff) lands with “For your security, you were signed out. Sign in again to carry on where you left off.” The trail records SESSION_TIMEOUT in auth_audit_logs (reason idle, method browser or server).
Automated run
- 1. Sign in as idle@, open Settings and a second tab
- 2. Leave both for an hour: both land on sign-in
- 3. The session is gone: the dashboard asks to sign in
- 4. Sign in again: back on Settings
PassedTC-C-121Sign in with a passkey while booking (new)4.0s
Test script
Preconditions Signed out. TC-C-117 steps 1 to 3 done (a passkey for passkey-client@paxpsychology.dev on this browser), then signed out.
Steps
- From
test@'s profile, book: pick a time, then “Continue to details” - On “Your details.” click “Sign in”
- In the “Sign in to your account” panel click “Sign in with a passkey” and accept the browser's prompt
Expected
- Step 2: the panel opens in the page above the form, with “Sign in and continue”, then an “or” divider, “Sign in with a passkey”, “Continue with Google” and “Continue with Microsoft”
- Step 3: no password and no code; the panel closes and the booking carries on with the same time, signed in as
passkey-client@: “Is this all still right?” with the account's details (the “Already have an account?” card is gone)
Notes “Sign in with a passkey” shows only in a browser that supports passkeys. Cancelling the prompt leaves the panel open with the password form. A passkey counts as two-step verification, so an account with 2FA on is not asked for a code after it.
Automated run
- 1. Open test@’s booking page, pick a time and continue
- 2. Click “Sign in”: the panel offers a passkey
- 3. Sign in with a passkey: the booking carries on with the same time
PassedTC-P-96A psychologist's first passkey turns on two-step verification (new)6.3s
Test script
Preconditions Signed out.
Steps
- Sign in as
passkey-psych@paxpsychology.devand open Settings, Sign-in and security - Add a passkey named “Clinic laptop”, tick “I've saved these codes somewhere safe” and click “Done”
- Sign out and sign in with the password; on the code step click “Use a passkey instead”
- Sign out, sign in with the password again and enter the emailed code
Expected
- Step 1: Two-step verification “Off” with “… Adding a passkey below turns it on too.”; the Passkeys card says “None yet. Adding one also turns on two-step verification, with email codes for when you sign in with your password.”
- Step 2: “Your passkey is ready.” explains that two-step verification is now on with emailed codes, which the passkey skips, and shows ten backup codes once; “Done” stays disabled until the box is ticked. Then Two-step verification is “On”, “Email codes, sent to p•••@paxpsychology.dev.” The email “A passkey was added to your account” says two-step verification was turned on too
- Step 3: the code step offers “Use a passkey instead”, which signs in to the dashboard with no code
- Step 4: the dashboard
Notes An admin, or a psychologist who already has 2FA, keeps their method; only a password account without 2FA gets email codes turned on, so a password alone never signs in. A client's 2FA is left as it was. A psychologist who joined with a passkey and has no password is covered by the passkey itself (TC-P-115).
Automated run
- 1. Settings, Sign-in and security says a passkey turns 2FA on too
- 2. Add a passkey: backup codes, then 2FA is on
- Email "A passkey was added to your account" is sent to passkey-psych@paxpsychology.dev
- 3. A password sign-in now asks for a code, or the passkey
- 4. And the emailed code still works
PassedTC-P-97Confirm it's you with a passkey (new)3.1s
Test script
Preconditions TC-P-96 steps 1 and 2 done; the sign-in more than 10 minutes old.
Steps
- Settings, Sign-in and security: click “Make new codes”
- Click “Use my passkey” and accept the browser's prompt
Expected
- Step 1: “Confirm it's you.” names the change and offers the passkey first: “Use your passkey. Your device will ask for your face, fingerprint or PIN.”, “Use my passkey”, then “Email me a code instead” and “Use a backup code”
- Step 2: “Your new backup codes.”
Notes A passkey confirms any sensitive change the same way (connecting a sign-in provider, payouts, an admin's reset or impersonation). An account that signs in only with Google, Microsoft or Apple and has a passkey can confirm with it instead of signing in again. Never while viewing as someone.
Automated run
- 1. Make new backup codes: the passkey comes first
- 2. Use my passkey: the change goes ahead
PassedTC-P-98A psychologist is signed out after 30 minutes, or chooses to (new)2.6s
Test script
Preconditions Signed out.
Steps
- Sign in as
idle-psych@paxpsychology.dev - Leave the tab for 28 minutes
- Click “Sign out”, then try
/dashboard
Expected
- Step 2: “Still there?” with about two minutes left
- Step 3: signed out at once (the home page), and
/dashboardasks to sign in
Notes Not signed out while a card is being confirmed (the booking or card form is waiting on Stripe), while a dictation is recording, or after “Join video call” until 15 minutes after the session's scheduled end (the call runs in another app).
Automated run
- 1. Sign in as idle-psych@
- 2. 28 minutes: the warning
- 3. Sign out: the session ends at once
PassedTC-A-61An admin sent to two-step setup can use a passkey (new)3.9s
Test script
Preconditions Signed out.
Steps
- Sign in as
passkey-admin@paxpsychology.dev - Choose “A passkey” and click “Continue”, then accept the browser's prompt
- Tick “I've saved these codes somewhere safe”, click “Continue”, then “Go to your dashboard”
- Sign out and click “Sign in with a passkey”
Expected
- Step 1: the setup page asks “How would you like to confirm it's you?” with “A passkey” (“Sign in with your face, fingerprint or device PIN, with no code to type. We'll email a code if you sign in with your password.”), “Authenticator app” (Recommended) and “Email codes”
- Step 2: “Step 3 of 3”, “Save your backup codes.”
- Step 3: “You're all set.” with Passkey “Added” and Codes from “Email codes”; then the admin dashboard
- Step 4: the dashboard with no password or code
Notes Clients don't see “A passkey” on the setup page (it wouldn't add a step to their password sign-in); they add one in Settings, Sign-in and security.
Automated run
- 1. Sign in as passkey-admin@: sent to setup
- 2. Choose A passkey and continue
- 3. Save the codes: all set, with the passkey
- 4. Next time, the passkey alone signs in
PassedTC-A-62An admin viewing as a client gets the admin's 30 minutes (new)3.2s
Test script
Preconditions Signed in as admin@paxpsychology.dev.
Steps
- Users: open Ida Idle (
idle@paxpsychology.dev) and impersonate her (reason “Support request”) - Leave the tab for 28 minutes
- Leave it for 2 more minutes
Expected
- Step 2: “Still there?” (a client on her own would get it at 58 minutes)
- Step 3: the sign-in page with the idle note; the impersonation session is gone
Notes The SESSION_TIMEOUT row names the admin as the actor.
Automated run
- 1. Sign in as admin@ and view as idle@
- 2. 28 minutes: the warning (a client alone gets 58)
- 3. Two more minutes: signed out, back to sign-in
Accessibility
1 cases1 passed
7A. Automated checks
1 passed
PassedTC-C-122Automated accessibility scan of public and signed-in pages (new)1m 14s
Test script
Preconditions Signed out. The seeded accounts (client@, test@, admin@) and Dr Emily Thompson's listing (/psychologists/emily-thompson).
Steps
- Scan the public pages signed out:
/,/psychologists,/psychologists/emily-thompson,/toolkit, the first article on it,/our-story,/contact,/auth/login,/auth/register,/onboarding,/book/emily-thompson,/this-page-does-not-existand/maintenance(only while maintenance mode is on; otherwise it redirects home) - Sign in as the client and scan the portal:
/dashboard,/dashboard/appointments,/dashboard/appointments?tab=past, the first receipt listed there (/dashboard/invoices/<id>),/dashboard/settings - Sign in as the psychologist and scan the dashboard:
/dashboard,/dashboard/appointments,/dashboard/clients,/dashboard/earnings,/dashboard/listing,/dashboard/settings - Sign in as the admin and scan the admin pages:
/dashboard/admin(an admin's home;/dashboardsends them there),/dashboard/users,/dashboard/toolkit,/dashboard/correspondence
Expected
- Every page: no serious or critical axe violations, and an
axe-<page>.jsonattachment with the full results - Every page stays on the URL it was opened at; a page that redirects elsewhere fails, naming where it went, and is not scanned
- Step 1: the unknown URL answers 404
Notes By hand, run the axe DevTools browser extension on the same pages, then the manual checklist in docs/accessibility.md (keyboard only, VoiceOver or NVDA, 200% zoom and 320px reflow, reduced motion, colour-only information).
Automated run
- 1. Scan the public pages signed out
- Scan Home (/)
- Scan Directory (/psychologists)
- Scan Psychologist profile (/psychologists/emily-thompson)
- Scan Toolkit (/toolkit)
- Scan Toolkit article (/toolkit/the-quiet-weight-of-high-functioning-anxiety)
- Scan Our story (/our-story)
- Scan Contact (/contact)
- Scan Sign in (/auth/login)
- Scan Sign up (/auth/register)
- Scan Match wizard, first step (/onboarding)
- Scan Booking entry (/book/emily-thompson)
- Scan Not found (/this-page-does-not-exist)
- Scan Maintenance (/maintenance) if it is on
- 2. Sign in as the client and scan the portal
- Scan Client home (/dashboard)
- Scan Client sessions (/dashboard/appointments)
- Scan Client past sessions (/dashboard/appointments?tab=past)
- Scan Client receipt (/dashboard/invoices/cmw2p2cts005g7hmr7xfztcuq)
- Scan Client settings (/dashboard/settings)
- 3. Sign in as the psychologist and scan the dashboard
- Scan Psychologist home (/dashboard)
- Scan Psychologist schedule (/dashboard/appointments)
- Scan Psychologist clients (/dashboard/clients)
- Scan Psychologist earnings (/dashboard/earnings)
- Scan Psychologist listing (/dashboard/listing)
- Scan Psychologist settings (/dashboard/settings)
- 4. Sign in as the admin and scan the admin pages
- Scan Admin home (/dashboard/admin)
- Scan Admin users (/dashboard/users)
- Scan Admin Toolkit (/dashboard/toolkit)
- Scan Admin correspondence (/dashboard/correspondence)
Emails
288 sent during this run
| Time (UTC) | Case | To | Subject | Status | Screenshot |
|---|---|---|---|---|---|
| 22:41:21 | TC-A-25 | test@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:41:40 | TC-A-25 | client@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:42:07 | TC-A-25 | admin@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:42:36 | TC-A-29 | e2e-client+e2e-20261104-gh41924178588-a29@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:43:07 | TC-A-42 | test@paxpsychology.dev | Please review Avery's request for their records by Thursday 19 November | Sent | View |
| 22:43:15 | TC-A-44 | test@paxpsychology.dev | Please review Avery's request for their records by Thursday 19 November | Sent | View |
| 22:43:18 | TC-A-22 | e2e-client+e2e-20261104-gh41924178588-a29@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:43:28 | TC-A-45 | test@paxpsychology.dev | Please review Avery's request for their records by Thursday 19 November | Sent | View |
| 22:43:37 | TC-A-74 | e2e-invite+e2e-20261104-gh41924178588-a74@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:43:41 | TC-A-75 | e2e-invite+e2e-20261104-gh41924178588-a75@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:43:48 | TC-A-76 | e2e-invite+e2e-20261104-gh41924178588-a76@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:43:49 | TC-A-76 | e2e-invite+e2e-20261104-gh41924178588-a76@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:43:52 | TC-A-76 | invited-progress@paxpsychology.dev | Pick up where you left off on Pax Psychology | Sent | View |
| 22:43:55 | TC-A-77 | e2e-invite+e2e-20261104-gh41924178588-a77@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:43:59 | TC-A-78 | e2e-invite+e2e-20261104-gh41924178588-a78@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 22:44:01 | TC-A-78 | e2e-invite+e2e-20261104-gh41924178588-a78@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:44:14 | TC-A-50 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:44:14 | TC-A-50 | test@paxpsychology.dev | New appointment: Initial consultation with Alex Johnson | Sent | View |
| 22:44:22 | TC-A-50 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 22:44:22 | TC-A-50 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Alex Johnson | Sent | View |
| 22:45:04 | TC-A-15 | e2e+e2e-20261104-gh41924178588-a15@paxpsychology.dev | You're on the list | Sent | View |
| 22:45:04 | TC-A-15 | support@paxpsychology.dev | Newsletter subscription: Tester | Sent | View |
| 22:45:06 | TC-A-15 | e2e+e2e-20261104-gh41924178588-a15@paxpsychology.dev | You're off the list | Sent | View |
| 22:45:13 | TC-A-79 | e2e-invite+e2e-20261104-gh41924178588-a79@paxpsychology.dev | You're live on Pax Psychology | Sent | View |
| 22:45:16 | TC-A-89 | e2e-invite+e2e-20261104-gh41924178588-a89-0@paxpsychology.dev | Your client records are ready to download | Sent | View |
| 22:45:18 | TC-A-80 | e2e-invite+e2e-20261104-gh41924178588-a80@paxpsychology.dev | One change before you go live | Sent | View |
| 22:45:20 | TC-A-80 | e2e-invite+e2e-20261104-gh41924178588-a80@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:45:21 | TC-A-88 | admin@paxpsychology.dev | 1 Ahpra register check is due | Sent | View |
| 22:45:21 | TC-A-88 | 2fa-admin@paxpsychology.dev | 1 Ahpra register check is due | Sent | View |
| 22:45:21 | TC-A-88 | 2fa-setup@paxpsychology.dev | 1 Ahpra register check is due | Sent | View |
| 22:45:21 | TC-A-88 | passkey-admin@paxpsychology.dev | 1 Ahpra register check is due | Sent | View |
| 22:45:22 | TC-A-80 | admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:22 | TC-A-80 | 2fa-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:22 | TC-A-80 | 2fa-setup@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:22 | TC-A-80 | passkey-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:30 | TC-A-83 | e2e-invite+e2e-20261104-gh41924178588-a83@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:45:31 | TC-A-83 | admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:31 | TC-A-83 | 2fa-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:31 | TC-A-83 | 2fa-setup@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:31 | TC-A-83 | passkey-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 22:45:44 | TC-A-87 | e2e-invite+e2e-20261104-gh41924178588-a87@paxpsychology.dev | Your insurance certificate has expired | Sent | View |
| 22:45:45 | TC-A-87 | admin@paxpsychology.dev | Dr Rhea Rowe's insurance has expired | Sent | View |
| 22:45:45 | TC-A-87 | 2fa-admin@paxpsychology.dev | Dr Rhea Rowe's insurance has expired | Sent | View |
| 22:45:45 | TC-A-87 | 2fa-setup@paxpsychology.dev | Dr Rhea Rowe's insurance has expired | Sent | View |
| 22:45:45 | TC-A-87 | passkey-admin@paxpsychology.dev | Dr Rhea Rowe's insurance has expired | Sent | View |
| 22:46:34 | TC-C-57 | resets@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:46:37 | TC-C-57 | resets@paxpsychology.dev | Reset your Pax Psychology password | Sent | View |
| 22:46:38 | TC-C-57 | resets@paxpsychology.dev | Your Pax Psychology password's been changed | Sent | View |
| 22:46:41 | TC-A-03 | e2e-client+e2e-20261104-gh41924178588-a03@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:46:47 | TC-C-58 | e2e+e2e-20261104-gh41924178588-c58@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 22:46:47 | TC-A-05 | e2e-client+e2e-20261104-gh41924178588-a05@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:46:49 | TC-C-58 | e2e+e2e-20261104-gh41924178588-c58@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:04 | TC-C-14 | client@paxpsychology.dev | Reset your Pax Psychology password | Sent | View |
| 22:47:17 | TC-C-34 | e2e+e2e-20261104-gh41924178588@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 22:47:17 | TC-C-34 | e2e+e2e-20261104-gh41924178588@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 22:47:20 | TC-C-90 | confirms@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:22 | TC-C-90 | confirms@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:47:22 | TC-C-90 | proposes@paxpsychology.dev | Cam Confirms confirmed: Initial consultation | Sent | View |
| 22:47:23 | TC-C-91 | declines@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:25 | TC-C-91 | proposes@paxpsychology.dev | Drew Declines declined: Initial consultation | Sent | View |
| 22:47:27 | TC-C-92 | linked@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:31 | TC-C-110 | suggested@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:36 | TC-C-110 | suggested@paxpsychology.dev | Appointment confirmation: Standard session | Sent | View |
| 22:47:36 | TC-C-110 | rebooks@paxpsychology.dev | New appointment: Standard session with Sky Suggested | Sent | View |
| 22:47:39 | TC-C-111 | bookagain@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:39 | TC-C-17 | e2e+e2e-20261104-gh41924178588-c17@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:47:39 | TC-C-17 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 22:47:39 | TC-C-17 | e2e+e2e-20261104-gh41924178588-c17@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:47:39 | TC-C-17 | test@paxpsychology.dev | New client booked in | Sent | View |
| 22:47:42 | TC-C-111 | bookagain@paxpsychology.dev | Appointment confirmation: Standard session | Sent | View |
| 22:47:42 | TC-C-111 | rebooks@paxpsychology.dev | New appointment: Standard session with Bea Again | Sent | View |
| 22:47:45 | TC-C-112 | owes@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:47:48 | TC-C-112 | owes@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Rory Rebooks | Sent | View |
| 22:47:48 | TC-C-112 | rebooks@paxpsychology.dev | You've been paid: $171.60 | Sent | View |
| 22:47:54 | TC-C-36 | e2e+e2e-20261104-gh41924178588-c36@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:47:54 | TC-C-36 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 22:47:55 | TC-C-113 | bookagain@paxpsychology.dev | Appointment confirmation: Standard session | Sent | View |
| 22:47:55 | TC-C-36 | e2e+e2e-20261104-gh41924178588-c36@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:47:55 | TC-C-113 | rebooks@paxpsychology.dev | New appointment: Standard session with Bea Again | Sent | View |
| 22:47:55 | TC-C-36 | test@paxpsychology.dev | New client booked in | Sent | View |
| 22:47:58 | TC-C-114 | twopsychs@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:48:04 | TC-C-114 | twopsychs@paxpsychology.dev | Appointment confirmation: Standard session | Sent | View |
| 22:48:04 | TC-C-114 | rebooks@paxpsychology.dev | New appointment: Standard session with Tess Twopsychs | Sent | View |
| 22:48:05 | TC-C-115 | movesagain@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:48:07 | TC-C-115 | movesagain@paxpsychology.dev | Appointment rescheduled: Standard session | Sent | View |
| 22:48:07 | TC-C-115 | rebooks@paxpsychology.dev | Appointment rescheduled: Standard session with Max Movesagain | Sent | View |
| 22:48:11 | TC-C-37 | e2e+e2e-20261104-gh41924178588-c37@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:48:11 | TC-C-37 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 22:48:11 | TC-C-37 | e2e+e2e-20261104-gh41924178588-c37@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:48:11 | TC-C-37 | test@paxpsychology.dev | New client booked in | Sent | View |
| 22:48:19 | TC-C-18 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:48:19 | TC-C-18 | test@paxpsychology.dev | New appointment: Initial consultation with Alex Johnson | Sent | View |
| 22:48:20 | TC-C-35 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:48:20 | TC-C-35 | test@paxpsychology.dev | New appointment: Initial consultation with Alex Johnson | Sent | View |
| 22:48:22 | TC-C-18 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 22:48:22 | TC-C-18 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Alex Johnson | Sent | View |
| 22:48:24 | TC-C-35 | client@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 22:48:24 | TC-C-35 | test@paxpsychology.dev | Appointment rescheduled: Initial consultation with Alex Johnson | Sent | View |
| 22:48:25 | TC-C-35 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 22:48:25 | TC-C-35 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Alex Johnson | Sent | View |
| 22:48:27 | TC-C-35 | late@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:48:37 | TC-C-23 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:48:37 | TC-C-23 | test@paxpsychology.dev | New appointment: Initial consultation with Alex Johnson | Sent | View |
| 22:48:41 | TC-C-23 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 22:48:41 | TC-C-23 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Alex Johnson | Sent | View |
| 22:53:19 | TC-C-130 | joins@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:53:25 | TC-C-27 | e2e+newsletter-e2e-20261104-gh41924178588@paxpsychology.dev | You're on the list | Sent | View |
| 22:53:25 | TC-C-27 | support@paxpsychology.dev | Newsletter subscription: Tester | Sent | View |
| 22:53:28 | TC-C-133 | payments@paxpsychology.dev | Jo asked to move their session on Fri 6 Nov | Sent | View |
| 22:53:29 | TC-C-28 | e2e+newsletter-e2e-20261104-gh41924178588@paxpsychology.dev | You're off the list | Sent | View |
| 22:53:31 | TC-C-135 | payments@paxpsychology.dev | Jo is running about 10 minutes late | Sent | View |
| 22:53:32 | TC-C-44 | latefee@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:53:35 | TC-C-44 | latefee@paxpsychology.dev | Late cancellation fee invoice for your session with Dr Penny Payments | Sent | View |
| 22:53:35 | TC-C-44 | payments@paxpsychology.dev | A late cancellation from Lou Latefee | Sent | View |
| 22:53:49 | TC-C-04 | support@paxpsychology.dev | Contact form (Psychologist joining Pax Psychology): Test User | Sent | View |
| 22:53:49 | TC-C-04 | e2e+contact@paxpsychology.dev | Thank you for contacting Pax Psychology | Sent | View |
| 22:53:49 | TC-C-94 | e2e+e2e-20261104-gh41924178588-c94@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:53:49 | TC-C-94 | test@paxpsychology.dev | New appointment: Initial consultation with Test Minor | Sent | View |
| 22:53:49 | TC-C-94 | e2e+e2e-20261104-gh41924178588-c94@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:53:49 | TC-C-94 | test@paxpsychology.dev | New client booked in | Sent | View |
| 22:53:53 | TC-M-13 | client@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:05 | TC-C-129 | e2e-client+e2e-20261104-gh41924178588-c129-new@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:07 | TC-C-129 | e2e-client+e2e-20261104-gh41924178588-c129-existing@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:14 | TC-C-52 | journal@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:17 | TC-C-51 | privacy@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:19 | TC-C-51 | test@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:29 | TC-C-52 | test@paxpsychology.dev | Jules flagged a tough day | Sent | View |
| 22:54:30 | TC-C-07 | e2e+e2e-20261104-gh41924178588-c07@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 22:54:30 | TC-C-07 | calista.jones@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 22:54:30 | TC-C-07 | e2e+e2e-20261104-gh41924178588-c07@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 22:54:30 | TC-C-07 | calista.jones@paxpsychology.dev | New client booked in | Sent | View |
| 22:54:35 | TC-C-75 | client@paxpsychology.dev | Appointment confirmation: Assessment | Sent | View |
| 22:54:35 | TC-C-75 | test@paxpsychology.dev | New appointment: Assessment with Alex Johnson | Sent | View |
| 22:54:37 | TC-C-75 | client@paxpsychology.dev | Appointment cancellation: Assessment | Sent | View |
| 22:54:37 | TC-C-75 | test@paxpsychology.dev | Appointment cancellation: Assessment with Alex Johnson | Sent | View |
| 22:54:39 | TC-C-82 | swapper@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:40 | TC-C-82 | swapper@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 22:54:40 | TC-C-82 | swaps@paxpsychology.dev | Appointment rescheduled: Initial consultation with Jamie Swapper | Sent | View |
| 22:54:40 | TC-C-25 | account@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:42 | TC-C-82 | swaps@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:44 | TC-C-70 | test@paxpsychology.dev | None of the suggested times worked for Alex | Sent | View |
| 22:54:45 | TC-C-83 | mobile@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:49 | TC-C-26 | cards@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:54:51 | TC-C-38 | unpaid@paxpsychology.dev | We couldn't process your payment | Sent | View |
| 22:54:59 | TC-C-116 | timezone@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:07 | TC-C-142 | followed@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:08 | TC-C-142 | followed@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 22:55:08 | TC-C-142 | follows@paxpsychology.dev | Appointment cancellation: Initial consultation with Ash Followed | Sent | View |
| 22:55:09 | TC-C-38 | unpaid@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:09 | TC-C-119 | idle@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:16 | TC-P-98 | idle-psych@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:17 | TC-C-38 | unpaid@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Emily Thompson | Sent | View |
| 22:55:17 | TC-C-38 | test@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 22:55:18 | TC-A-62 | admin@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:27 | TC-C-117 | passkey-client@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:29 | TC-C-117 | passkey-client@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:55:29 | TC-P-140 | e2e-invite+e2e-20261104-gh41924178588-p140-0@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:31 | TC-P-80 | proposes@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:32 | TC-P-80 | held@paxpsychology.dev | Piper withdrew a booking request | Sent | View |
| 22:55:34 | TC-C-118 | passkey-client@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:55:35 | TC-C-118 | passkey-client@paxpsychology.dev | A passkey was removed from your account | Sent | View |
| 22:55:38 | TC-C-121 | passkey-client@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:55:39 | TC-P-83 | held@paxpsychology.dev | Piper withdrew a booking request | Sent | View |
| 22:55:39 | TC-P-83 | proposes@paxpsychology.dev | Withdrawn: Hollis Held's Initial consultation | Sent | View |
| 22:55:41 | TC-P-19 | calendar@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:41 | TC-P-96 | passkey-psych@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:43 | TC-P-96 | passkey-psych@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:55:44 | TC-P-96 | passkey-psych@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 22:55:45 | TC-P-96 | passkey-psych@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 22:55:48 | TC-P-97 | passkey-psych@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:55:50 | TC-A-61 | passkey-admin@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:55:51 | TC-A-61 | passkey-admin@paxpsychology.dev | A passkey was added to your account | Sent | View |
| 22:56:23 | TC-P-10 | jacinto_pacocha@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Emily Thompson | Sent | View |
| 22:56:23 | TC-P-10 | test@paxpsychology.dev | You've been paid: $117.00 | Sent | View |
| 22:56:34 | TC-P-111 | gate@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 22:56:52 | TC-P-11 | liam_mertz41@paxpsychology.dev | Missed appointment: Standard session | Sent | View |
| 22:56:52 | TC-P-11 | test@paxpsychology.dev | You've been paid: $171.60 | Sent | View |
| 23:01:07 | TC-C-134 | joins@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:01:09 | TC-P-70 | test@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:01:14 | TC-P-70 | client@paxpsychology.dev | Dr Emily Thompson would like to use AI to help with their notes | Sent | View |
| 23:01:15 | TC-P-70 | client@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:01:43 | TC-P-63 | test2@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:02 | TC-P-72 | client@paxpsychology.dev | Dr Emily Thompson would like to record your next session | Sent | View |
| 23:02:11 | TC-C-76 | shared@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:14 | TC-P-73 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:02:18 | TC-P-73 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:02:26 | TC-P-115 | e2e-invite+e2e-20261104-gh41924178588-p115@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:28 | TC-P-73 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:02:29 | TC-P-152 | e2e-invite+e2e-20261104-gh41924178588-p152@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:31 | TC-P-152 | e2e-invite+e2e-20261104-gh41924178588-p152@paxpsychology.dev | Your Pax Psychology confirmation code | Sent | View |
| 23:02:32 | TC-P-152 | e2e-invite+e2e-20261104-gh41924178588-p152@paxpsychology.dev | Two-step verification is on | Sent | View |
| 23:02:37 | TC-P-153 | e2e-invite+e2e-20261104-gh41924178588-p153@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:38 | TC-P-150 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:02:39 | TC-P-153 | e2e-invite+e2e-20261104-gh41924178588-p153@paxpsychology.dev | Your Pax Psychology confirmation code | Sent | View |
| 23:02:39 | TC-P-153 | e2e-invite+e2e-20261104-gh41924178588-p153@paxpsychology.dev | Two-step verification is on | Sent | View |
| 23:02:40 | TC-P-150 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:02:41 | TC-P-153 | e2e-invite+e2e-20261104-gh41924178588-p153@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:02:44 | TC-P-118 | e2e-invite+e2e-20261104-gh41924178588-p118@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:02:45 | TC-P-119 | invited-expired-link@paxpsychology.dev | Dr Sarah Mitchell has invited you to join Pax Psychology | Sent | View |
| 23:03:04 | TC-P-33 | payments@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:03:05 | TC-P-33 | pcancel@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 23:03:05 | TC-P-33 | payments@paxpsychology.dev | Appointment cancellation: Initial consultation with Parker Cancel | Sent | View |
| 23:03:06 | TC-P-33 | pcancel@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 23:03:06 | TC-P-33 | payments@paxpsychology.dev | Appointment cancellation: Initial consultation with Parker Cancel | Sent | View |
| 23:03:08 | TC-P-34 | blocks@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:03:09 | TC-P-34 | moves@paxpsychology.dev | Appointment cancelled: Initial consultation (psychologist unavailable) | Sent | View |
| 23:03:09 | TC-P-34 | blocks@paxpsychology.dev | Appointment auto-cancelled: Initial consultation with Casey Moves | Sent | View |
| 23:03:14 | TC-P-35 | retry@paxpsychology.dev | We couldn't process your payment | Sent | View |
| 23:03:24 | TC-P-110 | test@paxpsychology.dev | Your draft note for Alex is ready | Sent | View |
| 23:03:32 | TC-P-35 | retry@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Penny Payments | Sent | View |
| 23:03:32 | TC-P-35 | payments@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 23:03:35 | TC-P-24 | client@paxpsychology.dev | A note from Emily about your first session | Sent | View |
| 23:03:39 | TC-P-74 | amounts@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Penny Payments | Sent | View |
| 23:03:39 | TC-P-74 | payments@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 23:03:43 | TC-P-56 | client@paxpsychology.dev | Emily suggested some times | Sent | View |
| 23:03:51 | TC-P-56 | client@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 23:03:51 | TC-P-56 | test@paxpsychology.dev | Appointment rescheduled: Initial consultation with Alex Johnson | Sent | View |
| 23:04:04 | TC-P-26 | admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:04 | TC-P-26 | 2fa-admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:04 | TC-P-26 | 2fa-setup@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:04 | TC-P-26 | passkey-admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:04 | TC-P-39 | privacy@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:16 | TC-P-28 | admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:16 | TC-P-28 | 2fa-admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:16 | TC-P-28 | 2fa-setup@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:16 | TC-P-28 | passkey-admin@paxpsychology.dev | Dr Emily Thompson changed their profile | Sent | View |
| 23:04:25 | TC-P-75 | shifts@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:28 | TC-P-75 | shifted@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 23:04:28 | TC-P-75 | shifts@paxpsychology.dev | Appointment rescheduled: Initial consultation with Rowan Shifted | Sent | View |
| 23:04:30 | TC-P-75 | shifted@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:34 | TC-P-130 | e2e-invite+e2e-20261104-gh41924178588-p130@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:34 | TC-P-130 | admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 23:04:34 | TC-P-130 | 2fa-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 23:04:34 | TC-P-130 | 2fa-setup@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 23:04:34 | TC-P-130 | passkey-admin@paxpsychology.dev | Dr Rhea Rowe is ready for review | Sent | View |
| 23:04:35 | TC-P-03 | hours@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:37 | TC-P-131 | e2e-invite+e2e-20261104-gh41924178588-p131@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:41 | TC-P-132 | admin@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:43 | TC-P-132 | e2e-invite+e2e-20261104-gh41924178588-p132@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:45 | TC-P-132 | admin@paxpsychology.dev | Dr Rhea Rowe changed their profile | Sent | View |
| 23:04:45 | TC-P-132 | 2fa-admin@paxpsychology.dev | Dr Rhea Rowe changed their profile | Sent | View |
| 23:04:45 | TC-P-132 | 2fa-setup@paxpsychology.dev | Dr Rhea Rowe changed their profile | Sent | View |
| 23:04:45 | TC-P-132 | passkey-admin@paxpsychology.dev | Dr Rhea Rowe changed their profile | Sent | View |
| 23:04:46 | TC-P-04 | timeoff@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:55 | TC-P-31 | weekly@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:04:57 | TC-P-31 | repeats@paxpsychology.dev | Wren booked sessions for you: please confirm | Sent | View |
| 23:05:47 | TC-P-21 | availability@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:05:52 | TC-P-12 | reschedule@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:00 | TC-P-12 | moves@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 23:06:00 | TC-P-12 | reschedule@paxpsychology.dev | Appointment rescheduled: Initial consultation with Casey Moves | Sent | View |
| 23:06:07 | TC-P-134 | craig.runte@paxpsychology.dev | Your Zoom link for Friday 1 January 2027 | Sent | View |
| 23:06:10 | TC-P-126 | e2e-invite+e2e-20261104-gh41924178588-p126@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:14 | TC-P-107 | listing@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:17 | TC-P-127 | e2e-invite+e2e-20261104-gh41924178588-p127@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:23 | TC-P-128 | e2e-invite+e2e-20261104-gh41924178588-p128@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:30 | TC-P-120 | e2e-invite+e2e-20261104-gh41924178588-p120@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:30 | TC-P-129 | e2e-invite+e2e-20261104-gh41924178588-p129@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:34 | TC-P-103 | confirms@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:34 | TC-P-120 | e2e-invite+e2e-20261104-gh41924178588-p120@paxpsychology.dev | Pick up where you left off on Pax Psychology | Sent | View |
| 23:06:37 | TC-P-103 | proposes@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:38 | TC-P-121 | e2e-invite+e2e-20261104-gh41924178588-p121@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:42 | TC-P-122 | e2e-invite+e2e-20261104-gh41924178588-p122@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:42 | TC-P-103 | proposes@paxpsychology.dev | Action required: video call setup failed for Cam Confirms | Sent | View |
| 23:06:42 | TC-P-103 | confirms@paxpsychology.dev | Appointment confirmation: TC-P-103 Google Meet session | Sent | View |
| 23:06:42 | TC-P-103 | proposes@paxpsychology.dev | Cam Confirms confirmed: TC-P-103 Google Meet session | Sent | View |
| 23:06:46 | TC-P-103 | confirms@paxpsychology.dev | Appointment confirmation: TC-P-103 Google Meet session | Sent | View |
| 23:06:46 | TC-P-103 | proposes@paxpsychology.dev | Cam Confirms confirmed: TC-P-103 Google Meet session | Sent | View |
| 23:06:49 | TC-P-123 | e2e-invite+e2e-20261104-gh41924178588-p123@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:49 | TC-P-155 | follows@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:50 | TC-P-155 | followed@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 23:06:50 | TC-P-155 | follows@paxpsychology.dev | Appointment rescheduled: Initial consultation with Ash Followed | Sent | View |
| 23:06:54 | TC-P-156 | followed@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 23:06:54 | TC-P-156 | follows@paxpsychology.dev | Appointment cancellation: Initial consultation with Ash Followed | Sent | View |
| 23:06:56 | TC-C-40 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:06:56 | TC-P-124 | e2e-invite+e2e-20261104-gh41924178588-p124@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:06:58 | TC-C-40 | 2fa-client@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:07:01 | TC-P-125 | e2e-invite+e2e-20261104-gh41924178588-p125@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:07:01 | TC-P-29 | 2fa-psych@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:07:05 | TC-C-41 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:07:06 | TC-C-41 | 2fa-client@paxpsychology.dev | A backup code was used on your account | Sent | View |
| 23:07:08 | TC-C-41 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:07:10 | TC-C-42 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:07:14 | TC-C-42 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:07:17 | TC-C-43 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 23:07:19 | TC-A-23 | 2fa-setup@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 23:07:20 | TC-A-23 | 2fa-setup@paxpsychology.dev | Two-step verification is on | Sent | View |
| 23:07:24 | TC-A-24 | 2fa-reset@paxpsychology.dev | Two-step verification was reset on your account | Sent | View |
| 23:07:25 | TC-A-24 | 2fa-reset@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |































































































































































































































































































