migrate tickler, tagging, toggle context and done. This finishes the first migration pass

This commit is contained in:
Reinier Balt 2012-03-12 22:52:45 +01:00
parent 1236b5985c
commit 41ebd2ec9b
12 changed files with 64 additions and 72 deletions

View file

@ -15,7 +15,7 @@ Feature: Tagging todos
When I go to the tag page for "starred"
Then I should see "Currently there are no incomplete actions with the tag 'starred'"
@selenium
@javascript
Scenario: I can remove a tag from a todo from the tag view and the todo will be removed
Given I have a todo "fix tests" in context "@pc" with tags "now"
When I go to the tag page for "now"
@ -23,19 +23,19 @@ Feature: Tagging todos
When I edit the tags of "fix tests" to "later"
Then I should not see "fix tests"
@selenium
@javascript
Scenario: I can add a new todo from tag view with that tag and it will be added to the page
When I go to the tag page for "tracks"
And I submit a new action with description "prepare release" and the tags "tracks, release" in the context "@pc"
Then I should see "prepare release" in the context container for "@pc"
@selenium
@javascript
Scenario: I can add a new todo from tag view with a different tag and it will not be added to the page
When I go to the tag page for "tracks"
And I submit a new action with description "prepare release" and the tags "release, next" in the context "@pc"
Then I should not see "prepare release"
@selenium
@javascript
Scenario: I can move a tagged todo in tag view to a hidden project and it will move the todo on the page to the hidden container
Given I have a hidden project called "secret"
When I go to the tag page for "tracks"
@ -45,7 +45,7 @@ Feature: Tagging todos
Then I should not see "prepare release" in the context container for "@pc"
And I should see "prepare release" in the hidden container
@selenium
@javascript
Scenario: I can move a tagged todo in tag view to a hidden context and it will move the todo on the page to the hidden container
Given I have a hidden context called "@secret"
When I go to the tag page for "tracks"
@ -55,7 +55,7 @@ Feature: Tagging todos
Then I should not see "prepare release" in the context container for "@pc"
Then I should see "prepare release" in the hidden container
@selenium
@javascript
Scenario: Completing the last todo from the tag view will show the empty message
Given I have a todo "migrate old scripts" in context "@pc" with tags "starred"
When I go to the tag page for "starred"
@ -64,7 +64,7 @@ Feature: Tagging todos
Then I should not see the context container for "@pc"
And I should see "Currently there are no incomplete actions with the tag 'starred'"
@selenium
@javascript
Scenario: Setting default tags for a project will prefill new todo form for that project
When I go to the "hacking tracks" project
Then the tag field in the new todo form should be empty
@ -77,7 +77,7 @@ Feature: Tagging todos
When I submit a new action with description "are my tags prefilled"
Then the tags of "are my tags prefilled" should be "tests"
@selenium
@javascript
Scenario: If there are todos for a tag, when viewing the tag's page, the Tags field for new todos should be defaulted to that tag
Given I have a todo "migrate old scripts" in context "@pc" with tags "starred"
When I go to the tag page for "starred"