mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
21 lines
753 B
Gherkin
21 lines
753 B
Gherkin
|
|
Feature: Edit a context
|
||
|
|
In order to work on todos in a context
|
||
|
|
As a Tracks user
|
||
|
|
I want to manage todos in a context
|
||
|
|
|
||
|
|
Background:
|
||
|
|
Given the following user record
|
||
|
|
| login | password | is_admin |
|
||
|
|
| testuser | secret | false |
|
||
|
|
And I have logged in as "testuser" with password "secret"
|
||
|
|
|
||
|
|
@selenium
|
||
|
|
Scenario: In place edit of context name
|
||
|
|
Given I have a context called "Errands"
|
||
|
|
When I visit the context page for "Errands"
|
||
|
|
And I edit the context name in place to be "OutAndAbout"
|
||
|
|
Then I should see the context name is "OutAndAbout"
|
||
|
|
When I go to the contexts page
|
||
|
|
Then he should see that a context named "Errands" is not present
|
||
|
|
And he should see that a context named "OutAndAbout" is present
|