Versions Compared

Key

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

PLK ES

DOP

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

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

Image Removed

...

Passed

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

...

breakoutModewide

...

Table of Contents
stylenone

...

PLK ES

DOP

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

Code Block
breakoutModewide
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 new Edit Payment Method form on the EditPayment Paymentmethod Methodedit formpage
    Given I select a restaurant
    When I access the Payment method edit page
    Then I should I should see the <lements>new on the Edit Payment Method form on the left side following |elements             the Figma's design.

Staging PLK ES

Comments

Status

Image Added

Passed

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

Code Block
breakoutModewide
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> |Activate/Desactivated Delivery Offline Payment Methods titleon the Edit Payment Method form

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

...

Staging PLK ES

...

Comments

...

Status

Image Removed

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

                                           |
    |Payment methods activate and desactivate controls                             |

Staging PLK ES

Comments

Status

Image Added

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

Image Added

Image Added

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

image-20241125-192955.pngImage Added

image-20241125-192925.pngImage Added

image-20241125-193117.pngImage Added

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:

First order and Total cart < 10.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: Only Off-line payment activated on DOP available on WL.

DEV PLK ES

Comments

Status

Image Added

Image Added

Image Added

Passed

Scenario 26:

First order and Total cart > 10.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: No Off-line payments available on WL.

DEV PLK ES

Comments

Status

Image Added

Image AddedImage Added

Passed

Scenario 27:

Second order and Total cart < 20.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: Only Off-line payment activated on DOP available on WL.

DEV PLK ES

Comments

Status

Image Added

Image Added

Passed

Scenario 28:

Second order and Total cart > 20.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: No Off-line payments available on WL.

DEV PLK ES

Comments

Status

Image Added

Image Added

Passed

Scenario 29:

Via takeout.

Second order and Total cart > 20.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: All off-lines available on WL.

DEV PLK ES

Comments

Status

Image Added

Image Added

Passed

Scenario 30:

Delivery

Last order: cash and fake order

Second order and Total cart < 10 or any value.

Off-line payment activated on DOP

Off-line payment deactivated on DOP

WL result: No off-line payment methods available on WL.

DEV PLK ES

Comments

Status

image-20241125-192641.pngImage Removed

Image Added

image-20241125-192955.pngImage Removed

Image Added

image-20241125-192925.pngImage Removed

image-20241125-193117.pngImage Removed

Passed

Pendent writing test case scenarios:

Translation on DOP

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

...

Image Added

Passe