Repository navigation
Test case 1
krkv edited this page Dec 7, 2014
·
7 revisions
We assume that by design applying discount is only possible during order procedure (when order is open). We assume that system is able to cancel an order and to handle order errors with no reference to the fact if a discount card was used or not.
1
- The POS system should read partner cards and make discounts.
- NEW: The POS system should handle discount card errors and display appropriate notifications for invalid discount card (expired) and other cards in reader (not a discount card).
Orders:
- An order with no items in it (just opened).
- An order with part of items in it (order in process).
- An order with all ordered items in it (complete order).
Discount cards:
- Valid discount card.
- Invalid discount card.
- Other card (not a discount card).
Valid discount card with empty order:
- Open a new order.
- Apply discount card.
- Add some products.
- Close the order.
- Check for applied discount.
Valid discount card with partial order:
- Open a new order.
- Add some products.
- Apply discount card.
- Add some products.
- Close the order.
- Check for applied discount.
Valid discount card with full order:
- Open a new order.
- Add all required products.
- Apply discount card.
- Close the order.
- Check for applied discount.
Test steps for invalid discount card and other card are same, but should be performed separately.
Invalid discount card (other card) with empty order:
- Open a new order.
- Apply invalid discount card (other card).
- Check for notification.
- Add some products.
- Close the order.
- Check for applied discount.
Invalid discount card (other card) with partial order:
- Open a new order.
- Add some products.
- Apply invalid discount card (other card).
- Check for notification.
- Add some products.
- Close the order.
- Check for applied discount.
Invalid discount card (other card) with full order:
- Open a new order.
- Add all required products.
- Apply invalid discount card (other card).
- Check for notification.
- Close the order.
- Check for applied discount.
- Reading a valid discount card at any step of order procedure will apply a standard discount and reduce the final total sum by appropriate percent.
- Trying to use an invalid discount card at any step of order procedure will bring up an appropriate error notification.
- Trying to use any other card (not a discount card) at any step of order procedure will bring up an appropriate read error notification.