update form with new context name

This commit is contained in:
Carsten Otto 2015-04-02 17:00:55 +02:00
parent 556c68c2e6
commit ae4ce272ff
4 changed files with 15 additions and 2 deletions

View file

@ -21,6 +21,13 @@ Feature: Edit a context
Then I should see that a context named "Errands" is not present
And I should see that a context named "OutAndAbout" is present
# Ticket #1796
@javascript
Scenario: I can change the name of the context and it should update the new todo form
When I go to the context page for "@pc"
And I edit the context name in place to be "OutAndAbout"
Then the context field of the new todo form should contain "OutAndAbout"
@javascript
Scenario: Editing the context of a todo will remove the todo
When I go to the the context page for "@pc"
@ -102,4 +109,4 @@ Feature: Edit a context
When I go to the "test" context
And I mark "deferred todo 1" as complete
Then I should see empty message for todos of context
And I should see empty message for deferred todos of context
And I should see empty message for deferred todos of context