Feature: Edit a next action from every page In order to manage a next action As a Tracks user I want to to be able to change the next action from every page Background: Given the following user record | login | password | is_admin | | testuser | secret | false | And I have logged in as "testuser" with password "secret" Scenario: I can toggle the star of a todo Given this is a pending scenario Scenario: I can delete a todo Given this is a pending scenario Scenario: Removing the last todo in context will hide context # delete, edit Given this is a pending scenario Scenario: Deleting the last todo in container will show empty message # only project, context, tag, not todo Given this is a pending scenario @selenium @wip Scenario Outline: I can mark an active todo complete and it will update empty messages When I go to the Then I should see "" When I submit a new action with description "visible todo" to project "visible project" with tags "test" in the context "visible context" Then I should see "visible todo" And I should not see "" When I mark the todo complete Then I should not see "visible context" And I should see "" And I should see "visible todo" in the completed todos container Scenarios: | page | empty message | | tag page for "starred" | No actions found | | home page | No actions found | | context page for "visible context" | Currently there are no deferred or pending actions | | project page for "visible project" | Currently there are no deferred or pending actions | @selenium @wip Scenario Outline: I can mark a deferred todo complete and it will update empty messages When I go to the # not for home page because it does not show deferred todos Then I should see "" When I submit a new deferred action with description "visible todo" to project "visible project" with tags "test" in the context "visible context" Then I should see "visible todo" And I should not see "" When I mark the todo complete Then I should not see "visible context" And I should see "" And I should see "visible todo" in the completed todos container Scenarios: | page | empty message | | tag page for "starred" | Currently there are no deferred or pending actions | | context page for "visible context" | Currently there are no deferred or pending actions | | project page for "visible project" | Currently there are no deferred or pending actions | @selenium @wip Scenario: I can mark a deferred todo complete and it will update empty messages Given this is a pending scenario @selenium @wip Scenario Outline: I can mark a completed todo active and it will update empty messages Given I have a completed todo with description "visible todo" to project "visible project" with tags "test" in the context "visible context" When I go to the Then I should see "" And I should not see "visible context" And I should see "" When I mark the complete todo "visible todo" active Then I should see "visible context" And I should see "" And I should see "visible todo" in context container for "visible context" And I should not see "" Scenarios: | page | empty message | | tag page for "starred" | No actions found | | home page | No actions found | | context page for "visible context" | Currently there are no deferred or pending actions | | project page for "visible project" | Currently there are no deferred or pending actions | Scenario: I can edit a todo to change its description # do for more pages, see #1094 Given this is a pending scenario Scenario: I can edit a todo to move it to another context Given this is a pending scenario Scenario: I can edit a todo to move it to another project Given this is a pending scenario Scenario: I can edit a todo to move it to the tickler Given this is a pending scenario Scenario: I can defer a todo Given this is a pending scenario Scenario: I can make a project from a todo Given this is a pending scenario Scenario: I can show the notes of a todo Given this is a pending scenario Scenario: I can tag a todo Given this is a pending scenario Scenario: Clicking a tag of a todo will go to that tag page Given this is a pending scenario 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 is a pending scenario # for home and tickler and tag Scenario: Making an error when editing a todo will show error message Given this is a pending scenario