Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

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 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.

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.

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

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

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.