-
-
Notifications
You must be signed in to change notification settings - Fork 50
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(commands): command for creating a user #88
Comments
Although I also think in the direction passwords should not be in the code, I tend to think preventing this is not so much responsibility of the library (warnings are fine). I suggest to focus in two directions:
|
Something of note: Just using a UID that doesn't already exist creates the user if you are using Does that handle your case @fabiocarneiro? I would like to avoid directly advocating for creating new users in tests since it would require cleanup - this would add tons and tons of new accounts even after of a short time of having tests run as part of a CI flow where builds/tests are run regularly |
@prescottprue for my use case, I'm using the email returned from an authenticated session to do something in my app. I could likely rewrite my app logic to grab the email in another way but having this built into By the way, thanks for all of your work on |
cy.deleteUser() would be the most usefull because when I test the account creation, I need to manually delete the user in the firebase authentification emulator |
As mentioned in #14 by @fabiocarneiro there is a need for creating user's during tests:
Notes
Open Questions
The text was updated successfully, but these errors were encountered: