mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[ShippingMethod][Behat] validate translations with unexisting locales
This commit is contained in:
parent
9e96419ba8
commit
56cc9e8979
2 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,15 @@ Feature: Shipping method validation
|
|||
And the store is available in "English (United States)"
|
||||
And I am logged in as an administrator
|
||||
|
||||
|
||||
@no-ui @api
|
||||
Scenario: Trying to add shipping method translation in unexisting locale
|
||||
When I want to create a new shipping method
|
||||
And I specify its code as "UPS"
|
||||
And I name it "Transporteur UPS" 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 shipping method without specifying its code
|
||||
When I want to create a new shipping method
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ default:
|
|||
- sylius.behat.context.api.admin.managing_shipping_methods
|
||||
- sylius.behat.context.api.admin.response
|
||||
- sylius.behat.context.api.admin.save
|
||||
- sylius.behat.context.api.admin.translation
|
||||
|
||||
filters:
|
||||
tags: "@managing_shipping_methods&&@api"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue