mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 03:58:49 +01:00
migrate update for context, project, tickler and calendar
This commit is contained in:
parent
33f68df154
commit
c64e1bcd80
16 changed files with 494 additions and 402 deletions
|
|
@ -18,3 +18,12 @@ Feature: Edit a context
|
|||
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
|
||||
|
||||
Scenario: Editing the context of a todo will remove the todo
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Editing the description of a a todo will update that todo
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Editing the context of the last todo will remove the todo and show empty message
|
||||
Given this scenario is pending
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ Feature: Edit a next action from every page
|
|||
Scenario: I can mark a completed todo active
|
||||
Given this is a pending scenario
|
||||
|
||||
Scenario: I can edit a todo to change its description
|
||||
Given this is a pending scenario
|
||||
|
||||
Scenario: I can edit a todo to move it to another context
|
||||
Given this is a pending scenario
|
||||
|
||||
|
|
@ -53,3 +56,9 @@ Feature: Edit a next action from every page
|
|||
|
||||
Scenario: I can edit the tags of a todo
|
||||
Given this is a pending scenario
|
||||
|
||||
Scenario: Editing the context of a todo to a new context will show new context
|
||||
Given this scenario is pending # for home and tickler and tag
|
||||
|
||||
Scenario: Making an error when editing a todo will show error message
|
||||
Given this scenario is pending
|
||||
|
|
@ -23,15 +23,6 @@ Feature: Edit a project
|
|||
Then I should see the italic text "successfull outcome" in the project description
|
||||
And I should see the bold text "done" in the project description
|
||||
|
||||
# Ticket #1043
|
||||
@selenium @wip
|
||||
Scenario: I can move a todo out of the current project
|
||||
Given I have a project "foo" with 2 todos
|
||||
When I visit the "foo" project
|
||||
And I change the project_name field of "Todo 1" to "bar"
|
||||
Then I should not see the todo "Todo 1"
|
||||
And I should see the todo "Todo 2"
|
||||
|
||||
@selenium
|
||||
Scenario: I can edit the project name in place
|
||||
Given I have a project "release tracks 1.8" with 1 todos
|
||||
|
|
@ -93,3 +84,21 @@ Feature: Edit a project
|
|||
|
||||
Scenario: Cancelling editing a project will restore project settings
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Editing the description of a todo will update todo
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Moving the todo to the tickler will move todo to tickler container
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Moving the todo out of the tickler will move todo to active container
|
||||
Given this scenario is pending
|
||||
|
||||
# Ticket #1043
|
||||
@selenium @wip
|
||||
Scenario: I can move a todo out of the current project
|
||||
Given I have a project "foo" with 2 todos
|
||||
When I visit the "foo" project
|
||||
And I change the project_name field of "Todo 1" to "bar"
|
||||
Then I should not see the todo "Todo 1"
|
||||
And I should see the todo "Todo 2"
|
||||
|
|
|
|||
20
features/tickler.feature.feature
Normal file
20
features/tickler.feature.feature
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Feature: Manage deferred todos
|
||||
In order to hide todos that require attention in the future and not now
|
||||
As a Tracks user
|
||||
I want to defer these and manage them in a tickler
|
||||
|
||||
Background:
|
||||
Given the following user record
|
||||
| login | password | is_admin |
|
||||
| testuser | secret | false |
|
||||
And there exists a project "manage me" for user "testuser"
|
||||
And I have logged in as "testuser" with password "secret"
|
||||
|
||||
Scenario: Editing the description of a todo updated the todo
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Editing the context of a todo moves it to the new context
|
||||
Given this scenario is pending
|
||||
|
||||
Scenario: Removing the show from date from a todo removes it from the tickler
|
||||
Given this scenario is pending
|
||||
Loading…
Add table
Add a link
Reference in a new issue