Golfmate · End-to-end tests

Customer review report

31 tests 31 passed 2026-04-23T21:57:17.641Z

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.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/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

Near-me filter toggles on

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/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