2010-02-12 12:35:19 +01:00
|
|
|
Feature: Manage a project
|
|
|
|
|
|
|
|
|
|
In order to reach a goal by doing several related todos
|
|
|
|
|
As a Tracks user
|
|
|
|
|
I want to manage these todos in a project
|
|
|
|
|
|
|
|
|
|
Background:
|
|
|
|
|
Given the following user record
|
|
|
|
|
| login | password | is_admin |
|
|
|
|
|
| testuser | secret | false |
|
|
|
|
|
And I have logged in as "testuser" with password "secret"
|
|
|
|
|
And there exists a project "manage me" for user "testuser"
|
|
|
|
|
|
2010-07-30 21:41:52 +02:00
|
|
|
@selenium
|
2010-02-12 12:35:19 +01:00
|
|
|
Scenario: I can describe the project using markup
|
|
|
|
|
When I visit the "manage me" project
|
|
|
|
|
And I edit the project description to "_successfull outcome_: project is *done*"
|
2010-03-24 20:45:59 +01:00
|
|
|
Then I should see the italic text "successfull outcome" in the project description
|
2010-07-04 20:13:32 -07:00
|
|
|
And I should see the bold text "done" in the project description
|
|
|
|
|
|
|
|
|
|
# Ticket #1043
|
|
|
|
|
@selenium
|
|
|
|
|
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"
|
2010-07-05 08:24:58 -07:00
|
|
|
|
|
|
|
|
# Ticket #1041
|
|
|
|
|
@selenium
|
|
|
|
|
Scenario: I can change the name of the project using the Edit Project Settings form
|
|
|
|
|
Given I have a project "bananas" with 1 todos
|
|
|
|
|
When I visit the "bananas" project
|
|
|
|
|
And I edit the project name to "cherries"
|
|
|
|
|
Then the project title should be "cherries"
|