mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
18 lines
702 B
Gherkin
18 lines
702 B
Gherkin
@managing_routes
|
|
Feature: Editing a route
|
|
In order to change route
|
|
As an Administrator
|
|
I want to be able to edit a route
|
|
|
|
Background:
|
|
Given the store has static contents "Krzysztof Krawczyk" and "Ryszard Rynkowski"
|
|
And I am logged in as an administrator
|
|
|
|
@ui
|
|
Scenario: Change title of a route
|
|
Given the store has route "krzysztof-krawczyk" with "Ryszard Rynkowski" as its content
|
|
And I want to edit this route
|
|
When I choose "Krzysztof Krawczyk" as its new content
|
|
And I save my changes
|
|
Then I should be notified that it has been successfully edited
|
|
And this route should have assigned "Krzysztof Krawczyk" content
|