mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[PaymentMethod][Behat] validate translations with unexisting locales
This commit is contained in:
parent
99dba352d3
commit
ca29b6bfce
2 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,13 @@ Feature: Payment method validation
|
|||
Then I should be notified that code is required
|
||||
And the payment method with name "Paypal Express Checkout" should not be added
|
||||
|
||||
@no-ui @api
|
||||
Scenario: Trying to add a new payment method translation in unexisting language
|
||||
When I want to modify the "Offline" payment method
|
||||
And I name it "Offline" in "French (France)"
|
||||
And I try to save my changes
|
||||
Then I should be notified that the locale is not available
|
||||
|
||||
@ui @api
|
||||
Scenario: Trying to add a new payment method with a too long code
|
||||
When I want to create a new payment method with "Paypal Express Checkout" gateway factory
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ default:
|
|||
- sylius.behat.context.api.admin.save
|
||||
- sylius.behat.context.api.admin.response
|
||||
- Sylius\Behat\Context\Api\Admin\ManagingPaymentMethodsContext
|
||||
- sylius.behat.context.api.admin.translation
|
||||
|
||||
filters:
|
||||
tags: "@managing_payment_methods&&@api"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue