mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
33 lines
1.4 KiB
Gherkin
33 lines
1.4 KiB
Gherkin
@managing_shipping_methods
|
|
Feature: Editing shipping method
|
|
In order to change shipping method details
|
|
As an Administrator
|
|
I want to be able to edit a shipping method
|
|
|
|
Background:
|
|
Given the store is available in "English (United States)"
|
|
And the store has a base currency "Euro"
|
|
And there is a zone "EU" containing all members of the European Union
|
|
And the store allows shipping with "UPS Carrier" identified by "UPS_CARRIER"
|
|
And I am logged in as an administrator
|
|
|
|
@todo
|
|
Scenario: Trying to change shipping method code
|
|
Given I want to modify a shipping method "UPS Carrier"
|
|
When I change its code to "UPS"
|
|
And I save my changes
|
|
Then I should be notified that code cannot be changed
|
|
And shipping method "UPS Carrier" should still have code "UPS_CARRIER"
|
|
|
|
@ui
|
|
Scenario: Seeing disabled code field when editing shipping method
|
|
Given I want to modify a shipping method "UPS Carrier"
|
|
Then the code field should be disabled
|
|
|
|
@ui @javascript
|
|
Scenario: Renaming the shipping method
|
|
Given I want to modify a shipping method "UPS Carrier"
|
|
When I rename it to "UPS Transport" in "English (United States)"
|
|
And I save my changes
|
|
Then I should be notified that it has been successfully edited
|
|
And this shipping method name should be "UPS Transport"
|