compass
compass copied to clipboard
Onboarding flow (with OAuth)
Overview
Write Playwright e2e tests to cover the Compass onboarding flow, including Google OAuth authentication.
Implementation Details
- Automate steps: signup, Google OAuth login, onboarding screens, final app entry.
- Save and reuse session state using Playwright's storage state API.
- Validate user data and onboarding completion.
- Use Playwright locators (docs), avoid
data-testidattributes. - Test both mouse/click and keyboard navigation through onboarding and OAuth.
Acceptance Criteria
- [ ] Playwright tests for onboarding including OAuth
- [ ] Storage state reused where applicable
- [ ] Documentation for running onboarding tests
References
- Parent: #958
- Playwright Docs: Authentication
- Playwright Docs: Locators
@tyler-dane I would love to work on this issue, could you please assign to me.
Hey @yash-1104github , thanks for volunteering!
We don't assign issues to early contributors ahead of time, as we've been burned in the past when people would hold an issue hostage and then disappear.
This one is larger scope and is a new feature, but if you're up for it, I'm happy to check out a PR.
My suggestion is to try to break things down into smaller chunks and ask for clarity if anything is unclear