From b37dcdf76723989a8221a3469940fe0ec39d720e Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 19 Mar 2012 20:27:07 +0100 Subject: [PATCH] add scenario for #1240 --- features/shared_add_new_todo.feature | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/features/shared_add_new_todo.feature b/features/shared_add_new_todo.feature index bd1cfcd7..0c11cfd6 100644 --- a/features/shared_add_new_todo.feature +++ b/features/shared_add_new_todo.feature @@ -207,7 +207,7 @@ Feature: Add new next action from every page Then I should see "a new todo" And I should not see "Currently there are no incomplete actions with the tag 'bla'" - @javascript + @javascript @wip Scenario: Adding a dependency to a todo updated the successor When I go to the "test project" project Then I should see "todo 1" @@ -216,6 +216,14 @@ Feature: Add new next action from every page When I expand the dependencies of "todo 1" Then I should see "a new todo" within the dependencies of "todo 1" And I should not see empty message for deferred todos of project + + @javascript @wip + Scenario: Adding a dependency to a todo in another project + Given I have a project "another project" + When I go to the "another project" project + And I submit a new action with description "a new todo" with a dependency on "todo 1" + Then I should not see "a new todo" in the project container of "another project" + And I should not see empty message for deferred todos of project @javascript Scenario: I can add multiple todos in a new project and a new context