Test Case 5 Sending advertisements to regular customers - Tonnius/Tiim14-50 GitHub Wiki

Test case: Sending advertisements to regular customers

Test case ID: TC5

Related requirements:

  • have a database for the e-mail addresses of regular customers, added by restaurant managers and should be removed by request at any time;
  • allow restaurant managers to send advertisements to regular customers;

Input that is used for the test to verify the functionality:

  1. We expect that there is a database for regular customers and their e-mail addresses;
  • we expect that there is a subsystem where the restaurant manager can add and remove regular customers' names and e-mails into the database;
  • we expect that there is a subsystem where the restaurant manager can send advertisements to the customers in the database;
  1. Customer name and his/her e-mail address (for example: "Kala Saba"; "[email protected]") added or to be added into the database;

  2. Advertisement to be sent to regular customers;

Steps performed during the verification process:

  1. In case the database of regular customers is empty, the restaurant manager inserts regular customers' name and e-mail address (for example "Kala Saba" and "[email protected]") into the system (we expect that the system disallows the user to insert incorrect e-mail into the system or leave name and/or e-mail fields empty);

  2. If there is at least one regular customer and his/her e-mail in the database, the restaurant manager fills checkboxes to choose one or more regular customers (or all customers by marking special checkbox) in cocreet subsystem;

  3. The restaurant manager inserts the advertisement text (we expect that the system disallows to leave that field empty) and confirms the task;

  4. System sends an advertisement to all marked e-mails:

Expected results:

Regular customer's name and e-mail address are saved into the database. An advertisement inserted by restaurant manager is sent to all marked regular customers.