Table of Contents | ||
---|---|---|
|
PLK ES
DOP
Scenario 1: As a user, I should see the new Edit Payment Method form on the Payment method edit page
...
breakoutMode | wide |
---|
...
Table of Contents | ||
---|---|---|
|
...
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 | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
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 |Activate or Desactivated Offline the active/inactive payment methods forlisted delivery orders. subtitle| Given I select |Paymenta methodsrestaurant title When I access the Payment method edit page Then I should see the default | |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
...
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
Code Block | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As an user I shouldwant seeto the default value as null on all the active/inactive payment methods listedactivate a payment method for one restaurant Given I select a restaurant WhenAnd I access the Payment method edit page ThenAnd I should see the default value as null on all the active/inactive activate a payment method When I click on save Then I should see the activated payment methods listed on Sanity for that restaurant |
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.
*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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: Sanity Restaurants As an user I want to activate two or more payment methods for one restaurant Scenario: AsGiven anI userselect Ia shouldrestaurant NOT see values about “AllowAnd Payment”I onaccess Sanitythe toPayment amethod newedit restaurantpage GivenAnd I haveactivate accessedtwo aor restaurantmore viapayment Sanitymethod When I accessclick theon metadata informationsave Then I should NOT see values about “Allow Payment”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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As an user I want to activateinactivate a payment method for one restaurant Given I select a restaurant And I access the Payment method edit page And I activateinactivate a payment method When I click on save Then I should see the activatedinactivated payment methods on Sanity for that restaurant |
Staging PLK ES | Comments | Status |
---|
*Two logs are being added to Sanity
Passed | ||
Scenario
...
8: As a user I want to
...
inactivate two or more payment methods for one restaurant
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As an user I want to activateinactivate two or more payment methods for one restaurant Given I select a restaurant And I access the Payment method edit page And I activateinactivate two or more payment method When I click on save Then I should see the activatedinactivated 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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As an user I want to inactivateactivate 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 aanother payment method When I click on save Then I should see the activated payment method on ThenSanity for that restaurant And I should see the inactivated payment methodsmethod 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
Code Block | ||
---|---|---|
| ||
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 moreactivate a payment methodsmethod for onea restaurant group Given I select a restaurant group And I access the Payment method edit page And I inactivateactivate twoa or more payment method When I click on save Then I should see the inactivatedactivated payment methods on Sanity for all the restaurants that restaurant |
...
Staging PLK ES
...
Comments
...
Status
...
Passed
...
are related to the group |
Scenario 11: As a user I want to activate a payment method
...
for a large amount of restaurants
Code Block | ||
---|---|---|
| ||
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 inactivatefor anothera onelarge foramount oneof restaurantrestaurants Given I select a restauranta 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 methodmethods on Sanity for that restaurant And I should seeall the inactivated payment method on Sanity for that restaurant |
...
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 | ||
---|---|---|
| ||
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 restaurant grouplarge amount of restaurants Given I select a large amount restaurantof grouprestaurants 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 methodsmethod on Sanity for all the restaurants that are related to the group |
...
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 | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As ana user I wantshould tosee activatethe anew paymentactive/inactive methodcontrols foron athe largeCash amountlimitation offorms 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 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 | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As a user I should see the activatednew paymentactive/inactive methodscontrols 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 | ||
---|---|---|
| ||
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 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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I selecthave aaccessed largeDOP amountRestaurants ofPage restaurants Scenario: As a Anduser I accessshould see the Paymentnew methodactive/inactive editcontrols pageon the Cash limitation forms 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 restaurantsas active Given I already had a restaurant as active When I access the Payment method edit page AndThen I should see the inactivatednew paymentactive/inactive methodcontrols on Sanitythe Cash forlimitation allforms theas restaurantsactive |
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
Code Block | ||
---|---|---|
| ||
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 selecthad 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
Code Block | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
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 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 accessclick theon Paymentsave method edit page Then I should see the newexisting active/inactive controls onvalues regarding the Cashcash limitation forms as activeon 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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page Scenario: As a user I should seebe theable newto active/inactive controls on edit the Cashcash limitation formsinformation as inactive Given I already hadselect a restaurant as inactive WhenAnd I access the Payment method edit page And I change the cash limitation information When I click on save Then I should see the new active/inactive controls on values regarding the Cashcash limitation on the formsSanity asrestaurant inactive |
...
Staging BK ES
...
Comments
...
Status
...
Passed
...
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 | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
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 As an user I want to see the payment methods that are activated for a restaurant on WL ThenGiven I shouldhave see the existingfollow valuesactivated regardingpayment 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
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurantsmethods for a restaurant |activate-payment-methods| |Cash Given I have accessed DOP| Restaurants Page Scenario: As a|Ticket userRestaurant I should be able to edit the| cash limitation information |Sodexo Given I select a restaurant And I access the Payment method edit page| And I changego to the cash limitationWL informationand select the restaurant that Whenhas Ithe clickactivated onpayment savemethods ThenWhen I shouldgo seeto the valuespayment regardingscreen the cash limitation on theThen SanityI 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 | ||
---|---|---|
| ||
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 nullshould see the activated payment methods available on the dropdown |activate-payment-methods| |Cash Given I| select a delivery address with a restaurant|Ticket thatRestaurant have the “Allow payment method” as null| When I access|Sodexo the payment screen Then I should see all payment methods available to that market| |
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 | ||
---|---|---|
| ||
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 activatedinactivated for a restaurant on WL Given I have the follow activatedinactivated 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 activatedinactivated payment methods When I go to the payment screen Then I should NOT see the activatedinactivated 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 | ||
---|---|---|
| ||
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
...
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
Code Block | ||
---|---|---|
| ||
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 |
---|
Passed
Passed
...
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: As a user I do NOT want to see the off-line payment methods that are
...
diactivated on DOP - First order < cash limitation rule one
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page And I have some off-line payments activated on DOP And I have some off-line payments deactiavated on DOP Scenario: As |
...
a user I do NOT want to see the off-line payment methods that are |
...
disabled on DOP - First order < cash limitation rule one And I go to the WL and select the restaurant that has the payment methods as activated |
...
and |
...
deactivated |
...
When I |
...
go to the payment screen |
...
Then I should NOT see the off-line deactivated 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 that are activated on DOP - First order < cash limitation rule one
Code Block | ||
---|---|---|
| ||
Feature: Allow Payment methods by DOP Background: DOP Restaurants Given I have accessed DOP Restaurants Page And I have thesome Sodexooff-line Voucher Features flags as disabledpayments activated 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 |DOP And I have some off-line payments deactiavated on DOP Scenario: As a user I do NOT want to see the off-line payment methods that are disabled on DOP - First order < cash limitation rule one And I go to the WL and select the restaurant that has the payment methods as activated and deactivated When I go to the payment screen Then I should NOT see the off-line deactivated payment methods available on the dropdown |
DEV PLK ES | Comments | Status |
---|
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
...
Passed |
Scenario 26: 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 - First order >
DEV PLK ES | Comments | Status |
---|---|---|
Passed |
Scenario 26: 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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 NOT want to see the off-line payment methods
...
even if the
...
order value is within the cash limitation rules
DEV PLK ES | Comments | Status |
---|---|---|
Failed |
Pendent writing test case scenarios:
Translation on DOP
Check the Cash limitation existing values after changing the enable/disable buttons
Check priority Launch Darkly FF x Cash Limition x Allow payments