mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 08:18:50 +01:00
fix #990 by moving rsel scripts to cucumber and removing selenium-on-rails plugin
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
4927f39594
commit
d9db33bc0d
194 changed files with 75 additions and 48324 deletions
|
|
@ -41,6 +41,24 @@ Feature: Edit a project
|
|||
And I edit the project name to "cherries"
|
||||
Then the project title should be "cherries"
|
||||
|
||||
@selenium @wip
|
||||
Scenario: I can change the name of the project and it should update the new todo form
|
||||
Given I have a project "bananas" with 1 todos
|
||||
When I go to the "bananas" project
|
||||
And I edit the project name to "cherries"
|
||||
Then the project title should be "cherries"
|
||||
And the project field of the new todo form should contain "cherries"
|
||||
|
||||
@selenium @wip
|
||||
Scenario: I can change the default context of the project and it should update the new todo form
|
||||
Given I have a project "bananas" with 1 todos
|
||||
When I go to the "bananas" project
|
||||
And I edit the default context to "@pc"
|
||||
Then the default context of the new todo form should be "@pc"
|
||||
# the default context should be prefilled ater submitting a new todo
|
||||
When I submit a new action with description "test"
|
||||
Then the default context of the new todo form should be "@pc"
|
||||
|
||||
# Ticket #1042
|
||||
@selenium
|
||||
Scenario: I cannot change the name of a project in the project view to the name of another existing project
|
||||
|
|
@ -92,21 +110,29 @@ Feature: Edit a project
|
|||
When I cancel the project edit form
|
||||
Then I should see "This project is active with no default context and with no default tags"
|
||||
|
||||
@selenium
|
||||
Scenario: Moving the todo to the tickler will move todo to tickler container
|
||||
@selenium @wip
|
||||
Scenario: Moving the todo to the tickler will move todo to tickler container and update empty messages
|
||||
Given I have a project "test" with 1 todos
|
||||
When I go to the "test" project
|
||||
Then I should see "todo 1" in the action container
|
||||
And I should see "Currently there are no deferred actions in this project"
|
||||
And I should not see "Currently there are no incomplete actions in this project"
|
||||
When I defer "todo 1" for 1 day
|
||||
Then I should see "todo 1" in the deferred container
|
||||
And I should not see "Currently there are no deferred actions in this project"
|
||||
And I should see "Currently there are no incomplete actions in this project"
|
||||
|
||||
@selenium
|
||||
Scenario: Moving the todo out of the tickler will move todo to active container
|
||||
Given I have a project "test" with 1 todos
|
||||
@selenium @wip
|
||||
Scenario: Moving the todo out of the tickler will move todo to active container and update empty messages
|
||||
Given I have a project "test" with 1 deferred todos
|
||||
When I go to the "test" project
|
||||
Then I should see "todo 1" in the action container
|
||||
When I defer "todo 1" for 1 day
|
||||
Then I should see "todo 1" in the deferred container
|
||||
And I should see "Currently there are no incomplete actions in this project"
|
||||
And I should not see "Currently there are no deferred actions in this project"
|
||||
When I defer "todo 1" for 1 day
|
||||
Then I should see "todo 1" in the active container
|
||||
And I should see "Currently there are no deferred actions in this project"
|
||||
And I should not see "Currently there are no incomplete actions in this project"
|
||||
|
||||
@selenium
|
||||
Scenario: Making all todos inactive will show empty message
|
||||
|
|
@ -115,6 +141,13 @@ Feature: Edit a project
|
|||
And I mark "todo 1" as complete
|
||||
Then I should see "Currently there are no incomplete actions in this project"
|
||||
|
||||
@selenium @wip
|
||||
Scenario: Making all deferred todos inactive will show empty message
|
||||
Given I have a project "test" with 1 deferred todos
|
||||
When I go to the "test" project
|
||||
And I mark "todo 1" as complete
|
||||
Then I should see "Currently there are no incomplete actions in this project"
|
||||
|
||||
# Ticket #1043
|
||||
@selenium
|
||||
Scenario: I can move a todo out of the current project
|
||||
|
|
|
|||
|
|
@ -11,6 +11,11 @@ Feature: Tagging todos
|
|||
And I have a context called "@pc"
|
||||
And I have a project called "hacking tracks"
|
||||
|
||||
@wip
|
||||
Scenario: If there are no todos with a tag, the tag page should show an empty message
|
||||
When I go to the tag page for "starred"
|
||||
Then I should see "Currently there are no incomplete actions with the tag 'starred'"
|
||||
|
||||
@selenium
|
||||
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"
|
||||
|
|
@ -49,4 +54,26 @@ Feature: Tagging todos
|
|||
Then I should see "prepare release" in the context container for "@pc"
|
||||
When I edit the context of "prepare release" to "@secret"
|
||||
Then I should not see "prepare release" in the context container for "@pc"
|
||||
Then I should see "prepare release" in the hidden container
|
||||
Then I should see "prepare release" in the hidden container
|
||||
|
||||
@selenium @wip
|
||||
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"
|
||||
Then I should see "migrate old scripts" in the context container for "@pc"
|
||||
When I mark "migrate old scripts" as complete
|
||||
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 @wip
|
||||
Scenario: Setting default tags for a project will prefill new todo form for that project
|
||||
When I go to the project page for "hacking tracks"
|
||||
Then the tag field in the new todo form should be empty
|
||||
And I edit the default tags to "tests"
|
||||
Then the tag field in the new todo form should be "tests"
|
||||
# also the tag field should be prefilled after reload
|
||||
When I go to the project page for "hacking tracks"
|
||||
Then the tag field in the new todo form shoudl be "tests"
|
||||
# and the tag field should be prefilled after submitting a new todo
|
||||
When I submit a new action with description "are my tags prefilled"
|
||||
Then the tags of "are my tags prefilled" should be "tests"
|
||||
Loading…
Add table
Add a link
Reference in a new issue