mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-29 04:06:11 +01:00
fix regression for editing project settings from project page
This commit is contained in:
parent
0012a56ecb
commit
2aef2b5622
7 changed files with 20 additions and 12 deletions
|
|
@ -12,7 +12,7 @@ Feature: Edit a context
|
|||
And I have a project called "test project"
|
||||
And I have 2 todos in project "test project" in context "@pc" with tags "starred" prefixed by "test_project "
|
||||
|
||||
@javascript @wip
|
||||
@javascript
|
||||
Scenario: In place edit of context name
|
||||
Given I have a context called "Errands"
|
||||
When I go to the context page for "Errands"
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ Feature: dependencies
|
|||
When I mark "test 1" as complete
|
||||
And I should see "test 1" in the completed container
|
||||
And I should see that "test 2" does not have dependencies
|
||||
When I mark the complete todo "test 1" active
|
||||
When I mark the completed todo "test 1" active
|
||||
Then I should not see "test 1" in the completed container
|
||||
And I should see "test 1" in the deferred container
|
||||
And I should see "test 1" within the dependencies of "test 2"
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ Feature: Edit a next action from every page
|
|||
Then I should see empty message for todos of <page type>
|
||||
And I should not see the container for context "visible context"
|
||||
And I should not see empty message for completed todos of <page type>
|
||||
When I mark the complete todo "visible todo" active
|
||||
When I mark the completed todo "visible todo" active
|
||||
Then I should see the container for context "visible context"
|
||||
And I should see empty message for completed todos of <page type>
|
||||
And I should see "visible todo" in the context container for "visible context"
|
||||
|
|
@ -133,7 +133,7 @@ Feature: Edit a next action from every page
|
|||
When I go to the <page>
|
||||
Then I should see empty message for todos of <page type>
|
||||
And I should not see empty message for completed todos of <page type>
|
||||
When I mark the complete todo "visible todo" active
|
||||
When I mark the completed todo "visible todo" active
|
||||
And I should see empty message for completed todos of <page type>
|
||||
And I should not see empty message for todos of <page type>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,10 @@ When /^I mark "([^"]*)" as uncompleted$/ do |action_description|
|
|||
wait_for_ajax
|
||||
end
|
||||
|
||||
When /^I mark the complete todo "([^"]*)" active$/ do |action_description|
|
||||
When /^I mark the completed todo "([^"]*)" active$/ do |action_description|
|
||||
step "I mark \"#{action_description}\" as uncompleted"
|
||||
wait_for_ajax
|
||||
wait_for_animations_to_end
|
||||
end
|
||||
|
||||
####### (UN)STARRING #######
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ Feature: Show done
|
|||
Scenario Outline: I can toggle a todo active from the done pages
|
||||
When I go to the <page>
|
||||
Then I should see "todo 1"
|
||||
When I mark the complete todo "todo 1" active
|
||||
When I mark the completed todo "todo 1" active
|
||||
Then I should not see "todo 1"
|
||||
When I go to the <next page>
|
||||
Then I should see "todo 1" <where>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue