/
[Tests Cases] Integrating Loyalty Data into BookingAll Order Flows

[Tests Cases] Integrating Loyalty Data into BookingAll Order Flows

Scenario

Brand

Country

Test scenario

Pre- condition

How to execute(step-by-step)

Expect Result

1

BK

ES

Check if the Loyalty Id is returned on getOrder endpoint for drive-thru orders

  1. Place an drive-thru order

  2. Get the integration token that the store is part of

  1. Access the partners-api swagger and authenticate with the correct token

  2. Make a getOrder call with the order id

  3. Check if the loyalty id is returned.

  1. The loyalty id must be returned

2

BK

ES

Check if the Loyalty Id is returned on getOrder endpoint for delivery orders

  1. Place an delivery order

  2. Get the integration token that the store is part of

  1. Access the partners-api swagger and authenticate with the correct token

  2. Make a getOrder call with the order id

  3. Check if the loyalty id is returned.

  1. The loyalty id must be returned

3

BK

ES

Check if getOrder works if the Loyalty Id is not saved in database

  1. Access the dynamo db

  1. Access the order entity on: e.g.: aws-rbi-dev-plk.

  2. On "cart" object remove the rbiUserLoyaltyId.

  3. Access the partners-api swagger and authenticate with the correct token

  4. Make a getOrder call with the order id

  5. Check if the loyalty id is not returned and the endpoint returns other fields as expected.

  1. The loyalty id must not be returned

  2. The endpoint has to work normally

4

BK

ES

Check if getOrder works if the Loyalty Id is saved as an empty string

  1. Access the dynamo db

  1. Access the order entity on: e.g.: aws-rbi-dev-plk.

  2. On "cart" object make the rbiUserLoyaltyId as empty string.

  3. Access the partners-api swagger and authenticate with the correct token

  4. Make a getOrder call with the order id

  5. Check if the loyalty id is an empty string and the endpoint returns other fields as expected.

  1. The loyalty id must be returned as an empty string

  2. The endpoint has to work normally

5

BK

ES

Check if documetation reflects the changes

 

  1. Access the partners-api documentation and check if the Loyalty Id field is correctly documented

  1. The LoyaltyId field must be correctly documented in Get Order section

6

BK

ES

Check if the Loyalty Id returned on getOrder endpoint match with the correct user Loyalty Id

  1. Place an drive-thru order

  2. Get the integration token that the store is part of

  3. Access the admin-app and check copy the loyalty id of the user

  1. Access the partners-api swagger and authenticate with the correct token

  2. Make a getOrder call with the order id

  3. Check if the loyalty ID matches the one in the admin app

  1. The loyalty id must be returned

  2. The endpoint has to work normally

Related content

[Test Cases] MB Way
[Test Cases] MB Way
Read with this
[Test Plan] Integrating Loyalty Data into BookingAll Order Flows
[Test Plan] Integrating Loyalty Data into BookingAll Order Flows
More like this
[Report] Integrating Loyalty Data into BookingAll Order Flows
[Report] Integrating Loyalty Data into BookingAll Order Flows
More like this
Loyalty API Migration - Test Cases
Loyalty API Migration - Test Cases
More like this