Open JoeShep opened 4 years ago
User can rate an item from 1-5
When user rates an item from 1-5, the rating is stored to the Product (?) table
When user visits their Account View, assuming this user has sold products and those products have been rated, the average of their product ratings will be shown
Account View will need to fetch data from customer and product tables, to display products the customer has sold and to show information about those products (such as average ratings)
Product table
Customer table
Given the user is authenticated And is viewing their Order History (see #18) When user rates a product from 1 to 5 Then the product rating must be saved in the system
Given the user is authenticated And has sold products When the user views their Account View Then the average of all their product ratings will be displayed