project_s23-one-belt-one-road created by GitHub Classroom
1
stars
0
forks
source link
As a busy student, I want to set a restock alarm for my interested item that is out of stock, so I will receive a notification when my interested item is restocked. #6
Test 1
1) Open the website and login with an account (username: aabbcc, passward: 000000).
2) Go to landing page which is the first page click "SEE ALL" button.
2) Click the "Restock Alert" with any out of stock product.
3) Reset the number of stocks >= 1 to see if it notifies the correct user.
Test 2
1) Login with an account (username: aabbcc, passward: 000000).
2) Click the alarm button with any out of stock product.
3) Reset the number of stocks >= 1 with a different product to see if it does not notify the user.
Test 3
1) Login with an account (username: aabbcc, passward: 000000).
2) Click the alarm button with any out of stock product.
3) Reset the number of stocks >= 1, reset to 0, and reset to >= 1 again to see if it notifies correctly.
Acceptance Test
Test 1 1) Open the website and login with an account (username: aabbcc, passward: 000000). 2) Go to landing page which is the first page click "SEE ALL" button. 2) Click the "Restock Alert" with any out of stock product. 3) Reset the number of stocks >= 1 to see if it notifies the correct user.
Test 2 1) Login with an account (username: aabbcc, passward: 000000). 2) Click the alarm button with any out of stock product. 3) Reset the number of stocks >= 1 with a different product to see if it does not notify the user.
Test 3 1) Login with an account (username: aabbcc, passward: 000000). 2) Click the alarm button with any out of stock product. 3) Reset the number of stocks >= 1, reset to 0, and reset to >= 1 again to see if it notifies correctly.