Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Staging PLK ES

Comments

Status

Passed

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

...

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

...

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

...

Staging PLK ES

Comments

Status

Passed

Scenario 5: As a user I want to activate a payment method for one 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

...

Staging PLK ES

Comments

Status

Passed

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

...

Staging PLK ES

Comments

Status

Passed

Scenario 8: As a user I want to inactivate two or more payment methods for one 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

...

Staging PLK ES

Comments

Status

Passed

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

...

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

...

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

...

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

...

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

...

Staging BK ES

Comments

Status

Passed

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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Code Block
breakoutModewide
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

Image Added

Pendent writing test case scenarios:

...