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 |
---|---|---|
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 |
DEV PLK ES | Comments | Status |
---|---|---|
Passed | ||
Passed |
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 |
---|---|---|
We used the restaurant number 2222. 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 |
---|---|---|
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 |
---|---|---|
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 |
---|---|---|
| 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 |
---|---|---|
| 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 |
---|---|---|
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 |
---|---|---|
Passed |
Pendent writing test case scenarios:
Translation on DOP
Add Comment