codeforboston / codeforboston/maple
E2E Test for Google Signup/Login Flow
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 175
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Description
**Goal**
We want to be able to automatically test the authentication flow to build confidence in the basic functioning of the site after deploys.
**Success Criteria:**
- Add a Playwright Test that confirms we can successfully create and log in to individual user accounts via Google Auth.
- Flow should be:
- Create new account with an existing Google Account
- We should be able to create a shared MAPLE account for this and re-use it between test runs.
- Sign out
- Sign back in via Google (to confirm login works)
- Delete MAPLE account (to clean up after tests)
**Exclusions:**
There are currently three signup flows on the site:
- Individual User signing up with Email / Password
- Individual User signing up with Google Auth
- Organization signing up with Email / Password
This card only covers the second flow (Individual users signing up with Google).
Contributor guide
Assessment
This issue has not been assessed yet.