kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
6.9 KiB
172 lines
6.9 KiB
11 years ago
|
#-- copyright
|
||
|
# OpenProject Backlogs Plugin
|
||
|
#
|
||
11 years ago
|
# Copyright (C)2013-2014 the OpenProject Foundation (OPF)
|
||
11 years ago
|
# Copyright (C)2011 Stephan Eckardt, Tim Felgentreff, Marnen Laibow-Koser, Sandro Munda
|
||
|
# Copyright (C)2010-2011 friflaj
|
||
|
# Copyright (C)2010 Maxime Guilbot, Andrew Vit, Joakim Kolsjö, ibussieres, Daniel Passos, Jason Vasquez, jpic, Emiliano Heyns
|
||
|
# Copyright (C)2009-2010 Mark Maglana
|
||
|
# Copyright (C)2009 Joe Heck, Nate Lowrie
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify it under
|
||
|
# the terms of the GNU General Public License version 3.
|
||
|
#
|
||
|
# OpenProject Backlogs is a derivative work based on ChiliProject Backlogs.
|
||
|
# The copyright follows:
|
||
|
# Copyright (C) 2010-2011 - Emiliano Heyns, Mark Maglana, friflaj
|
||
|
# Copyright (C) 2011 - Jens Ulferts, Gregor Schmidt - Finn GmbH - Berlin, Germany
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or
|
||
|
# modify it under the terms of the GNU General Public License
|
||
|
# as published by the Free Software Foundation; either version 2
|
||
|
# of the License, or (at your option) any later version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License
|
||
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
#
|
||
|
# See doc/COPYRIGHT.rdoc for more details.
|
||
|
#++
|
||
|
|
||
14 years ago
|
Feature: Team Member
|
||
|
As a team member
|
||
|
I want to manage update stories and tasks
|
||
|
So that I can update everyone on the status of the project
|
||
|
|
||
|
Background:
|
||
14 years ago
|
Given there is 1 project with:
|
||
|
| name | ecookbook |
|
||
14 years ago
|
And I am working in project "ecookbook"
|
||
|
And the project uses the following modules:
|
||
14 years ago
|
| backlogs |
|
||
11 years ago
|
And the following types are configured to track stories:
|
||
14 years ago
|
| Story |
|
||
|
| Epic |
|
||
11 years ago
|
And the type "Task" is configured to track tasks
|
||
|
And the project uses the following types:
|
||
14 years ago
|
| Story |
|
||
|
| Task |
|
||
11 years ago
|
And there is a default status with:
|
||
12 years ago
|
| name | new |
|
||
|
And there is a default issuepriority with:
|
||
|
| name | Normal |
|
||
14 years ago
|
And there is 1 user with:
|
||
14 years ago
|
| login | paul |
|
||
14 years ago
|
And there is a role "team member"
|
||
|
And the role "team member" may have the following rights:
|
||
14 years ago
|
| view_master_backlog |
|
||
|
| view_taskboards |
|
||
12 years ago
|
| view_work_packages |
|
||
|
| edit_work_packages |
|
||
14 years ago
|
| manage_subtasks |
|
||
7 years ago
|
| add_work_packages |
|
||
14 years ago
|
And the user "paul" is a "team member"
|
||
14 years ago
|
And the project has the following sprints:
|
||
14 years ago
|
| name | start_date | effective_date |
|
||
11 years ago
|
| Sprint 001 | 2010-01-01 | 2010-01-31 |
|
||
|
| Sprint 002 | 2010-02-01 | 2010-02-28 |
|
||
|
| Sprint 003 | 2010-03-01 | 2010-03-31 |
|
||
|
| Sprint 004 | 2010-03-01 | 2010-03-31 |
|
||
14 years ago
|
And the project has the following stories in the following sprints:
|
||
13 years ago
|
| subject | sprint |
|
||
|
| Story 1 | Sprint 001 |
|
||
|
| Story 2 | Sprint 001 |
|
||
|
| Story 3 | Sprint 001 |
|
||
|
| Story 4 | Sprint 002 |
|
||
14 years ago
|
And the project has the following tasks:
|
||
14 years ago
|
| subject | parent |
|
||
|
| Task 1 | Story 1 |
|
||
14 years ago
|
And the project has the following impediments:
|
||
14 years ago
|
| subject | sprint | blocks |
|
||
|
| Impediment 1 | Sprint 001 | Story 1 |
|
||
14 years ago
|
| Impediment 2 | Sprint 001 | Story 2 |
|
||
13 years ago
|
And I am already logged in as "paul"
|
||
14 years ago
|
|
||
14 years ago
|
Scenario: Create a task for a story
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
And I want to create a task for Story 1
|
||
|
And I set the subject of the task to A Whole New Task
|
||
|
When I create the task
|
||
14 years ago
|
Then the request should complete successfully
|
||
|
And the 1st task for Story 1 should be A Whole New Task
|
||
14 years ago
|
|
||
14 years ago
|
Scenario: Update a task for a story
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
And I want to edit the task named Task 1
|
||
|
And I set the subject of the task to Whoa there, Sparky
|
||
|
When I update the task
|
||
|
Then the request should complete successfully
|
||
|
And the story named Story 1 should have 1 task named Whoa there, Sparky
|
||
|
|
||
14 years ago
|
Scenario: View a taskboard
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
Then I should see the taskboard
|
||
|
|
||
14 years ago
|
@javascript
|
||
14 years ago
|
Scenario: View the burndown chart from the backlogs dashboard
|
||
14 years ago
|
Given I am on the master backlog
|
||
|
And I open the "Sprint 002" backlogs menu
|
||
7 years ago
|
Then I should see "Burndown Chart"
|
||
14 years ago
|
|
||
14 years ago
|
@javascript
|
||
|
Scenario: View the burndown chart from the taskboard
|
||
|
Given I am on the taskboard for "Sprint 002"
|
||
7 years ago
|
Then I should see "Burndown Chart"
|
||
14 years ago
|
|
||
11 years ago
|
@javascript
|
||
11 years ago
|
Scenario: View sprint stories in the work_packages tab
|
||
14 years ago
|
Given I am on the master backlog
|
||
11 years ago
|
When I view the stories of Sprint 001 in the work_packages tab
|
||
10 years ago
|
Then I should be on the work packages index page of the project called "ecookbook"
|
||
10 years ago
|
When I press "Filter"
|
||
9 years ago
|
Then I should see "Sprint 001" within "#values-version"
|
||
14 years ago
|
|
||
11 years ago
|
@javascript
|
||
11 years ago
|
Scenario: View the project stories in the work_packages tab
|
||
14 years ago
|
Given I am on the master backlog
|
||
11 years ago
|
When I view the stories in the work_packages tab
|
||
10 years ago
|
Then I should be on the work packages index page of the project called "ecookbook"
|
||
10 years ago
|
When I press "Filter"
|
||
10 years ago
|
Then I should see "Version" within "#filters"
|
||
14 years ago
|
|
||
14 years ago
|
Scenario: Copy estimate to remaining
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
And I want to create a task for Story 1
|
||
|
And I set the subject of the task to A Whole New Task
|
||
|
And I set the estimated_hours of the task to 3
|
||
|
When I create the task
|
||
|
Then the request should complete successfully
|
||
|
And task A Whole New Task should have remaining_hours set to 3
|
||
|
|
||
|
Scenario: Copy remaining to estimate
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
And I want to create a task for Story 1
|
||
|
And I set the subject of the task to A Whole New Task
|
||
|
And I set the remaining_hours of the task to 3
|
||
|
When I create the task
|
||
|
Then the request should complete successfully
|
||
|
And task A Whole New Task should have estimated_hours set to 3
|
||
|
|
||
|
Scenario: Set both estimate and remaining
|
||
14 years ago
|
Given I am on the taskboard for "Sprint 001"
|
||
14 years ago
|
And I want to create a task for Story 1
|
||
|
And I set the subject of the task to A Whole New Task
|
||
|
And I set the remaining_hours of the task to 3
|
||
|
And I set the estimated_hours of the task to 8
|
||
14 years ago
|
When I create the task
|
||
|
And I want to create a task for Story 1
|
||
|
And I set the subject of the task to A Second New Task
|
||
|
And I set the remaining_hours of the task to 1
|
||
|
And I set the estimated_hours of the task to 2
|
||
14 years ago
|
When I create the task
|
||
|
Then the request should complete successfully
|
||
|
And task A Whole New Task should have remaining_hours set to 3
|
||
|
And task A Whole New Task should have estimated_hours set to 8
|
||
14 years ago
|
And story Story 1 should have remaining_hours set to 4
|
||
|
And story Story 1 should have estimated_hours set to 10
|