-
Notifications
You must be signed in to change notification settings - Fork 44.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: generate simple auth tests #8709
feat: generate simple auth tests #8709
Conversation
this will always create a new user
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
(note that this will probably come next for the things that aren't explicitly login https://playwright.dev/docs/auth#multiple-signed-in-roles) |
You put your user in and shake their creds about, You do the auth flow pokey and you turn yourself about, That's what it's all about! 🔄 - Add user creation test - Add initial login test - Add logout flow test - Verify re-login capabilities
We want to start testing our UI so lets start with creating users!
Changes 🏗️
Adds a login fixture, adds a global fixture, adds a user generator, add user creation
Checklist 📋
For code changes:
Example test plan
For configuration changes:
.env.example
is updated or already compatible with my changesdocker-compose.yml
is updated or already compatible with my changesExamples of configuration changes