Here are some user stories for a commercial software and their acceptance criteria:
-As a user, I want to login to the system so that I can make a purchase
-As a user, I want to receive an email when the purchase is done, so that I can track my order
Acceptance Criteria:
Given that the user opens the login page
When the user enters a valid username & password
Then the system redirects the user to the Home page
And user is able to make a purchase
Given that the user already added items to the cart
When the user finishes the purchase process
Then an email is sent to the user with the order details
Given that the user opened the cart
When the user adds a negative number of items to the cart
Then an error message appears telling the user that he is not able to add negative number of items to the cart
What is missing from the user stories & acceptance criteria?
i. non-functional requirements
ii. functional requirements.