Golfmate · End-to-end tests

Customer review report

52 tests 50 passed 2 failed 2026-04-27T19:07:13.429Z

specs/auth.spec.ts

Unauthenticated visitor is redirected from home to login

Passed

User signs in with valid credentials and lands on home

Passed

Invalid credentials show an error and keep the user on login

Passed

Short password fails client-side validation

Passed

Sign-up mode toggle swaps the primary action copy

Passed

Signed-in user can sign out and is redirected to login

Passed

specs/connections-approve.spec.ts

Cara can accept Alice's pending request

Passed

specs/connections-invite.spec.ts

rejects an invalid email format

Failed

rejects self-invite

Failed

specs/connections.spec.ts

Alice sees Bob under 'My connections' and Cara under 'Discover'

Passed

Sending a connect request flips the button to 'Pending'

Passed

Invite-by-email triggers an edge-function call and surfaces a result

Passed

specs/create-match.spec.ts

Alice hosts an open match with an area and lands on the detail view

Passed

Back button returns to the previous step

Passed

specs/feedback.spec.ts

Alice submits feedback and sees the thanks card

Passed

rejects body shorter than 5 characters

Passed

specs/home-filters.spec.ts

opening the sheet, picking 2-ball, and applying filters the feed

Passed

Reset clears all filters and the badge disappears

Passed

specs/home.spec.ts

Alice sees a personalised greeting and the seeded open match

Passed

Host FAB navigates to the Create wizard

Passed

Search shortcut navigates to the Search screen

Passed

Filters sheet opens from the home filter button

Passed

Clicking the seeded match card opens match detail

Passed

specs/match-detail.spec.ts

Alice sees 'Waiting for N more players' on her own open match

Passed

Bob sees a 'Request to join' CTA on Alice's open match

Passed

Clicking the CTA flips it to 'Request sent'

Passed

Cara sees a disabled CTA explaining she's not eligible

Passed

specs/notifications.spec.ts

Sam sees no bell-dot and an empty notifications screen

Passed

bell shows the dot, list shows the request

Passed

specs/personas/onboarding.spec.ts

login bounces to /profile/edit, Save lands on home

Passed

specs/personas/persona-feed.spec.ts

hattie lands on home

Passed

pat lands on home

Passed

pari lands on home

Passed

aisha lands on home

Passed

vic lands on home

Passed

fiona lands on home

Passed

sam lands on home

Passed

specs/personas/score-approval.spec.ts

Vic approves the submitted Walton Heath scorecard

Passed

specs/profile-age-homeclub.spec.ts

Alice can save age + home club and they show on her profile

Passed

invalid age stays in the form with a visible error

Passed

specs/profile-avatar.spec.ts

renders initials when no third-party photo resolves

Passed

specs/profile.spec.ts

Alice's own profile shows her stats and a Sign out button

Passed

Opening another player's profile surfaces a Connect action

Passed

Existing connection shows a Remove button

Passed

specs/ranks.spec.ts

Alice sees her YOU marker and a current rank

Passed

Switching the sort metric reshuffles the rows

Passed

Tapping another player opens their profile modal

Passed

specs/scoring-validation.spec.ts

Alice enters strokes for both players across 9 holes

Passed

Both players approve — the match flips to 'Completed'

Passed

specs/search.spec.ts

Text query filters the feed in real time

Passed

Format chip filters by match format

Passed

Disabling 'Open matches only' reveals private matches Alice is in

Passed