[Test Cases] Allow Payment methods by DOP


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.

 

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 |

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

Sanity

Scenario 1: As a user, I should see a new section to visualize the active and inactive payment methods - null

 

Scenario 2: As a user, I should see a new section to visualize the active and inactive payment methods - active

 

Scenario 3: As a user, I should see a new section to visualize the active and inactive payment methods - inactive

Whitelabel

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

 

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

 

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

 

Scenario 4: As a user I do NOT want to see the payment methods that are activated but the feature flags disabled for a restaurant on WL