[ShippingMethod][Behat] validate translations with unexisting locales

This commit is contained in:
Kamil Grygierzec 2024-03-26 15:33:02 +01:00
parent 9e96419ba8
commit 56cc9e8979
No known key found for this signature in database
GPG key ID: 7F54EE42DAD4B9E9
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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"