User Stories - ChandlerWeeks/Group2 GitHub Wiki
User Stories:
A list of requirements along with user stories associated with said requirements
Acceptance testing performed by explaining the steps associated with fulfilling a user story
Requirement: Users with different roles (Buyer, Seller, Admin) should be able to login into their accounts to be able to perform different actions and logout.
Title: User_Login
ID: 0001 ✔️
Description: As a user, I should be able to log in and log out so that I can use and leave the website.
- User is not logged in and visits the login page
- User inputs username and password before clicking the “Login” button
- The system passes this information to the authentication service
- If the authentication is successful, the user is sent to the home page, and if it is unsuccessful, then the user is returned to the login page, with an error message
Title: Seller_Login
ID: 0002 ✔️
Description: As a seller, I should be able to log in and log out so that I can sell product
- User is not logged in and visits the login page
- User inputs username and password before clicking the “Login” button
- The system passes this information to the authentication service
- If the authentication is successful, the user is sent to the home page, and if it is unsuccessful, then the user is returned to the login page, with an error message
Title: Admin_Login
ID: 0003 ✔️
Description: As an admin, I should be able to log in and out to moderate users and product
- User is not logged in and visits the login page
- User inputs username and password before clicking the “Login” button
- The system passes this information to the authentication service
- If the authentication is successful, the user is sent to the home page, and if it is unsuccessful, then the user is returned to the login page, with an error message
Requirement: A buyer should be able to search, compare, buy and return different types of products from different sellers.
Title: Buyer_Search
ID: 0004 ✔️
Description: As a buyer, I should be able to search for items so that I can shop
- Buyer navigates to the search bar
- Buyer types an item he is looking for
- Similar items to the search input appear
Title: Buyer_Compare
ID: 0005 ✔️
Description: As a buyer, I should be able to compare one item to another item, to make informed decisions
- Buyer clicks on a product’s page
- The user scrolls down, and similar products are displayed
Title: Buyer_Buy
ID: 0006 ✔️
Description: As a buyer, I should be able to purchase items, so that I can receive an item I want
- Buyer adds an item to their cart
- Buyer clicks “Checkout”
- Buyer inputs their shipping and payment information into the proper fields, or the info is loaded from the database if the buyer previously set it.
- Buyer clicks “Confirm Purchase”
Title: Buyer_Return
ID: 0007 ✔️
Description: As a buyer, I should be able to return a purchased item, so that I can get refunded for unwanted product
- Buyer navigates to return page
- Buyer inputs return information
- Buyer gets return instructions
- Buyer returns item
- Buyer receives refund
Requirement: A seller should be able to add, sell and receive payments for their available products.
Title: Seller_List
ID: 0008 ✔️
Description: As a seller, I should be able to list items to sell, so that I can sell product
- Seller navigates to “Create Item Listing” page
- Seller inputs information about the item (name, price, description, stock…)
- Seller clicks “Submit”
- Seller waits for an admin to approve listing
Title: Seller_Sell
ID: 0009 ✔️
Description: As a seller, I should be able to sell the product I list, so that I can profit
- Seller lists a product
- Seller waits for an admin to approve listing
- After approval, seller waits for a buyer to add item to cart
Title: Seller_Recieve_Payments
ID: 0010 ✔️
Description: As a seller, I should be able to receive the payments for product I sell, in order to profit
- Seller sells an item
- Seller's balance increases to account for the price
- Seller Navigates to "View Profits" Page
- If a Seller has their card registered, they can redeem the funds they have received.
Requirement: An admin should be able to approve/block new user accounts and products, and oversee different user actions.
Title: Admin_Approve_Accounts
ID: 0011 ✔️
Description: As an admin, I should be able to approve the creation of new user accounts, to prevent spam or bots
- Admin visits the account approval page
- A list of potential users is displayed, along with buttons to “Approve” and “Reject”
- When the admin clicks either button for approving, and the user can no purchase merchandise
Title: Admin_Approve_Products
ID: 0012 ✔️
Description: As an admin, I should be able to approve the addition of new product, to prevent bad or spam products
- Admin visits the product approval page
- A list of potential products is displayed, along with buttons to “Approve” and “Reject”
- When the admin clicks approve, and the product is now purchasable
Title: Admin_Reject_Accounts
ID: 0013 ✔️
Description: As an admin, I should be able to reject the creation of new users, to prevent spam or bots
- Admin visits the product approval page
- A list of potential products is displayed, along with buttons to “Approve” and “Reject”
- When the admin clicks decline, and the account can no longer list or buy products
Title: Admin_Reject_Products
ID: 0014 ✔️
Description: As an admin, I should be able to reject the creation of products, to prevent spam or bad products
- Admin visits the account approval page
- A list of potential users is displayed, along with buttons to “Approve” and “Reject”
- When the admin clicks either button for decline, and the user disappears from the screen
Title: Admin_Overview
ID: 0015 ✔️
Description: As an admin, I should be able to overview the actions of sellers and users, to prevent spam and bots
- Admin opens the “admin" page
- Admin views a list of items posted by sellers and orders from users