Open dmtrth25 opened 4 months ago
Maybe you need to add that Registration button is a part of Login window and guest Cart page?
Maybe you need to add that Registration button is a part of Login window and guest Cart page?
How it should be implemented. We haven't discussed yet Button or just text like 'Don't have an account ? Register' etc.
AS user I WANT to register for an account TO access personalized features and make purchases
ACCEPTANCE CRITERIA:
GIVEN a potential user WHEN the user navigates to the registration page THEN the registration form should be displayed with the following fields: email, password, confirm password
GIVEN a potential user WHEN the user submits the registration form with valid details THEN the account should be created AND the user should be redirected to a welcome page or the login page AND a confirmation email should be sent to the provided email address
GIVEN a potential user WHEN the user submits the registration form with invalid details (e.g., missing required fields, invalid email format, password mismatch) THEN appropriate error messages should be displayed next to the relevant fields (like helper text)
GIVEN a potential user WHEN the user clicks the "Cancel" button on the registration form THEN the user should be redirected to the home page or previous page without saving any information