[Test Cases] Allow Payment methods by DOP
- 1 DOP
- 1.1 Scenario 1: As a user, I should see the new Edit Payment Method form on the Payment method edit page
- 1.2 Scenario 2: As a user I should see the elements on the Edit Payment Method form
- 1.3 Scenario 3: As a user I should see the default value as null on all the active/inactive payment methods listed
- 1.4 Scenario 4: As a user I want to activate a payment method for one restaurant
- 1.5 Scenario 5: As a user I want to activate two or more payment methods for one restaurant
- 1.6 Scenario 6: As a user I want to inactivate a payment method for one restaurant
- 1.7 Scenario 7: As a user I want to inactivate two or more payment methods for one restaurant
- 1.8 Scenario 8: As a user I want to activate a payment method and inactivate another one for one restaurant
- 1.9 Scenario 9: As a user I want to activate a payment method for a restaurant group
- 1.10 Scenario 10: As a user I want to activate a payment method for a large amount of restaurants
- 1.11 Scenario 11: As a user I want to activate a payment method and inactivate another one for a large amount of restaurants
- 1.12 Scenario 12: As a user I should see the new active/inactive controls on the Cash limitation forms
- 1.13 Scenario 13: As a user I should see the new active/inactive controls on the Cash limitation forms as null
- 1.14 Scenario 14: As a user I should see the new active/inactive controls on the Cash limitation forms as active
- 1.15 Scenario 15: As a user I should see the new active/inactive controls on the Cash limitation forms as inactive
- 1.16 Scenario 16: As a user I should be able to edit the cash limitation information
- 2 Sanity
- 2.1 Scenario 1: As a user, I should see a new section to visualize the active and inactive payment methods - null
- 2.2 Scenario 2: As a user, I should see a new section to visualize the active and inactive payment methods - active
- 2.3 Scenario 3: As a user, I should see a new section to visualize the active and inactive payment methods - inactive
- 3 Whitelabel
- 3.1 Scenario 1: As a user I do NOT want to see the payment methods that are null for a restaurant on WL
- 3.2 Scenario 2: As a user I want to see the payment methods that are activated for a restaurant on WL
- 3.3 Scenario 3: As a user I do NOT want to see the payment methods that are inactivated for a restaurant on WL
- 3.4 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
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