fixing common feature

pull/6827/head
Gregor Schmidt 14 years ago
parent b058755685
commit 4a1bdce6a5
  1. 23
      features/common.feature
  2. 6
      features/team_member.feature

@ -4,14 +4,31 @@ Feature: Common
So that I can do my job So that I can do my job
Background: Background:
Given the ecookbook project has the backlogs plugin enabled Given there is 1 project with:
And I am a team member of the project | name | ecookbook |
And the project "ecookbook" uses the following modules:
| backlogs |
And the backlogs module is initialized in project "ecookbook"
And there is 1 user with:
| login | jsmith |
And there is a role "team member"
And the role "team member" may have the following rights:
| view_master_backlog |
| view_taskboards |
| create_tasks |
| update_tasks |
| view_issues |
| edit_issues |
| manage_subtasks |
And the user "jsmith" is a "team member" in the Project "ecookbook"
And I am logged in as "jsmith"
And I am working in project "ecookbook"
Scenario: View the product backlog Scenario: View the product backlog
Given I am viewing the master backlog Given I am viewing the master backlog
When I request the server_variables resource When I request the server_variables resource
Then the request should complete successfully Then the request should complete successfully
Scenario: View the product backlog without any stories Scenario: View the product backlog without any stories
Given there are no stories in the project Given there are no stories in the project
When I view the master backlog When I view the master backlog

@ -11,8 +11,8 @@ Feature: Team Member
And the backlogs module is initialized in project "ecookbook" And the backlogs module is initialized in project "ecookbook"
And there is 1 user with: And there is 1 user with:
| login | jsmith | | login | jsmith |
And there is a role "member" And there is a role "team member"
And the role "member" may have the following rights: And the role "team member" may have the following rights:
| view_master_backlog | | view_master_backlog |
| view_taskboards | | view_taskboards |
| create_tasks | | create_tasks |
@ -20,7 +20,7 @@ Feature: Team Member
| view_issues | | view_issues |
| edit_issues | | edit_issues |
| manage_subtasks | | manage_subtasks |
And the user "jsmith" is a "member" in the Project "ecookbook" And the user "jsmith" is a "team member" in the Project "ecookbook"
And the project "ecookbook" has the following sprints: And the project "ecookbook" has the following sprints:
| name | sprint_start_date | effective_date | | name | sprint_start_date | effective_date |
| Sprint 001 | 2010-01-01 | 2010-01-31 | | Sprint 001 | 2010-01-01 | 2010-01-31 |

Loading…
Cancel
Save