Test Case 4 Inserting and forwarding complaints - Tonnius/Tiim14-50 GitHub Wiki
Test case: Inserting and forwarding complaints
Test case ID: TC4
Related requirements:
- allow the head waiter to deal with customer complaints and forward them to restaurant managers if necessary;
Input that is used for the test to verify the functionality:
- We expect that a database for new complaints exists;
- we expect that the system has a sub-system where to insert and/or view complaints; we expect that there is a option to make complaints visible to other users of the PO system;
- we expect that a customer can make anonymous and non-anonymous complaints by filling the field of the customer name (string type, other types allowed as well);
-
A customer who wants to send a complaint to the management of the restaurant;
-
Complaint text to be sent to the management;
-
The decision by head waiter whether to forward the complaint to managers or not;
Steps performed during the verification process:
-
A customer inserts the complaint text on paper (in that case head waiter inserts it into the PO system through web page or PO system) or inserts it on the web page of the restaurant;
-
A customer chooses if he/she wants to add his/her name to the complaint or wishes to leave the customer name field empty (we expect that the system allows to leave the customer name field empty, but the complaint text must be at least 50 characters long);
-
A customer confirms the complaint and it is inserted into the database;
-
The head waiter opens the subsystem where to view new complaints and chooses if he/she wants to forward it to restaurant managers;
-
In case the head waiter chooses to forward a complaint to restaurant managers, they will receive a notice about it in the PO system and can view it;
Expected results:
The complaint is saved into the database and is accessible to all head waiters and all users of higher status in the system. In case head waiter has decided to forward the complaint to restaurant managers, they will receive a notice in the PO system that there is a complaint that they should definitely see.