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 16 Next »


PLK ES

DOP

Scenario 1: As a user, I should see the new Edit Payment Method form on the Payment method edit page

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I should see the new Edit Payment Method form on the Payment method edit page
    Given I select a restaurant
    When I access the Payment method edit page
    Then I should see the new Edit Payment Method form on the left side following the Figma's design.

Staging PLK ES

Comments

Status

Passed

Scenario 2: As a user I should see the elements on the Edit Payment Method form

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I should see the elements on the Edit Payment Method form
    Given I select a restaurant
    When I access the Payment method edit page
    Then I should I should see the <lements> on the Edit Payment Method form

    |elements                                                                      |
    |Activate/Desactivated Delivery Offline Payment Methods title                  |
    |Dolar sign                                                                    |
    |Activate or Desactivated Offline payment methods for delivery orders. subtitle|
    |Payment methods title                                                         |
    |Payment methods activate and desactivate controls                             |

Staging PLK ES

Comments

Status

Q: There is a difference between Sanity and DOP: Credit card on delivery

A: As I talked to the developer, we used the title existing on the WL because we already have the translation in Lokalise. So the values set on Sanity will not be displayed on DOP.

Passed

Scenario 3: As a user I should see the default value as null on all the active/inactive payment methods listed

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I should see the default value as null on all the active/inactive payment methods listed
    Given I select a restaurant
    When I access the Payment method edit page
    Then I should see the default value as null on all the active/inactive payment methods listed

Staging PLK ES

Comments

Status

Q: there is info on Figma that the default status should be enabled, but as we discussed with the internal team, the default value must be null.

Passed

Scenario 4: As a user, I should NOT see values about “Allow Payment” on Sanity to a new restaurant

Feature: Allow Payment methods by DOP
  Background: Sanity Restaurants
  Scenario: As an user I should NOT see values about “Allow Payment” on Sanity to a new restaurant
    Given I have accessed a restaurant via Sanity
    When I access the metadata information
    Then I should NOT see values about “Allow Payment”

Staging PLK ES

Comments

Status

Passed

Scenario 5: As a user I want to activate a payment method for one restaurant

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate a payment method for one restaurant
    Given I select a restaurant
    And I access the Payment method edit page
    And I activate a payment method
    When I click on save
    Then I should see the activated payment methods on Sanity for that restaurant

Staging PLK ES

Comments

Status

*Two logs are being added to Sanity

Passed

Scenario 6: As a user I want to activate two or more payment methods for one restaurant

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate two or more payment methods for one restaurant
    Given I select a restaurant
    And I access the Payment method edit page
    And I activate two or more payment method
    When I click on save
    Then I should see the activated payment methods on Sanity for that restaurant

Staging PLK ES

Comments

Status

Passed

Scenario 7: As a user I want to inactivate a payment method for one restaurant

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to inactivate a payment method for one restaurant
    Given I select a restaurant
    And I access the Payment method edit page
    And I inactivate a payment method
    When I click on save
    Then I should see the inactivated payment methods on Sanity for that restaurant

Staging PLK ES

Comments

Status

Passed

Scenario 8: As a user I want to inactivate two or more payment methods for one restaurant

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to inactivate two or more payment methods for one restaurant
    Given I select a restaurant
    And I access the Payment method edit page
    And I inactivate two or more payment method
    When I click on save
    Then I should see the inactivated payment methods on Sanity for that restaurant

Staging PLK ES

Comments

Status

Passed

Scenario 9: As a user I want to activate a payment method and inactivate another one for one restaurant

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate a payment method and inactivate another one for one restaurant
    Given I select a restaurant
    And I access the Payment method edit page
    And I activate a payment method
    And I inactivate another payment method
    When I click on save
    Then I should see the activated payment method on Sanity for that restaurant
    And I should see the inactivated payment method on Sanity for that restaurant

Staging PLK ES

Comments

Status

Passed

Scenario 10: As a user I want to activate a payment method for a restaurant group

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate a payment method for a restaurant group
    Given I select a restaurant group
    And I access the Payment method edit page
    And I activate a payment method
    When I click on save
    Then I should see the activated payment methods on Sanity for all the restaurants that are related to the group

Scenario 11: As a user I want to activate a payment method for a large amount of restaurants

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate a payment method for a large amount of restaurants
    Given I select a a large amount of restaurants
    And I access the Payment method edit page
    And I activate a payment method
    When I click on save
    Then I should see the activated payment methods on Sanity for all the restaurants

DEV BK

Comments

Status

Passed

Scenario 12: As a user I want to activate a payment method and inactivate another one for a large amount of restaurants

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to activate a payment method and inactivate another one for a large amount of restaurants
    Given I select a large amount of restaurants
    And I access the Payment method edit page
    And I activate a payment method
    And I inactivate another payment method
    When I click on save
    Then I should see the activated payment method on Sanity for all the restaurants
    And I should see the inactivated payment method on Sanity for all the restaurants

DEV BK

Comments

Status

Passed

Scenario 13: As a user I should see the new active/inactive controls on the Cash limitation forms

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I should see the new active/inactive controls on the Cash limitation forms
    Given I select a restaurant
    When I access the Payment method edit page
    Then I should see the new active/inactive controls on the Cash limitation forms

DEV BK

Comments

Status

Passed

Scenario 14: As a user I should see the new active/inactive controls on the Cash limitation forms as null

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I should see the new active/inactive controls on the Cash limitation forms as null
    Given I already had a restaurant as null
    When I access the Payment method edit page
    Then I should see the new active/inactive controls on the Cash limitation forms as null

DEV BK

Comments

Status

Passed

Scenario 15: As a user I should see the new active/inactive controls on the Cash limitation forms as active

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I should see the new active/inactive controls on the Cash limitation forms as active
    Given I already had a restaurant as active
    When I access the Payment method edit page
    Then I should see the new active/inactive controls on the Cash limitation forms as active

Staging BK ES

Comments

Status

Passed

Scenario 16: As a user I should see the new active/inactive controls on the Cash limitation forms as inactive

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I should see the new active/inactive controls on the Cash limitation forms as inactive
    Given I already had a restaurant as inactive
    When I access the Payment method edit page
    Then I should see the new active/inactive controls on the Cash limitation forms as inactive

Staging BK ES

Comments

Status

Passed

Scenario 17: As a user I want to active/desactive a payment method of the one restaurant but I do not want to change the cash limitation rules

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I want to active/desactive a payment method of the one restaurant but I do not want to change the cash limitation rules
    Given I select a restaurant
    And I access the Payment method edit page
    And I active/desactive a payment method
    When I click on save
    Then I should see the existing values regarding the cash limitation on the Sanity restaurant page.

Staging BK ES

Comments

Status

Passed

Scenario 18: As a user I want to active/desactive a payment method of two or more restaurants but I do not want to change the cash limitation rules

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I want to active/desactive a payment method of two or more restaurants but I do not want to change the cash limitation rules
    Given I select a restaurant
    And I access the Payment method edit page
    And I active/desactive a payment method
    When I click on save
    Then I should see the existing values regarding the cash limitation on the Sanity restaurant page.

Staging BK ES

Comments

Status

Passed

Scenario 19: As a user I should be able to edit the cash limitation information

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I should be able to edit the cash limitation information 
    Given I select a restaurant
    And I access the Payment method edit page
    And I change the cash limitation information
    When I click on save
    Then I should see the values regarding the cash limitation on the Sanity restaurant page.

Whitelabel

Scenario 20: As a user, I should see all payment methods available on Whitelabel for the restaurants that have the “Allow payment method” as null

Feature: Allow Payment methods by DOP
  Background: Whitelabel
  Scenario: As a user, I should see all payment methods available on Whitelabel for the restaurants that have the “Allow payment method” as null
    Given I select a delivery address with a restaurant that have the “Allow payment method” as null
    When I access the payment screen
    Then I should see all payment methods available to that market

Staging PLK ES

Comments

Status

Staging-PLK-ES-restaurant-allow-payment-null.mov

Passed

Scenario 21: As a user I want to see the payment methods that are activated for a restaurant on WL

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I want to see the payment methods that are activated for a restaurant on WL
    Given I have the follow activated payment methods for a restaurant
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |
    And I go to the WL and select the restaurant that has the activated payment methods
    When I go to the payment screen
    Then I should see the activated payment methods available on the dropdown
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |

DEV PLK ES

Comments

Status

Passed

Passed

Scenario 22: As a user I do NOT want to see the payment methods that are inactivated for a restaurant on WL

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I do NOT want to see the payment methods that are inactivated for a restaurant on WL
    Given I have the follow inactivated payment methods for a restaurant
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |
    And I go to the WL and select the restaurant that has the inactivated payment methods
    When I go to the payment screen
    Then I should NOT see the inactivated payment methods available on the dropdown
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |

DEV PLK ES

Comments

Status

Passed

Passed

Scenario 23: As a user I want to see the payment methods that are inactivated for a restaurant when the order is via take out WL

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As a user I want to see the payment methods that are inactivated for a restaurant when the order is via take out WL
    Given I have the follow inactivated payment methods for a restaurant
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |
    And I go to the WL and select the restaurant via take out that has the inactivated payment methods
    When I go to the payment screen
    Then I should see the inactivated payment methods available on the dropdown
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |

Scenario 24: As a user I do want to see the payment methods that are activated but the Sodexo-Voucher feature flags is disabled for a restaurant on WL

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
  Scenario: As an user I do want to see the payment methods that are activated but the Sodexo Voucher feature flags is disabled for a restaurant on WL
    Given I have the follow payment methods as activated for a restaurant
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |
      |Sodexo                  |
    And I have the Sodexo Voucher Features flags as disabled on the Launch Darkly
    And I go to the WL and select the restaurant that has the payment methods as activated
    When I go to the payment screen
    Then I should NOT see the Sodexo Voucher in payment methods available on the dropdown
      |activate-payment-methods|
      |Cash                    |
      |Ticket Restaurant       |

DEV PLK ES

Comments

Status

image-20241125-192641.png

image-20241125-192955.png

image-20241125-192925.png

image-20241125-193117.png

We used the restaurant number 2222.
All offline payments are actived

In Sodexo-voucher feature flag we desactived to restaurant number 2222

In WL-app we there is not a option Sodexo Voucher.

Passed

Scenario 25: As a user I do NOT want to see the off-line payment methods after the user places a fake order even if the payment is activated on DOP

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
    And I have all the off-line payments activated on DOP
    And I had placed a fake order on WL
  Scenario: As a user I do NOT want to see the off-line payment methods after the user places a fake order even if the payment is activated on DOP
    And I go to the WL and select the restaurant that has the payment methods as activated
    When I go to the payment screen
    Then I should NOT see the off-line payment methods available on the dropdown

DEV PLK ES

Comments

Status

Passed

Scenario 26: As a user I do want to see the off-line payment methods after the user places a fake order even if the payment is activated on DOP, only if the user is placing via take out

Feature: Allow Payment methods by DOP
  Background: DOP Restaurants
    Given I have accessed DOP Restaurants Page
    And I have all the off-line payments activated on DOP
    And I had placed a fake order on WL
  Scenario: As a user I do NOT want to see the off-line payment methods after the user places a fake order even if the payment is activated on DOP
    And I go to the WL and select the restaurant via take out that has the payment methods as activated
    When I go to the payment screen
    Then I should see the off-line payment methods available on the dropdown

DEV PLK ES

Comments

Status

Passed

Scenario 27: As a user I do want to see the off-line payment methods after the user places a fake order even if the payment is activated on DOP, only if the user is placing via take out

DEV PLK ES

Comments

Status

Pendent writing test case scenarios:

Translation on DOP

Check the Cash limitation existing values after changing the enable/disable buttons

Check priority Launch Darkly FF x Cash Limition x Allow payments

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