Criterion B
Criterion B
DESIGN
This will be the authentication page in the website in order to access the
checkout tab or to access the admin panel if you are an authorized user.
This page allows you to create a new account in a database or sign in with your
previous account.
This will be the catalog on the website where the user can browse through
different products with a filter function to narrow their query.
This will be the product page layout.
(The grey box will consist of the product image)
This is the admin panel for authorized users where they have access to the
database, allowing to either modify or delete a product.
Start: This is the beginning of the process.
Input username and password: The user enters their username and password credentials.
If username and password in database: This decision diamond checks if the entered username and
password combination exists in the database.
Yes - Authenticate user: If a match is found in the database, the user is authenticated and granted
access to the system.
No - Output 'Error message': If there is no match in the database, an error message is displayed,
indicating that the login attempt failed.
Is user.email an authorized user: This decision diamond checks if the user's email is authorized to
access the system.
Showcase admin panel: This step displays the admin panel to the authorized user.
Toggle on project: This action button allows the user to view all projects.
Show all projects in the database: This action retrieves and displays a list of all projects from the
database.
Database: This represents the database that stores the project information.
Modify and delete them: This indicates that the user can modify or delete any of the listed projects.
Toggle Checkout Button: This indicates the point where a customer clicks a button to initiate the
checkout process.
If Product Available && Authorized: This decision diamond checks if the product is in stock and if the
purchase is authorized by the system.
No: If either condition is not met, the process goes to the output error.
Input Payment: This represents the step where the customer enters their payment information.
Yes - Payment Validated: If the payment information is valid, the process goes to the successful
output.
No - Output Error Processing Payment: If the payment information is not valid, an error message is
displayed to the user.
Output Success to User and Mail Invoice: If the payment is successful, a confirmation message is sent
to the user and an invoice is emailed.
Test Plan