Client
61 cases52 passed 2 failed 2 manual 2 retired 3 skipped by design
1A. Marketing & Public Pages
4 passed 1 failed 1 retired
PassedTC-C-01Homepage loads correctly5.1s
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" (→
/journal?category=Stories), "Psychologists", "Journal"; 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)
- "Journal" (vertical title) with three article cards, each with a coloured category label, and a "Read more" button (→
/journal) - "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 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, Journal), "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
FailedTC-C-02Navigate to Our Story page6.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
/journal?category=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 – failed
Error: expect(page).toHaveTitle(expected) failed
Expected: "Our Story | Pax Psychology"
Received: "Our story | Pax Psychology"
Timeout: 5000ms
Call log:
- Expect "soft toHaveTitle" with timeout 5000ms
14 × locator resolved to <html lang="en-AU" class="light">…</html>
- unexpected value "Our story | Pax Psychology"PassedTC-C-03Navigate to For Business page2.2s
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
- Eyebrow "For organisations", H1 "Look after the people who look after the work."
- 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 page6.3s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/contact - Click "Submit" with the form empty, and check the validation messages
- Fill in the form: Name
Test User, Email addresse2e+contact@paxpsychology.dev, Phone0412 345 678, MessageThis is a staging test submission. - Click "Submit"
Expected
- Eyebrow "Get in touch", H1 "Contact us"
- Fields, each with both a visible label and a placeholder: "Name", "Email address", "Phone", "Message"
- Validation: "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"
- Button shows a spinner and "Sending…" while submitting
- On success the form is replaced by a green panel reading "Thanks for your message. Someone from the team will be in touch shortly."
- Two emails go out:
Contact form: Test Userto support, and "Thank you for contacting Pax Psychology" to the sender
Notes Cloudflare Turnstile runs invisibly when a site key is configured; if verification fails the red banner reads "Verification failed. Please try again." The invisible widget takes a moment to issue its token after the page loads; "Submit" is clickable before that, and a click in that window does nothing at all. Give the page a second before submitting. Likewise, after a failed validation the next Submit is ignored until the field you last typed into loses focus – tab out of "Message" before clicking (open defect).
Automated run
- 1. Navigate to https://paxpsychology.dev/contact
- 2. Click “Submit” with the form empty, and check the validation messages
- 3. Fill in the form: Name, Email address, Phone and Message
- 4. Click “Submit”
- Email "Contact form: 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.7s
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 "PaxAnimi Platform Pty Ltd (ACN 104 410 233) as trustee for PaxAnimi Platform Unit Trust, 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 /journal, covered by TC-C-27.
1B. Find Your Match (matching quiz + booking wizard)
3 passed
PassedTC-C-07Complete the full match wizard12.8s
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 & 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" 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. Your card's saved securely and only charged after your session happens." and the summary row is "Charged after your session"
- 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 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 "Go to your Pax Psychology home" →
/dashboard - 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-20261025-x0ebwn-c07@paxpsychology.dev
PassedTC-C-08Match wizard progress persistence4.5s
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.5s
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
2 passed
PassedTC-C-09Browse the directory and use the desktop filters12.5s
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 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 "Waitlist" 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" journal carousel, the sky "When it's personal, you need the right person." band with "Find my match", the journal preview ("Journal") 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 "Waitlist" pill and next-available slot pills), "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 "Specialities" chips with a "See more" toggle when the list is long. No Medicare copy in these sections
- 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
1D. Authentication
7 passed 2 manual
PassedTC-C-11Login with email/password2.8s
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" wordmark (the marketing header's, linking home) and the headline "Shit happens. It's good to talk about it.". There is no eyebrow above the headline and no "Private & secure" footnote. Mobile: the photo sits above the form with a close (X) button back to the homepage, and no wordmark or headline
- H1 "Sign in"
- Fields with placeholders "Email" and "Password" (their labels are for screen readers only); the password field has a show/hide toggle
- Button "Sign in", showing "Signing in…" while pending
- Below it, checkbox "Remember me" (ticked by default) and a "Forgot password" link, 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 and sign-out pages share the same photo panel (wordmark and headline only, no eyebrow or footnote). 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. On /auth/register the same buttons read "Sign up with …".
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 flow4.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", eyebrow "Forgot password", H1 "No worries.", sub "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: eyebrow "Set a new password", H1 "Let's get you back in.", 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 › Account (TC-C-25).
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)15.2s
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)19.7s
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 ("Good to see you."), 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-20261025-x0ebwn-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-20261025-x0ebwn-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.0s
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.6s
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 on this device.") and, below it, "Delete account"
Notes Clients have no separate "Account actions" settings section – sign-out and delete live in the Account section's red panel. Psychologists and admins get a dedicated "Account actions" section instead.
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)1.2s
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 a minute." 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
10 passed
PassedTC-C-75Rebook a past session (new)11.6s
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 "Rebook" on a past session; note its session type - Read the dialog's subtitle and the session type it starts on
- Pick a day at least two days out and a time
- Click "Continue to card"
- Keep the default card and click "Confirm booking", then "Done"
- Find the new session on the Upcoming tab and cancel it (it is more than 24 hours away, so this is free)
Expected
- Title "Book a session"; subtitle "Book a new session with <First> from their open slots." with the psychologist's first name (never "with Dr. from")
- 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). 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 - Only days with open slots are offered, and only future times
- The card step: subtitle "<Type> with <First>, <Day D Mon> at <h:mm am>.", a "Charged after your session" row with the fee, the saved cards (the default preselected, marked "Default") plus "Add a new card" (a Stripe card form and "Save this card for future bookings"), and the line "Nothing is charged today. Your card is saved and charged after the session. Cancelling within 24 hours of the session is charged the full session fee."
- "Session 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)
- A client with an unpaid earlier session sees the unpaid-balance notice instead of the card step (TC-C-38)
Notes The dialog used to book with no card (leaving an open invoice), always start on the first session type, and read "with Dr. from their open slots". "Book a follow-up" on a past session's detail page applies the same session-type rule.
Automated run
- 1. Open the Past tab and click “Rebook” on a session
- 2. Check the subtitle and the session type it starts on
- 3. Pick a day more than 24 hours out and a time
- 4. Continue to the card step
- 5. Click “Confirm booking”
- 6. The session is on the Upcoming list (then cancel it)
PassedTC-C-17Complete a full booking (card saved, charged later)14.3s
Test script
Preconditions A psychologist with an appointment type, availability and Stripe Connect (use test@paxpsychology.dev). Do this signed out first.
Steps
- From a psychologist profile click "Book appointment" to reach
/book/[psychologistSlug]/[appointmentTypeSlug], both made from names, never ids (e.g./book/emily-thompson/initial-consultation) - Step "Select time": pick a date on the calendar, then a slot under "Available times for <Day>, <Mon. d>". The button reads "Pick a time" until a slot is chosen, then "Continue"
- Step "Your info": fill First name, Last name, Your email, Mobile phone number, optionally Referring general practitioner and GP clinic name and provider number and Notes; enter Date of birth
17/05/1990(Day, Month, Year); tick "I accept the Privacy Policy and Terms of Use"; click "Continue to payment" - Step "Payment": read the two callouts, then enter card
4242 4242 4242 4242/12/30/123and click "Confirm Booking - $<amount>"
Expected
- The stepper shows SELECT TIME → YOUR INFO → PAYMENT for a signed-out visitor
- A sign-in prompt appears above the info form: "Already have an account?" / "Sign in to autofill your details and access saved payment methods"
- The payment card is headed "Payment details" and the amount row is labelled "Charged after your session"
- The green callout reads "Secure Payment: Your payment information is encrypted and securely processed through Stripe…" and the blue one reads "Payment Policy: Your card will be saved now but only charged after your appointment is completed. You can cancel up to 24 hours before your appointment at no charge. Cancelling within 24 hours of the session is charged the full session fee."
- No Medicare rebate line on the payment step
- "Save payment method for future bookings" is ticked by default
- On success: "Booking confirmed!" / "Your card has been saved. Payment will be charged after your appointment is completed. Redirecting…", then
/booking-successwith H1 "You're in." and CTAs "View my appointments" and "Back to browsing" - The
/booking-successURL carries only?ref=(no psychologist name, time or fee in the address bar); the details box below the heading still shows the psychologist, when, what and fee - A confirmation email arrives; the appointment appears in the psychologist's Schedule
- 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 in the client's timezone; when it differs from the psychologist's a line reads "Times shown in <ABBREV>". The Lifeline crisis strip appears at the foot of every booking page.
Automated run
- 1. From a psychologist profile click “Book appointment” to reach /book/[psychologistSlug]/[appointmentTypeSlug]
- 2. Step “Select time”: pick a date, then a slot under “Available times for …”
- 3. Step “Your info”: fill the form, tick both consents and click “Continue to payment”
- 4. Step “Payment”: read the callouts, enter 4242 4242 4242 4242 and click “Confirm Booking - $<amount>”
- Email "Appointment confirmation: Initial consultation" is sent to e2e+e2e-20261025-x0ebwn-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-20261025-x0ebwn-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 Secure19.3s
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 "Confirm Booking - $<amount>" - 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 Confirmed!", then
/booking-successwith H1 "You're in." - 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 “Confirm Booking - $<amount>”
- 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-20261025-x0ebwn-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 "Confirm Booking - $<amount>" - 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 "Payment 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 “Confirm Booking - $<amount>”
- 3. Replace the card with 4242 4242 4242 4242 and confirm again
- Email "Appointment confirmation: Initial consultation" is sent to e2e+e2e-20261025-x0ebwn-c37@paxpsychology.dev
- 4. Housekeeping: cancel the booking
PassedTC-C-38An unpaid session blocks booking until the client pays it20.2s
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" and complete it: "They attended" → Skip → Skip → "Complete & capture payment" - Reload the appointment
- Sign in as
unpaid@paxpsychology.devand open a booking page - Click "Update payment method"
- Click "Pay $<amount> with my default card"
- Open the booking page again
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: instead of the booking flow the page shows "Please pay your last session first", naming the session and amount, with an "Update payment method" button. There is no "Pick a time"
- Step 4: 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
- Step 5: toast "Paid $<amount>. You're all caught up and can book again."; the notice disappears
- Step 6: the booking flow is back ("Pick a time")
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@, complete the session ("They attended" → Skip → Skip → "Complete & capture payment")
- 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 a booking page
- 4. Click "Update payment method"
- 5. Click "Pay $<amount> with my default card"
- Email "Invoice and payment confirmation" is sent to unpaid@paxpsychology.dev
- 6. Open the booking page again: booking is available
PassedTC-C-18Booking as a signed-in client (Review Info step)15.8s
Test script
Preconditions Logged in as client@paxpsychology.dev
Steps
- Go to a booking page and select a date and time
- Continue
Expected
- The stepper shows SELECT TIME → REVIEW INFO → PAYMENT (the "Your info" step is replaced, not added to)
- The "Already have an account? Sign in" prompt does not appear
- A "Your information" card lists Name, Email, Mobile and, when stored, Referring GP and GP Clinic Name and Provider Number, all pre-filled from the profile
- An "Edit" button switches to an editable form whose submit button reads "Save & Continue"; the read-only view's button reads "Continue to payment"
- Any saved cards are offered on the payment step under "Payment method", with the default one marked "Default", plus an "Add new payment method" option
Automated run
- 1. Go to a booking page and select a date and time
- 2. Continue
- Saved cards are offered under “Payment method”, with the default one marked “Default”
- Email "Appointment confirmation: Initial consultation" is sent to client@paxpsychology.dev
- Email "New appointment: Initial consultation with Sam Taylor" is sent to test@paxpsychology.dev
- Housekeeping: cancel this case's own booking
PassedTC-C-19Booking information validation4.8s
Test script
Preconditions None (do this signed out)
Steps
- Go to a booking page and select a date and time
- On the "Your info" step leave every field empty and click "Continue to Payment"
- Scroll up and note where the page has moved you
- Enter
notanemailin "Your email" and blur the field - Fill the text fields correctly but leave Date of birth empty and the policy checkbox unticked, and submit again
Expected
- Per-field errors appear in red: "First name is required", "Last name is required", "Invalid email address", "Mobile phone number is required", "Please enter your date of birth.", "You must accept the Privacy Policy and Terms of Use"
- 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 sits directly above the submit button reading "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 policy checkbox is ticked
Notes The Review Info step (signed-in path) validates on blur and has neither the summary alert nor the scroll-to-error behaviour.
Automated run
- 1. Go to a booking page and select a date and time
- 2. On “Your info” leave every field empty and click “Continue to payment”
- 3. Scroll up and note where the page has moved you
- 4. Enter `notanemail` in “Your email” and blur the field
- 5. Fill the text fields correctly but leave the checkboxes unticked, and submit again
PassedTC-C-93A booking for someone under 18 is refused, with support services (new)2.8s
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 info" fill First name, Last name and Your 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", "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." - There is no "Continue to payment" button, 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 step and in Rebook 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)11.7s
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 info" with a date of birth exactly 18 years ago today
- Tick the policy box, click "Continue to payment", pay with
4242 4242 4242 4242and confirm - (Admin, or the automated run) Check the new client's profile
Expected
- No under-age panel; the booking goes through to "You're in."
- 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 Review step or in Rebook, 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)826ms
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" 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
1F. Client Portal
17 passed
PassedTC-C-20Client Home4.5s
Test script
Preconditions Logged in as client@paxpsychology.dev with an upcoming and some past sessions
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
- Above the greeting, today's date in small capitals (e.g. "SATURDAY 24 OCTOBER")
- Greeting H1 "Hey <FirstName>. Good to see you." with a sub-line naming the day of the next session, or "No sessions booked. Book when you're ready."
- Dark "Next session" card: the date and time ("Thursday 29 October at 10:00 am", linked to the appointment detail), "<n> minutes by video. We send the link 1 hour before.", the psychologist's avatar and name, and buttons "Join early" / "Reschedule" / "Cancel session". With nothing booked it reads "Nothing booked yet." with a "Book a session" button and, on desktop, a "See <First>'s profile" link
- A yellow "How's today been?" check-in naming your psychologist, with buttons "Rough", "Meh", "Okay", "Good", "Great", and a "This week" card (on a phone a quiet week is one sentence). 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
- A Messages card with the latest message (opens the thread when you have one psychologist) and a green reading card for the next unread reading (hidden once everything is read)
- A "Past sessions" card with an "All sessions" link (→ the Past tab); each row is one link to that session's
/dashboard/appointments/[id]page and says "Notes shared" when notes were shared. A phone shows the latest three - On desktop the cards sit on a 12-column grid: next session and check-in side by side, then this week / messages / reading, then past sessions across
- 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, “Next session” hero, mood check-in, “This week” and “Past sessions”
PassedTC-C-21Sessions list (Upcoming / Past)4.7s
Test script
Preconditions Logged in as a client with upcoming and past sessions
Steps
- Navigate to
https://paxpsychology.dev/dashboard/appointments - Confirm the "Upcoming" tab is selected, then click "Past"
- Click a session title
Expected
- H1 "Sessions", sub "Your upcoming and past sessions, all in one place."
- A "Book a session" button in the header
- Underlined tabs with just "Upcoming" and "Past" (no counts in the labels); the choice is reflected in the URL as
?tab=past - Upcoming: the soonest session renders as the dark "Next session" card, the rest as white "booked ahead" cards titled with the session type, each with "Reschedule" and "Cancel session"
- Session titles link to
/dashboard/appointments/[id] - Past: numbered rows ("Session 4 with Emily" and the session type) with a date chip, a "Cancelled" tag on cancelled sessions, the shared notes text on desktop, and chips "Session notes" (when notes were shared), "Receipt" (or "Invoice unpaid") and a "Rebook" button. The row title and the "Session notes" chip link to
/dashboard/appointments/[id], which holds the receipt and the notes - Empty states: "Nothing booked yet." / "Pick a time that suits and you're set." and "No past sessions yet." / "They'll show up here after your first one.", each with a "Book a session" button
- Pagination appears past 10 items: "1 to 10 of 11 sessions", "Page 1 of 2" and previous / next buttons
Notes The old search box and "Upcoming (X)" / "Past (X)" counts are gone. The 24-hour reschedule rule on these cards is covered by TC-C-35, and the "Rebook" dialog by TC-C-75.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/appointments
- 2. Confirm the “Upcoming” tab is selected, then click “Past”
- 3. Click a session title
PassedTC-C-35Reschedule and cancel from the Sessions list27.8s
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 - Confirm both "Reschedule" and "Cancel session" buttons are present
- Click "Reschedule", pick a new date and time, and confirm
- Now look at the session that is less than 24 hours away
Expected
- More than 24 hours out: both "Reschedule" and "Cancel session" show
- The reschedule modal is titled "Reschedule session" with the sub-line "Pick a new date and time from your psychologist's open slots.", fields "New date" and "New time", and buttons "Cancel" / "Reschedule" ("Rescheduling…" while pending). On success it shows "Session moved." and a "Done" button, and both parties are notified
- Within 24 hours: the "Reschedule" button is hidden and the line "Within 24 hours. Contact your psychologist to change this session." appears in its place. "Cancel session" is still offered
Notes This is new in the redesign. On the Sessions page the 24-hour line only appears after hydration (the clock is sampled client-side); on Home it is computed on the server. The reschedule modal is a standard Pax dialog (a native <dialog>), dismissed with Esc, by clicking the scrim or with its "Close" button. Reschedule the session you booked as the precondition: the list also offers "Reschedule" on PENDING sessions, and submitting one of those is refused with "Cannot reschedule an appointment with status: PENDING" (the button should not be offered – raise it separately).
Automated run
- 1. On /dashboard/appointments, find the session more than 24 hours out
- 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)10.9s
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 "Reschedule", pick a day at least five days out and a time other than 11:00am, and click "Reschedule"
- Reload Sessions, then open the session's detail page
- Sign in as
swaps@paxpsychology.devand open the same session
Expected
- Step 2: "Session moved." (with "Done"); the session keeps its status (Confirmed) and moves to the chosen time
- Step 3: the card reads "<Weekday D Month> at <h:mm am>" for the new time, 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 "Reschedule"
- 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)6.5s
Test script
Preconditions Logged in as a client with at least one appointment
Steps
- From Sessions, click a session title 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 min, <video provider>"
- Header actions: "Book a follow-up" (→
/rebook/[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 future confirmed session, a "Manage this session" card with "Join video call", "Reschedule" (outside 24 hours) and "Cancel session"
- 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]. A cancelled session shows a grey "Cancelled" card instead ("There is no receipt for this session.") - Card "Your psychologist": avatar, name, location, "Book a follow-up session" (→
/rebook/[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 appointment23.2s
Test script
Preconditions Logged in as a client with an upcoming CONFIRMED appointment more than 24 hours away
Steps
- Click "Cancel session" (Sessions list or Home hero) or "Cancel appointment" on the detail page
- 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?"
- Buttons "Cancel session" (dark red) and "Keep my session" (dismiss); the former shows a spinner and "Cancelling…"
- Toast "Session cancelled."; status changes to Cancelled and a notification email is sent
- Within 24 hours the sheet adds the note "This session is within the 24-hour cancellation window, so the full session fee will be charged to the card you have on file." and the toast becomes the warning "Session cancelled. The full session fee has been charged."
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. Click “Cancel session” on the Sessions list
- 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)8.0s
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 session" and read the sheet
- Click "Cancel session" in the sheet
- Open the session's detail page
Expected
- Step 2: "Reschedule" is hidden and "Within 24 hours. Contact your psychologist to change this session." shows in its place; "Cancel session" is offered
- Step 3: the sheet adds "This session is within the 24-hour cancellation window, so the full session fee will be charged to the card you have on file."
- Step 4: the warning toast "Session cancelled. The full session fee has been charged."
- 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")
Notes Known defect (24 Oct 2026): the detail page of a session cancelled late shows the grey "Cancelled" card, "There is no receipt for this session.", although the client has just been charged the full fee (the receipt card only shows for COMPLETED sessions). The automated case fails on this last check until it is fixed.
Automated run
- 1. Sign in and open Sessions
- 2. Look at the session's card
- 3. Click "Cancel session" and read the sheet
- 4. Click "Cancel session" in the sheet
- 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-24Receipts (client invoices)7.7s
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/appointments, open the "Past" tab, and 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 eyebrow "RECEIPT", the invoice number as the H1 with a green "Paid" pill, and "<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, address, contact), the line item with its date and format, Subtotal, and "Total paid". On a phone the same facts are stacked cards with the total first
- "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.
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)14.1s
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 ("Page not found (error 404)"), 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)7.1s
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 – Account8.1s
Test script
Preconditions Logged in as a 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 pay, and how you sign in."
- Client section nav: "Account", "Payment methods", "Connected accounts", "Notifications" (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 "Timezone" read-only with the hint "Synced from your browser automatically." - Save button "Save changes"; toast "Account updated" on success
- Card "Password" with "Change password" →
/auth/forgot-password - Card "Account" with "Sign out" and an outlined red "Delete account"; the confirmation "Delete your account?" offers "Delete account" and "Keep my account" (a bottom sheet on a phone)
- The new name persists after reload
Notes Timezone is no longer a dropdown – it is read-only and synced from the browser. 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-83A client clears their mobile (new)6.4s
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 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-26Client settings – Payment methods and Medicare11.3s
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 (with Stripe's own line about future charges) and "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)7.5s
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)6.3s
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 "Waiting for you" card
- Click "Confirm session" without ticking the policy, then tick "I accept the cancellation policy." and click "Confirm session" again
- Open Sessions
Expected
- Home leads with a yellow "Waiting for you" card: "Piper booked you in for <day, time>.", the session type, length and fee "after the session", "Please confirm by <date, time>, or the time goes back to Piper's calendar.", with Confirm and Decline. It is not the dark "Next session" card
- 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).
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)8.2s
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, Upcoming and Past
- 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)4.7s
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
4 passed 1 failed 1 retired
PassedTC-C-27Journal index, article and newsletter signup9.5s
Test script
Preconditions At least one published journal article
Steps
- Navigate to
https://paxpsychology.dev/journal - Click a category chip, then click "All"
- Open an article
- Scroll to the newsletter band near the foot of
/journal, enter a first name ande2e+newsletter-<run>@paxpsychology.dev, and click "Sign up" - Try again with
notanemail
Expected
- A large centred H1 "Journal" and the intro "Things worth reading when you've got ten minutes. Written with our psychologists…"
- Category chips start with "All" and include "Stories" (Harry's and Sarah's stories); 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
?category=Storiesturns the page into "Your stories" (with an outlined "Our story" link) and ends on a light blue "When it's personal" band- 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; Journal, category, title, cover, "Written by", "Posted on", share buttons), the reading column, and a "See similar" band; if the author is a Pax psychologist an author booking card appears with "Book a session"
- Newsletter band: blue-grey, H2 "Get tips for your journal 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/journal
- 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-20261025-x0ebwn@paxpsychology.dev
- Email "Newsletter subscription" is sent to support@paxpsychology.dev
- 5. Try again with `notanemail`
PassedTC-C-28Newsletter unsubscribe2.4s
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 journal"; 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 /journal.
Automated run
- 1. Open the unsubscribe link
- Email "You're off the list" is sent to e2e+newsletter-e2e-20261025-x0ebwn@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.3s
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 page3.2s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/faqs - Expand several questions
Expected
- Eyebrow "Common questions", H1 "Frequently asked questions"
- 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
FailedTC-C-32Error pages5.9s
Test script
Preconditions None
Steps
- Navigate to
https://paxpsychology.dev/this-page-does-not-exist - Navigate to
/psychologists/definitely-not-a-real-psychologist
Expected
- 404 page: big "404" mark, caption "You're a bit lost – that's alright", eyebrow "Page not found (error 404)", H1 "This one's wandered off.", buttons "Back to home" and "Find a psychologist", plus a pill row "Or pick up where you left off" (How Pax works / The Journal / Sign in / Get in touch). The marketing header and footer are present
- An unknown psychologist slug also 404s
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 the Lifeline crisis line above the footer) you need an induced server error, so treat it as optional.
Automated run
- 1. Navigate to https://paxpsychology.dev/this-page-does-not-exist – failed
Error: expect(locator).toBeVisible() failed Locator: getByText(/You['’]re a bit lost – that['’]s alright/).visible() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" getByText(/You['’]re a bit lost – that['’]s alright/).visible() with timeout 5000ms - waiting for getByText(/You['’]re a bit lost – that['’]s alright/).visible()
1H. Other new surfaces
3 passed
PassedTC-C-33Your psychologist and Reading list (new client Care pages)6.1s
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 a session"; 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 Journal", "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)26.0s
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.
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 registration5.8s
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
- Eyebrow "Create account", H1 "Start when you're ready.", sub "Already with us? Sign in"
- 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-20261025-x0ebwn@paxpsychology.dev
- 4. MANUAL: open the verification email and follow the link
1I. Flag-gated client surfaces
3 skipped by design
Skipped by designTC-C-80AI notes and recording consent, from the client's side (new)–
flag off on staging: AI notes run locally with AI_NOTES_FAKE_PROVIDERS=true (pnpm test:e2e:ai-notes)
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)3.0s
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 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.5s
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)2.6s
Test script
Preconditions None
Steps
- Open
https://paxpsychology.dev/robots.txt - Open
https://paxpsychology.dev/sitemap.xml - View the source of
https://paxpsychology.dev/,/journaland/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 journal 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 /, /journal and /auth/login, and the headers of /
PassedTC-C-101A journal article shares with its own title and cover (new)2.9s
Test script
Preconditions A published journal article with a cover image
Steps
- Open
https://paxpsychology.dev/journaland 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 beside the byline
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 article's cover image (the same picture as the header);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, Journal, the article) - The LinkedIn share window opens with the plain article URL: no
utm_tags
Notes An article without a cover shares the site's default share image (TC-A-60) or, without one, a generated Pax card at /api/og headed with the title and labelled "Journal: <category>". That card's URL ends in a sig signature: change its title in the address bar and the image returns 404 (no Pax card with made-up text), while /api/og with no parameters shows the plain default card.
Automated run
- 1. Open /journal 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
52 cases43 passed 1 failed 3 manual 5 skipped by design
2A. Onboarding
4 passed 1 manual
ManualTC-P-01Connect the Stripe Connect payout account3.8s
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
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.
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 details6.5s
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 "Account, registration, payouts, and how Pax Psychology reaches you."
- Account card headed "Your details" (an H2, like the "Password" card below it): 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" read-only ("Synced from your browser automatically."). Button "Save changes"; toast "Account updated"
- There is no Mobile field for a psychologist (client-only)
- "Registration" section: a "Registration" card with "AHPRA registration", "Medicare provider number" and "ABN", and a "Billing account" card with "Account name", "BSB", "Account number" and "Save changes"
/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).
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 availability8.1s
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"
- 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. Block time covers one-off changes."
- One row per day: a switch labelled with the day name, then "From" and "To" selects; a day that is off reads "Unavailable"
- 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)
Notes The same modal opens from Settings › Availability (TC-P-21) and from the "Block time" / "Schedule" buttons on Today.
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. 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)14.0s
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"
- 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
- 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.5s
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"
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) - 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
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>
2B. Dashboard
2 passed
PassedTC-P-06Psychologist Today page3.6s
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) - Today's date in small capitals above the H1
- H1 "Morning, <First>." / "Afternoon, …" / "Evening, …" with a sub-line counting today's sessions, new requests and notes to write (for example "No sessions today, no new requests and 16 sets of notes to write.")
- Header buttons "Block time" (outlined) and "Schedule" (black)
- Four KPI tiles: "Today" (dark), "This week" (for example "2 more than last week"), "New requests", "Notes to write"; two per row on a phone
- A two-column row: "Today, <Weekday D Month>" with a "Full schedule" link (empty: "Nothing booked today." with an "Open schedule" button) and "New clients" with an "All requests" link (empty: "No new clients right now." / "New matches land here for you to welcome.")
- A full-width "Worth a look" panel with an "All clients" link. Clients with no session booked for a while have a "Send a nudge" button ("Nudge" on a phone) that opens a message thread with them; shared check-ins show a mood chip (empty: "Nothing needs your eye today.")
- 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.
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 sessions / requests / notes sub-line, and the Block time + Schedule buttons
- Four KPI cards: "Today", "This week", "New requests", "Notes to write"
- Two-column row: "Today, <Weekday D Month>" with "Full schedule", and "New clients" with "All requests"
- Full-width "Worth a look" panel with an "All clients" link
- Notes: the old earnings cards, chart, weekly schedule block and Quick Actions are gone
PassedTC-P-07Pending completions alert4.9s
Test script
Preconditions Logged in as a psychologist with past sessions not yet marked complete
Steps
- Navigate to
https://paxpsychology.dev/dashboard - Click "Review sessions"
Expected
- A pink band headed "<n> sessions are waiting to be completed." (singular "1 session is waiting to be completed.") with a line naming the oldest ("The oldest is from Friday 7 August.") and, when there is any, "$X is still to be captured"
- Sessions over 30 days old add ", and <n> sessions are over 30 days old."
- "Review sessions" goes to
/dashboard/actions: a "Today" back link, H1 "Sessions to complete", "<n> sessions waiting. Complete each one to capture payment and finalise the record. Oldest first.", three tiles (Waiting, To capture, and a pink Over 30 days) and a table of Client / Session ended / Type / Fee / Waiting with a "Complete" button per row. The Waiting chip is pink over 30 days, grey otherwise. On a phone the table scrolls sideways inside its panel. Nothing waiting shows "All caught up."
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard
- The alert is headed "<n> sessions are waiting to be completed." and names when the oldest was
- 2. Click "Review sessions"
2C. Schedule and Appointments
13 passed 1 failed
PassedTC-P-08Schedule views9.6s
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)
- 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 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 "Needs completing", 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)
- 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
- 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
FailedTC-P-09Appointment detail (psychologist)11.6s
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; meta line "<date> at <time>, <n> min, <video provider>". An upcoming confirmed video session shows "Join video call" in the header
- A session that has ended and is still CONFIRMED shows a pink band: "This session has ended. Complete it to capture the $<fee> fee and close the record." with a "Complete appointment" button
- 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 – failed
Error: expect(locator).toBeVisible() failed Locator: getByText(/^(Confirmed|Cancelled|Pending|Completed|No Show)$/).first() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" getByText(/^(Confirmed|Cancelled|Pending|Completed|No Show)$/).first() with timeout 5000ms - waiting for getByText(/^(Confirmed|Cancelled|Pending|Completed|No Show)$/).first()
PassedTC-P-10Complete an appointment (client attended)45.4s
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 "Complete appointment"
- Step 1 – "Did <First> attend?" Choose "They attended", then "Continue"
- Step 2 – "Add session notes". Type notes in the textarea, then "Continue" (or "Skip")
- Step 3 – "Add documents". Optionally attach a file, then "Continue" (or "Skip")
- Step 4 – "Complete session". Review the summary and click "Complete & capture payment"
Expected
- Every step has a small uppercase eyebrow over the title, a black progress bar and a grey summary line "<session type> with <client>, <day date>, <time>. $<fee> to capture". Eyebrow / title per step: "Session attendance" / "Did <First> attend?"; "After the session" / "Add session notes"; "After the session" / "Add documents"; "Review" / "Complete session"
- Step 1 reads "Confirm whether the client came to the session." over two radio cards, "They attended" and "No-show", with "Cancel" and "Continue"
- Step 2 has no "Share notes with client" switch. It carries the line "Clinical notes stay private to you. Never shared with the client."
- Step 3 accepts PDF, Word and image files up to 10MB and has a per-file "Share with client" switch
- Step 4 shows "Session summary" with Client / Session type / Status "Attended" / "Amount to charge", plus the warning "Clicking 'Complete & capture payment' will charge the client's saved payment method."
- The button shows "Processing…" and a green success toast reads "Appointment completed and payment of $<amount> charged successfully"
- 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 (e.g. "Failed to complete appointment. Please try again.")
Notes If the charge does not settle, the session still completes but the toast comes through as a warning ("…could not be collected and is recorded as outstanding…") so you know money is outstanding. That counts as a fail for this case: it means the saved card could not be charged.
Automated run
- Find a CONFIRMED session whose end time has passed and whose client has a saved card
- 1. Open the appointment detail page and click "Complete appointment"
- 2. Step 1 – Session attendance ("Did <First> attend?"). Choose "They attended", then "Continue"
- 3. Step 2 – "Add session notes". Type notes in the textarea, then "Continue"
- 4. Step 3 – "Add documents". Optionally attach a file, then "Continue" (or "Skip")
- 5. Step 4 – "Complete session". Review the summary and click "Complete & capture payment"
- The status becomes Completed and an invoice is raised
- Email "Invoice and payment confirmation" is sent to client@paxpsychology.dev
- Email "You've been paid" is sent to test@paxpsychology.dev
PassedTC-P-11Mark an appointment as No-Show29.3s
Test script
Preconditions As TC-P-10
Steps
- Click "Complete appointment"
- Choose "No-show" and read the warning, then click "Continue"
- On the confirm step, click "Confirm no-show"
Expected
- Choosing No-show shows "Marking as no-show will charge the client the session fee and notify them of the missed appointment."
- The stepper skips notes and documents – it goes straight from attendance to the confirm step
- The confirm step is titled "Record a no-show", with a "No-show summary" box showing Status "No-show" and the fee row "No-show fee to charge", plus "Clicking 'Confirm no-show' will charge the client the session fee and send them a missed appointment notification."
- Success toast "Appointment marked as no-show and fee of $<amount> charged"; 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 "Complete appointment"
- 2. Choose "No-show" and read the warning, then click "Continue"
- 3. On the confirm step, click "Confirm no-show"
- The client is charged and notified, and the session reads No Show
- Email "Missed appointment" is sent to client@paxpsychology.dev
PassedTC-P-27Complete an appointment for a client with no saved card (new)25.7s
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 "Complete appointment" and step through to the confirm step
Expected
- The fee row reads "Session fee (not charged)" rather than "Amount to charge"
- The callout reads "No payment method on file, so nothing will be charged and no invoice will be raised. The session will only be recorded as complete, so arrange billing with the client separately."
- The primary button reads "Complete session" (or "Mark as no-show" on the no-show path) instead of "Complete & capture payment" / "Confirm no-show"
- The appointment is marked complete and no invoice is created
Notes This branch is new – previously the dialog promised a charge in all cases.
Automated run
- Find a past CONFIRMED session whose client has no payment method on file
- 1. Click "Complete appointment" and step through to the confirm step
- The fee row reads "Session fee (not charged)" and the callout explains nothing is charged
- The primary button reads "Complete session" and no invoice is created
- No client receipt or payout invoice exists for the session
PassedTC-P-33Psychologist cancels an upcoming session (new)10.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)7.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)13.6s
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 "Complete appointment", choose "They attended", skip notes and documents, and click "Complete & capture payment"
- Reload and read the page
- Click "Retry payment"
Expected
- Step 1: 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)9.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 "Complete appointment", choose "They attended", skip notes and documents, read "Amount to charge" and click "Complete & capture payment"
- Reload and read the "Your payout" panel
- Navigate to
/dashboard/earnings, find Avery's row in "All transactions" and click its "Invoice" link
Expected
- "Amount to charge" is the session fee ($250.00 for the Initial Consultation), 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" and the psychologist "You've been paid: $195.00"
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 appointment10.9s
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", 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 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", 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)9.9s
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 card reads the new "<Weekday D Month> at <h:mm am>", 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 that is not 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 workspace6.7s
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". (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.)
- 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 & 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)
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)23.0s
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)19.6s
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 list9.6s
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
Expected
- H1 "Clients", sub "<n> clients. None has a session booked right now." (or "<n> clients. <k> with a session booked."), a search box (placeholder "Search by name or email") and status tabs "All", "Active", "New", "Paused"; there is no "Export" button
- 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)
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
PassedTC-P-15View the client detail page7.0s
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, a "CLIENT SINCE <MON YYYY>" eyebrow, H1 = the client's name and the line "<email>, <mobile>, Adult account" (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")
Automated run
- 1. From the drawer click "View full profile"
- H1 is the client's name, under a "Client since" eyebrow, with the email · mobile · account 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)15.0s
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
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
2 passed
PassedTC-P-16View the psychologist invoices list11.0s
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", "Pending", "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 / Pending 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 resend16.9s
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, the line "Created <D Month YYYY>", H1 = the invoice number (or "Invoice #<stripeInvoiceId>") with a status pill ("Paid" / "Pending"), and the line "<Session type> with <client>. Paid on <date>." (or "Due <date>.")
- Sections "Payment" (Session fee, Platform fee, Your payout, and "Total charged to the client: $…, due <date>"), "Client", "Provider", 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
2F. Settings
4 passed 2 manual
PassedTC-P-18Edit a session type14.1s
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
ManualTC-P-19Connect a calendar3.3s
Steps 2–3 leave Pax: 'Connect' redirects to Google's (or Microsoft's) hosted OAuth consent screen, which needs real credentials and a second factor and cannot be driven from a test browser. The Pax side (the provider rows, their state copy and the Connect/Disconnect buttons) is checked below; a reviewer grants consent by hand and then confirms the toast 'Google Calendar connected successfully!' and the row flipping to 'Connected as <account email>'.
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=calendar - Click "Connect" next to Google Calendar and complete OAuth
- Return to Pax
- Click "Disconnect"
Expected
- Card "Calendars and video" ("Calendars" when Zoom is not configured), "Connect a calendar so your sessions sync to it.", listing "Google Calendar", "Microsoft Calendar", "Apple Calendar" (and "Zoom")
- Each row reads "Connected as <account email>", "Needs reconnecting" (with a "Reconnect" button) or "Not connected", with a "Connect" / "Disconnect" button ("Connecting…" / "Disconnecting…" while pending)
- A connected Google or Microsoft row lists its calendars, each with a "Counts as busy" switch (on for the main and owned calendars, off for holidays, birthdays and shared read-only ones) and, where writable, "Add Pax sessions here" (off until chosen; only one calendar across all connections)
- On return, the toast reads "Google Calendar connected successfully!"
- "Disconnect" on a calendar asks first: "Disconnect Google Calendar?", "Busy times from <account email> will stop blocking bookings straight away. Clients could then book over those times.", an unticked checkbox "Also remove Pax sessions already added to this calendar" ("Leave this unticked to keep them there. They just won't update any more."), "Your sessions in Pax don't change, and nothing is cancelled.", and the buttons "Keep it connected" and a red "Disconnect". Zoom disconnects without asking
- Confirming gives the toast "Calendar disconnected"; with the box ticked, the upcoming Pax sessions are also removed from that calendar
- Apple Calendar opens a modal rather than an OAuth redirect
Notes The old "Connected Calendars" table with "Sync Now", per-calendar "Primary / Sync Events / Block Time" toggles and the Calendar Settings dialog is gone. The old /dashboard/settings/calendars URL is not found (see TC-P-22).
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/settings?section=calendar
- The panel lists Google Calendar, Microsoft Calendar and Apple Calendar with their state and action
- 2.–3. Click "Connect" next to Google Calendar, complete OAuth, return to Pax – MANUAL
- 4. Click "Disconnect" – MANUAL (only meaningful once a provider is connected)
- Notes: the old /dashboard/settings/calendars URL is not found
ManualTC-P-20Open the Stripe Express dashboard4.2s
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)9.1s
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)7.8s
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=calendar, ?section=notifications). /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
PassedTC-P-23Account actions – pause and resume the listing (new)11.2s
Test script
Preconditions Logged in as a psychologist
Steps
- Navigate to
/dashboard/settings?section=actions - Click "Pause"
- Check
/psychologistsin a signed-out window - Return and click "Resume"
Expected
- Card "Account actions" with the row "Pause your listing" / "Hide from search and stop new requests. Your existing clients stay." and a "Pause" button
- Once paused the row reads "Resume your listing" / "Your listing is paused. Resume to appear in search and take new requests."
- A paused psychologist does not appear in the public directory
- The same card carries "Sign out" / "You'll need to sign in again 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).
Automated run
- 1. Navigate to /dashboard/settings?section=actions
- 2. Click "Pause"
- 3. Check /psychologists in a signed-out window
- 4. Return and click "Resume"
- Resumed, the listing is back in the public directory
2G. New surfaces
4 passed
PassedTC-P-24New clients queue (new)12.4s
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, "Past" tab
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."
- "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, "Past" tab, 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)7.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")
- 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)5.9s
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" (or "Held") pill, 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. The edits appear on the public profile page and on the directory card. Clearing "Medicare rebate" and saving leaves it empty after a reload (not set), never "0.00".
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 location
PassedTC-P-28Choose specialties on your listing (new)6.3s
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 a list grouped under "Mental Health", "Performance", "Wellbeing" (and "Other" for anything outside the quiz areas), 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. "Profile updated" appears on save, and the chip is still there after the reload. The public profile's "Specialities" section lists it, so the directory filters and the matching quiz see it too.
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)
7 passed 4 skipped by design
Skipped by designTC-P-70AI notes need the client's consent first (new)–
flag off on staging: AI notes run locally with AI_NOTES_FAKE_PROVIDERS=true (pnpm test:e2e:ai-notes)
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
Skipped by designTC-P-71Dictate and draft a session note (new)–
flag off on staging: AI notes run locally with AI_NOTES_FAKE_PROVIDERS=true (pnpm test:e2e:ai-notes)
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
Skipped by designTC-P-72Recording needs consent before the session is joined (new)–
flag off on staging: AI notes run locally with AI_NOTES_FAKE_PROVIDERS=true (pnpm test:e2e:ai-notes)
Test script
Preconditions AI notes on, a Zoom session type, an upcoming session
Steps
- Join the session ("Before you join")
- Join it again from the Schedule panel
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
Skipped by designTC-P-73A recorded Zoom session is imported and drafted (new)–
flag off on staging: AI notes run locally with AI_NOTES_FAKE_PROVIDERS=true (pnpm test:e2e:ai-notes)
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
- Connect Zoom from Settings › Calendar
- Send Zoom's URL validation challenge and a webhook with a bad signature
- Run the sweep
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
- Settings › Calendar starts the Zoom connection
- The validation challenge is answered; a webhook whose signature does not match is rejected
- The sweep cancels abandoned recordings and deletes expired audio
PassedTC-P-60Book a session from Schedule and from a client's drawer (new)5.6s
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)13.9s
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)5.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)4.1s
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 "Complete & capture payment"; it offers "Withdraw request"
- The detail page has no "Complete appointment"
- 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)5.0s
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)6.6s
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)950ms
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 session: 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 Pax sessions to this calendar"), 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.1s
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)10.0s
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 the Today screen's "Worth a look"
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)9.4s
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)13.0s
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/migrations/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)20.7s
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
38 cases34 passed 2 failed 2 retired
3A. Dashboard
2 passed
PassedTC-A-01Admin landing page4.4s
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, Journal, Categories, Authors, FAQs, Media (unlabelled first group); Users, Newsletter, Correspondence under "Audience"; Settings, Integrations under "Site". (Claims 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), Journal, 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)10.9s
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 Pax's 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) under today's date, 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, Pax's 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 ("No access (error 403)"); no tile, figure or psychologist name appears in the page
Notes Every number comes from Pax's 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 Pax's cut
- 4. The psychologist and the client get the 403 screen
3B. User Management
16 passed 1 failed
FailedTC-A-02View all users39.6s
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 – failed
Error: expect(locator).toContainText(expected) failed
Locator: locator('a[href^=\'/dashboard/users/\']:not([href=\'/dashboard/users/add\']):not([href=\'/dashboard/users/impersonation-log\']):not([href=\'/dashboard/users/clinical-access-log\']):visible').first().locator('xpath=ancestor::tr')
Expected substring: "Client"
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toContainText" locator('a[href^=\'/dashboard/users/\']:not([href=\'/dashboard/users/add\']):not([href=\'/dashboard/users/impersonation-log\']):not([href=\'/dashboard/users/clinical-access-log\']):visible').first().locator('xpath=ancestor::tr') with timeout 30000ms
- waiting for locator('a[href^=\'/dashboard/users/\']:not([href=\'/dashboard/users/add\']):not([href=\'/dashboard/users/impersonation-log\']):not([href=\'/dashboard/users/clinical-access-log\']):visible').first().locator('xpath=ancestor::tr')PassedTC-A-03Create a new CLIENT user10.3s
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-20261025-x0ebwn-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
PassedTC-A-04Create a new PSYCHOLOGIST user (and the welcome email)8.2s
Test script
Preconditions Logged in as an admin, with access to the target inbox
Steps
- Navigate to
/dashboard/users/addand choose "Psychologist" - Fill the form (name, email, professional details) and submit, leaving the password blank
- Open the welcome email and click its call to action
- Set a password and sign in
Expected
- The psychologist is created and appears in the list with the "Psychologist" role tag
- A welcome email arrives with the subject "Welcome to Pax Psychology: your psychologist account is ready", heading "Welcome aboard.", and the CTA button "Set your password & get started"
- The CTA links to
/auth/reset-password?token=… - The note under it reads "This setup link expires in 7 days. Your login email is <email>."
- The link opens the "Set a new password" screen; after "Save & sign in" the psychologist is logged in
- The email address is stored lower-cased
Notes The client welcome template (sent when a client books) uses the CTA "Set up my password" and the subject "Welcome to Pax Psychology: set up your account" – same 7-day expiry.
Automated run
- 1. Navigate to /dashboard/users/add and choose "Psychologist"
- 2. Fill the form (name, email, professional details) and submit, leaving the password blank
- Expected: the psychologist appears in the list with the "Psychologist" role tag and a lower-cased email
- Email "Welcome to Pax Psychology: your psychologist account is ready" is sent to e2e-psych+e2e-20261025-x0ebwn-a04@paxpsychology.dev
- Manual: open the welcome email and follow 'Set your password & get started'
PassedTC-A-05Edit an existing user10.0s
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 user10.4s
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 client8.4s
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 psychologist38.0s
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)21.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)20.1s
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 ("Good to see you.")
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)11.9s
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)17.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)12.3s
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)15.0s
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)22.7s
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: the band "A client has asked for their records." with "Please review what would be released by <date>." 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 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)18.4s
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: the band 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 band on Today; the request is listed as Closed, and its page reads "The Pax 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
3C. Content Management
1 passed 2 retired
RetiredTC-A-10Create, edit, and publish a blog post–
The blog has been folded into the Journal. There is no /dashboard/blog any more; /dashboard/blog, /dashboard/blog/add and /dashboard/blog/:id return not found (TC-A-21). The Journal editor is tested as TC-A-16.
RetiredTC-A-11Create, edit, and publish a story/testimonial–
The Story model was rebranded to Journal. There is no /dashboard/stories; /dashboard/stories and /dashboard/stories/* return not found (TC-A-21). The "It's normal" stories carousel on the directory page has been replaced by the journal carousel. The Journal editor is tested as TC-A-16.
PassedTC-A-12Create, edit, and publish an FAQ13.6s
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 subscribers8.9s
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 CSV8.0s
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>.csvwith 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 subscriber14.2s
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 /journal 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-20261025-x0ebwn-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. Journal CMS (new)
5 passed 1 failed
PassedTC-A-16Create, edit and publish a journal article25.7s
Test script
Preconditions Logged in as an admin, with at least one category and author
Steps
- Navigate to
https://paxpsychology.dev/dashboard/journal - Click "New article"
- Enter a Title and click "Generate from title" next to "URL slug"
- Fill Excerpt and Body, upload a Cover image, pick a Category and Author
- Click "Save draft"
- Reopen the article from the list and click "Publish"
- Check
/journalin a signed-out window - Reopen the article, turn on "Feature on journal", and click "Update"
Expected
- List: H1 "Journal" with "<n> articles: <n> published, <n> scheduled, <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
/journalin 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 "Journal" 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/journal/slug preview), "URL slug", "Excerpt", "Cover image", a "Body" card with a "<n> words, about <n> min read" footer, and sidebar cards "Publish", "Details" (Category, Author) 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
/journal/<slug>; featuring it pins it to the top of the journal index
Notes "Publish" is disabled until the Title has content.
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/journal
- 2. Click "New article"
- 3. Enter a Title and click "Generate from title" next to "URL slug"
- 4. Fill Excerpt and Body, upload a Cover image, pick a Category and Author
- 5. Click "Save draft"
- 6. Reopen the article from the list and click "Publish"
- 7. Check /journal in a signed-out window
- 8. Reopen the article, turn on "Feature on journal", and click "Update"
PassedTC-A-17Journal status radio and scheduled articles11.8s
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
/journal
Expected
- The sidebar radio group (real radio buttons) offers "Draft" / "Only you can see it", "Published" / "Live on the journal" and "Scheduled" / "Goes live on a set date"
- Choosing "Scheduled" reveals a "Goes live" datetime field, and the primary button becomes "Schedule"
- A "Feature on journal" 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
/journaluntil 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 /journal
PassedTC-A-18Delete a journal article8.7s
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 journal 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
/journalimmediately (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 /journal immediately
FailedTC-A-19Categories, Authors and Media (new)15.6s
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, then delete it
Expected
- Categories: H1 "Categories" with "<n> categories across the journal" 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 journal index."); each row has edit and delete icon buttons; empty state "No categories yet. Create one to organise the journal." A new category appears as a chip on/journal - 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 and in-article art", an "Upload" button, and a drop zone as the first tile; uploaded tiles have a delete control (it shows on hover on desktop, always on a phone); journal covers have none
Automated run
- 1. Navigate to /dashboard/categories, add a category, edit it, then delete it
- 2. Navigate to /dashboard/authors – failed
Error: expect(locator).toBeVisible() failed
Locator: getByText(/Joined \d{4}/).first()
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" getByText(/Joined \d{4}/).first() with timeout 5000ms
- waiting for getByText(/Joined \d{4}/).first()PassedTC-A-20Admin settings and platform integrations (new)9.1s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings - Step through each section in the left nav
- Click "Integrations" in the settings nav
Expected
- Admin section nav: "Account", "Journal & site", "Integrations", "Notifications", "Account actions". All but Integrations are selected via
?section=<id>; there is no "System" section any more - "Account" behaves as for other roles (Your details / Password), with no Mobile field
- "Journal & site" holds the journal and marketing-site settings in four cards: "General", "Journal defaults", "SEO & social" and "Syndication", then "Save changes"
- "Integrations" opens
/dashboard/settings/integrations. It keeps the Settings frame: the H1 "Settings" and the same section nav with "Integrations" highlighted. Tabs: "Video providers" and "Platform OAuth" (plus "Health funds" and "Health fund APIs" when insurance is on). Video providers shows a "Default provider" card (Video provider picker, "Save preference") and "Connected accounts", one card per provider with a status chip ("Connected", "Not connected" or "Not enabled in configuration") and Connect or Disconnect. It is the one admin integrations page, and the sidebar's Integrations item links to the same place
Automated run
- 1. Navigate to https://paxpsychology.dev/dashboard/settings
- 2. Step through each section in the left nav
- 3. Click "Integrations" in the settings nav
PassedTC-A-21Retired dashboard URLs return not found (new)7.9s
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 Journal.
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
3F. Correspondence (new)
1 passed
PassedTC-A-22Correspondence: delivery filter, template and resend (new)9.7s
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)25.9s
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 Pax's 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)8.1s
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)54.8s
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/journal/add,/dashboard/categories,/dashboard/authors,/dashboard/faqs,/dashboard/faqs/new,/dashboard/media,/dashboard/newsletter,/dashboard/correspondence,/dashboard/correspondence/<id>,/dashboard/settings/integrations,/dashboard/settings?section=journal-siteand/dashboard/journal - 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, except
/dashboard/settings/integrations, which is the 404 page. 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" link and no "SEO & social" panel/dashboard/journal: the psychologist is sent away; 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) Journal & site settings are not offered
- 2. As the client, visit each admin URL
- (client) Journal & site settings are not offered
- The psychologist is refused the Journal 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)17.5s
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/readingand/dashboard/my-psychologist - Impersonate
test@paxpsychology.devand open/dashboard/clients, then stop impersonating
Expected
/dashboardlands on/dashboard/admin./dashboard/earningsand/dashboard/invoicesare the 404 page; 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)5.6s
Test script
Preconditions Logged in as admin@paxpsychology.dev. Note the number of rows in the impersonation log
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
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
3H. Search and sharing settings (new)
1 passed
PassedTC-A-60The site description in settings sets the homepage description (new)6.4s
Test script
Preconditions Logged in as an admin
Steps
- Navigate to
https://paxpsychology.dev/dashboard/settings?section=journal-siteand 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 URL", "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"
- "Site settings updated" shows after saving
- The homepage's
<meta name="description">,og:descriptionandtwitter:descriptionare the new text, without a redeploy - 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 for pages with no image of their own, the Organization sameAs links on the homepage, and the verification meta tags.
Automated run
- 1. Open Settings > Journal & site 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 width5.2s
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 Journal
- 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, Journal) 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", "Journal", "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)
- Journal: the title, the intro ("Our journal 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" (→
/journal) - "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 Journal
- 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.7s
Test script
Preconditions Signed out, cookie banner accepted
Steps
- Navigate to
https://paxpsychology.dev/journalon 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
/journalthe 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" (→/journal?category=Stories), "Psychologists", "Journal", "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/journal 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 width945ms
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", "Journal" 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-04Journal and Your stories at phone width1.6s
Test script
Preconditions At least two published journal articles
Steps
- Navigate to
https://paxpsychology.dev/journalon a 375px wide screen - Scroll to the sign-up band and the right-time block
- Navigate to
https://paxpsychology.dev/journal?category=Stories
Expected
/journal: the H1 "Journal" and intro centred, the category chips wrapping onto several centred lines, then one full-width card per row (photo, coloured category tag, title, excerpt)- "Get tips for your journal 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
?category=Stories: the H1 "Your stories" with "Our story" outlined under it (a link to/our-story), the story cards one per row, 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/journal on a 375px wide screen
- 2. Scroll to the sign-up band and the right-time block
- 3. Navigate to https://paxpsychology.dev/journal?category=Stories
PassedTC-M-05Journal article at phone width1.1s
Test script
Preconditions At least two published journal articles
Steps
- Open the first article from
https://paxpsychology.dev/journalon a 375px wide screen - Scroll to See similar
Expected
- The yellow header with the breadcrumb, H1, photo, author and date, and the share buttons (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 (→
/journal)
Automated run
- 1. Open the first article from https://paxpsychology.dev/journal on a 375px wide screen
- 2. Scroll to See similar
PassedTC-M-06Our Story at phone width1.9s
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 width2.2s
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.4s
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)16.6s
Test script
Preconditions Logged in as client@paxpsychology.dev
Steps
- At 390px wide, navigate to
https://paxpsychology.dev/book/emily-thompson, click "Book now" on "Initial consultation", pick a day and a time - Click "Continue" (Review Info), then "Continue to payment"
- Repeat at 375px
Expected
- Nothing scrolls sideways on any step: the page is exactly the screen's width
- The step indicator fits: numbered circles with only the current step's title shown (e.g. "SELECT TIME", "PAYMENT"); the other titles are still read out by screen readers
Notes The step indicator used to make 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 Review Info
- 3. (390px) Continue to Payment
- 1. (375px) Open the booking page and pick a day and time
- 2. (375px) Continue to Review Info
- 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.9s
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)3.5s
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 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)5.8s
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, then the Past tab
- Open the completed session
- Open the upcoming session; tap "Cancel session", then "Keep my session"
Expected
- No screen scrolls sideways
- Sessions: "Book a session", the Upcoming and Past tabs, "Reschedule" and "Cancel session" are at least 44px; on Past, "Rebook" and "Receipt" too
- Step 2: the receipt card comes first, above "Session details"; "View receipt" and "Book a follow-up session" are at least 44px
- Step 3: "Reschedule" and "Cancel session" are at least 44px; cancel 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 "Rebook" and "Receipt" are 38px tall.
Automated run
- 1. Open Sessions, then the Past tab
- 2. Open the completed session
- 3. Open an upcoming session; tap "Cancel session", then "Keep my session"
PassedTC-M-15Receipt and Settings at phone width (new)5.2s
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)3.1s
Test script
Preconditions Logged in as test@paxpsychology.dev, 390 × 844
Steps
- Open
/dashboard - Tap "More", then press Escape
Expected
- No sidebar; the avatar menu, the bottom tabs Today, Schedule, Clients, Earnings and More, the quick actions "Block time" and "Schedule", and "Full schedule" 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)4.8s
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 "Complete appointment", then press Escape
Expected
- No screen scrolls sideways
- Step 1: "Message", "Profile", "Reschedule" and "Cancel appointment" are at least 44px
- Step 2: "Complete appointment" is at least 44px; the completion dialog fits the screen, and its "They attended" option and "Continue" 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 "Complete appointment", then close
PassedTC-M-21Clients at phone width (new)2.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.9s
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
- 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
7 cases7 passed
PassedTC-C-40Sign in with an emailed code (new)8.2s
Test script
Preconditions Signed out.
Steps
- Sign in on
/auth/loginas2fa-client@paxpsychology.dev/Test123! - 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, Security
Expected
- Step 1: “Signing in as 2•••@paxpsychology.dev”, then “Check your email.” with “We sent a 6-digit code to 2•••@paxpsychology.dev. It works for 10 minutes.” A disabled “Send a new code 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): the code email names the device, the approximate place (“Near”, on staging only; nothing locally) and when, and says “Works for 10 minutes, once.”
- Step 2: back to sign in. No session exists until the code is entered
- Step 3: empty: “Enter your code.” Wrong: “That code didn't work. Check it and try again.”
- Step 4: the dashboard
- Step 5: “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)
Notes “Send a new code” works once every 30 seconds and five times an hour; after the fifth, a panel says when more can be asked for (“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. No session yet: /dashboard goes back to sign in
- Email "Your Pax Psychology sign-in code" is sent to 2fa-client@paxpsychology.dev
- 3. An empty and a wrong code are refused
- 4. Enter the code from the email: signed in
- 5. Settings, Security shows the method and the sign-in
PassedTC-C-41Sign in with a backup code (new)9.1s
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, 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, Security: 9 of 10 left
- 4. The same backup code is refused next time
PassedTC-C-42Trust this browser for 30 days (new)12.0s
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, 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, Security lists the browser; “Stop trusting” it
- 4. Sign out and in again: the code is asked for
PassedTC-C-43Booking dialog sign-in with two-step verification (new)8.2s
Test script
Preconditions Signed out.
Steps
- From
test@'s profile, book: pick a day and a time, then “Continue” - On “Your info” click “Sign in” and sign in as
2fa-client@paxpsychology.dev - Enter the emailed code in the dialog and click “Continue”
Expected
- Step 2: the dialog switches to “Check your email.” with the 6-digit code field, without leaving the booking page
- Step 3: the dialog closes; the booking stays on “Your info”, signed in (the “Already have an account?” card is gone)
Notes The booking form's autofill after a dialog sign-in is a separate, older issue: it does not fill in for plain password sign-ins either. The client banner suggesting two-step verification never shows on booking or payment screens.
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 inside the dialog; enter the emailed code
- 4. The dialog closes and the booking carries on at “Your info”, signed in
PassedTC-P-29Sign in with an authenticator app (new)8.6s
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, 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”.
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, Security: Turn off is shown but disabled, with why
PassedTC-A-23Set up two-step verification from the gate (new)7.3s
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: “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; “Download” saves pax-psychology-backup-codes.txt. 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), 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.”
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)9.7s
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, for the audit log (optional)”; 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 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
Emails
113 sent during this run
| Time (UTC) | Case | To | Subject | Status | Screenshot |
|---|---|---|---|---|---|
| 00:50:13 | TC-A-29 | e2e-client+e2e-20261025-x0ebwn-a29@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 00:51:26 | TC-A-22 | e2e-client+e2e-20261025-x0ebwn-a29@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 00:51:29 | TC-A-42 | test@paxpsychology.dev | Please review Avery's request for their records by Sunday 8 November | Sent | View |
| 00:51:44 | TC-A-44 | test@paxpsychology.dev | Please review Avery's request for their records by Sunday 8 November | Sent | View |
| 00:52:07 | TC-A-45 | test@paxpsychology.dev | Please review Avery's request for their records by Sunday 8 November | Sent | View |
| 00:52:34 | TC-A-50 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:52:35 | TC-A-50 | test@paxpsychology.dev | New appointment: Initial consultation with Sam Taylor | Sent | View |
| 00:52:42 | TC-A-50 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 00:52:43 | TC-A-50 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Sam Taylor | Sent | View |
| 00:52:54 | TC-A-15 | e2e+e2e-20261025-x0ebwn-a15@paxpsychology.dev | You're on the list | Sent | View |
| 00:52:55 | TC-A-15 | Pax Psychology Support <support@paxpsychology.dev> | Newsletter subscription: Tester | Sent | View |
| 00:52:57 | TC-A-15 | e2e+e2e-20261025-x0ebwn-a15@paxpsychology.dev | You're off the list | Sent | View |
| 00:53:39 | TC-C-57 | resets@paxpsychology.dev | Reset your Pax Psychology password | Sent | View |
| 00:53:42 | TC-C-57 | resets@paxpsychology.dev | Your Pax Psychology password's been changed | Sent | View |
| 00:53:50 | TC-A-03 | e2e-client+e2e-20261025-x0ebwn-a03@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:53:53 | TC-C-58 | e2e+e2e-20261025-x0ebwn-c58@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 00:53:58 | TC-C-58 | e2e+e2e-20261025-x0ebwn-c58@paxpsychology.dev | New sign-in to your Pax Psychology account | Sent | View |
| 00:53:59 | TC-A-04 | e2e-psych+e2e-20261025-x0ebwn-a04@paxpsychology.dev | Welcome to Pax Psychology: your psychologist account is ready | Sent | View |
| 00:54:07 | TC-A-05 | e2e-client+e2e-20261025-x0ebwn-a05@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:54:16 | TC-C-14 | client@paxpsychology.dev | Reset your Pax Psychology password | Sent | View |
| 00:54:31 | TC-C-34 | e2e+e2e-20261025-x0ebwn@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 00:54:32 | TC-C-34 | e2e+e2e-20261025-x0ebwn@paxpsychology.dev | Verify your email address for Pax Psychology | Sent | View |
| 00:54:57 | TC-C-90 | confirms@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:54:57 | TC-C-90 | proposes@paxpsychology.dev | Cam Confirms confirmed: Initial consultation | Sent | View |
| 00:55:05 | TC-C-91 | proposes@paxpsychology.dev | Drew Declines declined: Initial consultation | Sent | View |
| 00:55:22 | TC-C-17 | e2e+e2e-20261025-x0ebwn-c17@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:55:23 | TC-C-17 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 00:55:23 | TC-C-17 | e2e+e2e-20261025-x0ebwn-c17@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:55:23 | TC-C-17 | test@paxpsychology.dev | New client booked in | Sent | View |
| 00:55:42 | TC-C-36 | e2e+e2e-20261025-x0ebwn-c36@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:55:43 | TC-C-36 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 00:55:43 | TC-C-36 | e2e+e2e-20261025-x0ebwn-c36@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:55:43 | TC-C-36 | test@paxpsychology.dev | New client booked in | Sent | View |
| 00:55:49 | TC-C-35 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:55:49 | TC-C-35 | test@paxpsychology.dev | New appointment: Initial consultation with Sam Taylor | Sent | View |
| 00:55:54 | TC-C-35 | client@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 00:55:55 | TC-C-35 | test@paxpsychology.dev | Appointment rescheduled: Initial consultation with Sam Taylor | Sent | View |
| 00:55:58 | TC-C-35 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 00:55:58 | TC-C-37 | e2e+e2e-20261025-x0ebwn-c37@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:55:58 | TC-C-35 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Sam Taylor | Sent | View |
| 00:55:58 | TC-C-37 | test@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 00:55:58 | TC-C-37 | e2e+e2e-20261025-x0ebwn-c37@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:55:59 | TC-C-37 | test@paxpsychology.dev | New client booked in | Sent | View |
| 00:56:11 | TC-C-18 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:56:11 | TC-C-18 | test@paxpsychology.dev | New appointment: Initial consultation with Sam Taylor | Sent | View |
| 00:56:16 | TC-C-18 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 00:56:17 | TC-C-18 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Sam Taylor | Sent | View |
| 00:56:24 | TC-C-23 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:56:24 | TC-C-23 | test@paxpsychology.dev | New appointment: Initial consultation with Sam Taylor | Sent | View |
| 00:56:28 | TC-C-23 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 00:56:28 | TC-C-23 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Sam Taylor | Sent | View |
| 00:56:51 | TC-C-44 | latefee@paxpsychology.dev | Late cancellation fee invoice for your session with Dr Penny Payments | Sent | View |
| 00:56:51 | TC-C-27 | e2e+newsletter-e2e-20261025-x0ebwn@paxpsychology.dev | You're on the list | Sent | View |
| 00:56:51 | TC-C-44 | payments@paxpsychology.dev | A late cancellation from Lou Latefee | Sent | View |
| 00:56:51 | TC-C-27 | Pax Psychology Support <support@paxpsychology.dev> | Newsletter subscription: Tester | Sent | View |
| 00:56:57 | TC-C-28 | e2e+newsletter-e2e-20261025-x0ebwn@paxpsychology.dev | You're off the list | Sent | View |
| 00:57:10 | TC-C-94 | e2e+e2e-20261025-x0ebwn-c94@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:57:10 | TC-C-94 | test@paxpsychology.dev | New appointment: Initial consultation with Test Minor | Sent | View |
| 00:57:10 | TC-C-94 | e2e+e2e-20261025-x0ebwn-c94@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:57:11 | TC-C-94 | test@paxpsychology.dev | New client booked in | Sent | View |
| 00:57:14 | TC-C-04 | Pax Psychology Support <support@paxpsychology.dev> | Contact form: Test User | Sent | View |
| 00:57:14 | TC-C-04 | e2e+contact@paxpsychology.dev | Thank you for contacting Pax Psychology | Sent | View |
| 00:58:02 | TC-C-07 | e2e+e2e-20261025-x0ebwn-c07@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:58:02 | TC-C-07 | listing@paxpsychology.dev | New appointment: Initial consultation with Test Client | Sent | View |
| 00:58:03 | TC-C-07 | e2e+e2e-20261025-x0ebwn-c07@paxpsychology.dev | Welcome to Pax Psychology: set up your account | Sent | View |
| 00:58:03 | TC-C-52 | test@paxpsychology.dev | Jules flagged a tough day | Sent | View |
| 00:58:03 | TC-C-07 | listing@paxpsychology.dev | New client booked in | Sent | View |
| 00:58:12 | TC-C-75 | client@paxpsychology.dev | Appointment confirmation: Initial consultation | Sent | View |
| 00:58:12 | TC-C-75 | test@paxpsychology.dev | New appointment: Initial consultation with Sam Taylor | Sent | View |
| 00:58:15 | TC-C-75 | client@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 00:58:15 | TC-C-75 | test@paxpsychology.dev | Appointment cancellation: Initial consultation with Sam Taylor | Sent | View |
| 00:58:18 | TC-C-82 | swapper@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 00:58:18 | TC-C-82 | swaps@paxpsychology.dev | Appointment rescheduled: Initial consultation with Jamie Swapper | Sent | View |
| 00:58:29 | TC-C-70 | test@paxpsychology.dev | None of the suggested times worked for Sam | Sent | View |
| 00:58:40 | TC-C-38 | unpaid@paxpsychology.dev | We couldn't process your payment | Sent | View |
| 00:58:48 | TC-C-38 | unpaid@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Emily Thompson | Sent | View |
| 00:58:48 | TC-C-38 | test@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 00:59:03 | TC-P-80 | held@paxpsychology.dev | Piper withdrew a booking request | Sent | View |
| 00:59:19 | TC-P-83 | held@paxpsychology.dev | Piper withdrew a booking request | Sent | View |
| 00:59:19 | TC-P-83 | proposes@paxpsychology.dev | Withdrawn: Hollis Held's Initial consultation | Sent | View |
| 00:59:50 | TC-P-10 | client@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Emily Thompson | Sent | View |
| 00:59:51 | TC-P-10 | test@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 01:00:21 | TC-P-11 | client@paxpsychology.dev | Missed appointment: Initial consultation | Sent | View |
| 01:00:21 | TC-P-11 | test@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 01:01:09 | TC-P-33 | pcancel@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 01:01:09 | TC-P-33 | payments@paxpsychology.dev | Appointment cancellation: Initial consultation with Parker Cancel | Sent | View |
| 01:01:12 | TC-P-33 | pcancel@paxpsychology.dev | Appointment cancellation: Initial consultation | Sent | View |
| 01:01:12 | TC-P-33 | payments@paxpsychology.dev | Appointment cancellation: Initial consultation with Parker Cancel | Sent | View |
| 01:01:17 | TC-P-24 | client@paxpsychology.dev | A note from Emily about your first session | Sent | View |
| 01:01:19 | TC-P-34 | moves@paxpsychology.dev | Appointment cancelled: Initial consultation (psychologist unavailable) | Sent | View |
| 01:01:19 | TC-P-34 | blocks@paxpsychology.dev | Appointment auto-cancelled: Initial consultation with Casey Moves | Sent | View |
| 01:01:28 | TC-P-56 | client@paxpsychology.dev | Emily suggested some times | Sent | View |
| 01:01:29 | TC-P-35 | retry@paxpsychology.dev | We couldn't process your payment | Sent | View |
| 01:01:32 | TC-P-35 | retry@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Penny Payments | Sent | View |
| 01:01:32 | TC-P-35 | payments@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 01:01:40 | TC-P-56 | client@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 01:01:40 | TC-P-56 | test@paxpsychology.dev | Appointment rescheduled: Initial consultation with Sam Taylor | Sent | View |
| 01:01:42 | TC-P-74 | amounts@paxpsychology.dev | Invoice and payment confirmation for your session with Dr Penny Payments | Sent | View |
| 01:01:42 | TC-P-74 | payments@paxpsychology.dev | You've been paid: $195.00 | Sent | View |
| 01:02:16 | TC-P-75 | shifted@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 01:02:16 | TC-P-75 | shifts@paxpsychology.dev | Appointment rescheduled: Initial consultation with Rowan Shifted | Sent | View |
| 01:02:30 | TC-P-31 | repeats@paxpsychology.dev | Wren booked sessions for you: please confirm | Sent | View |
| 01:03:30 | TC-P-12 | moves@paxpsychology.dev | Appointment rescheduled: Initial consultation | Sent | View |
| 01:03:30 | TC-P-12 | reschedule@paxpsychology.dev | Appointment rescheduled: Initial consultation with Casey Moves | Sent | View |
| 01:03:37 | TC-C-40 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:03:54 | TC-C-41 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:03:56 | TC-C-41 | 2fa-client@paxpsychology.dev | A backup code was used on your account | Sent | View |
| 01:03:58 | TC-C-41 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:04:04 | TC-C-42 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:04:11 | TC-C-42 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:04:18 | TC-C-43 | 2fa-client@paxpsychology.dev | Your Pax Psychology sign-in code | Sent | View |
| 01:04:26 | TC-A-23 | 2fa-setup@paxpsychology.dev | Two-step verification is on | Sent | View |
| 01:04:34 | TC-A-24 | 2fa-reset@paxpsychology.dev | Two-step verification was reset on your account | Sent | View |





































































































































































































































































































