Register Use Case
Background information :
System: a web auction platform
Primary actor: a guest user who wants to create a new account
Goals: be able to launch auctions or offer bids for ongoing ones
Preconditions: a guest user accesses the platform's URL from a web browser
Scenarios :
Basic flow :
1.1. The user opens the register page and it is required to fill a form with the necessary data to create a new account.
1.2. The user enters the username, an email, a password, the password confirmation and clicks on the register button.
1.3. The system validates the user credentials checking whether the username/email are unique and the password meets the required format.
1.4. A new account is created in the system for the current user and a new session is launched for the latter.
1.5. The user is redirected to the login page.
Alternate flow 1 (the user is unauthenticated, but already has an account):
2.1. The user opens the register page and clicks on the Already have an account button.
2.2. The user is redirected to the login page.
Alternate flow 2 (the user is authenticated):
3.1. The user tries to open the register page, but it is automatically redirected to the home page.
Exceptional flow 1 (the user enters invalid credentials in the register form):
4.1. The user opens the register page and it is required to fill a form with the necessary data to create a new account.
4.2. The user enters the username, an email, a password, the password confirmation and clicks on the register button.
4.3. The system tries to validate the user credentials, but they're invalid.
4.4. The validation errors are prompted to the user on the register page and it's required to refill the form with valid data.



Last updated