pixiebrix-extension
pixiebrix-extension copied to clipboard
End to end testing - setup with a newly created user
For many test use cases we want to write, we will want to use a fresh new account to avoid impacting test runs that are using the same account. For example, testing assigning and removing deployments.
Acceptance Criteria
- New setup test project that creates a new random user name, and signs in with it, linking with the app console.
- Assign the newly created user to an existing team.
Impl details
We will want to consider paying for a service like mailslurp to handle dynamic email inbox creation for the account creation process.
To assign the user to an existing team, we might have to login with an admin user as part of the test flow to do this, or add specific logic in the app service to add users coming in from a specific email domain automatically to a specific test team.