forked from backlogs/redmine_backlogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshared-versions-positioning.feature
202 lines (192 loc) · 10.8 KB
/
shared-versions-positioning.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
Feature: Chief Product Owner story ordering
As a product owner
I want to delegate story management to sub project owners
So that they can priorize the subproject but have minimal impact on the overall ordering
Background:
Given the ecookbook project has the backlogs plugin enabled
And the subproject1 project has the backlogs plugin enabled
And sharing is enabled
And I have selected the ecookbook project
And no versions or issues exist
And I am a product owner of the project
And I have defined the following stories in the product backlog:
| subject | project_id |
| Story 1 | ecookbook |
| Story 2 | ecookbook |
| Story 6 | subproject1 |
| Story 7 | subproject1 |
| Story 3 | ecookbook |
| Story 4 | ecookbook |
| Story 5 | ecookbook |
| Story 8 | subproject1 |
| Story 9 | subproject1 |
And I have defined the following sprints:
| name | sprint_start_date | effective_date | sharing | project_id |
| Sp001 | 2010-01-01 | 2010-01-31 | descendants | ecookbook |
And I have defined the following stories in the following sprints:
| subject | sprint | project_id |
| Story A | Sp001 | ecookbook |
| Story B | Sp001 | subproject1 |
@optional
Scenario: View the toplevel product backlog
Given I am viewing the master backlog
Then I should see the product backlog
And I should see 9 stories in the product backlog
And I should see 1 sprint backlogs
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 6
And the 4th story in the product backlog should be Story 7
And the 5th story in the product backlog should be Story 3
And the 6th story in the product backlog should be Story 4
And the 7th story in the product backlog should be Story 5
And the 8th story in the product backlog should be Story 8
And the 9th story in the product backlog should be Story 9
@optional
Scenario: View the sub product backlog
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
And I should see 4 stories in the product backlog
And I should see 1 sprint backlogs
And the 1st story in the product backlog should be Story 6
And the 2nd story in the product backlog should be Story 7
And the 3rd story in the product backlog should be Story 8
And the 4th story in the product backlog should be Story 9
Scenario: Move story 7 in subproject to 3rd pos and expect 7 to be before 9 and after 8
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 2nd story to the 3rd position
Then the 1st story in the product backlog should be Story 6
And the 2nd story in the product backlog should be Story 8
And the 3rd story in the product backlog should be Story 7
And the 4th story in the product backlog should be Story 9
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 6
And the 4th story in the product backlog should be Story 3
And the 5th story in the product backlog should be Story 4
And the 6th story in the product backlog should be Story 5
And the 7th story in the product backlog should be Story 8
And the 8th story in the product backlog should be Story 7
And the 9th story in the product backlog should be Story 9
@optional
Scenario: Move story 6 in subproject to 2nd pos and expect 6 to be after 5 and before 8
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 1st story to the 2nd position
Then the 1st story in the product backlog should be Story 7
And the 2nd story in the product backlog should be Story 6
And the 3rd story in the product backlog should be Story 8
And the 4th story in the product backlog should be Story 9
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 7
And the 4th story in the product backlog should be Story 3
And the 5th story in the product backlog should be Story 4
And the 6th story in the product backlog should be Story 5
And the 7th story in the product backlog should be Story 6
And the 8th story in the product backlog should be Story 8
And the 9th story in the product backlog should be Story 9
Scenario: Move story 7 in subproject to the top and expect 7 to be after 2 and before 6
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 2nd story to the 1st position
Then the 1st story in the product backlog should be Story 7
And the 2nd story in the product backlog should be Story 6
And the 3rd story in the product backlog should be Story 8
And the 4th story in the product backlog should be Story 9
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 7
And the 4th story in the product backlog should be Story 6
And the 5th story in the product backlog should be Story 3
And the 6th story in the product backlog should be Story 4
And the 7th story in the product backlog should be Story 5
And the 8th story in the product backlog should be Story 8
And the 9th story in the product backlog should be Story 9
@optional
Scenario: Move story 8 in subproject to 2nd pos and expect 8 to be after 6 and before 7
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 3rd story to the 2nd position
Then the 1st story in the product backlog should be Story 6
And the 2nd story in the product backlog should be Story 8
And the 3rd story in the product backlog should be Story 7
And the 4th story in the product backlog should be Story 9
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 6
And the 4th story in the product backlog should be Story 8
And the 5th story in the product backlog should be Story 7
And the 6th story in the product backlog should be Story 3
And the 7th story in the product backlog should be Story 4
And the 8th story in the product backlog should be Story 5
And the 9th story in the product backlog should be Story 9
@optional
Scenario: Move story 9 in subproject to 3rd pos and expect 9 to be after 5 and before 8
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 4th story to the 3rd position
Then the 1st story in the product backlog should be Story 6
And the 2nd story in the product backlog should be Story 7
And the 3rd story in the product backlog should be Story 9
And the 4th story in the product backlog should be Story 8
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 6
And the 4th story in the product backlog should be Story 7
And the 5th story in the product backlog should be Story 3
And the 6th story in the product backlog should be Story 4
And the 7th story in the product backlog should be Story 5
And the 8th story in the product backlog should be Story 9
And the 9th story in the product backlog should be Story 8
@optional
Scenario: Move story 7 in subproject to the bottom and expect 7 to be after 9
Given I have selected the subproject1 project
And I am viewing the master backlog
Then I should see the product backlog
When I move the 2nd story to the 4th position
Then the 1st story in the product backlog should be Story 6
And the 2nd story in the product backlog should be Story 8
And the 3rd story in the product backlog should be Story 9
And the 4th story in the product backlog should be Story 7
Given I have selected the ecookbook project
And I am viewing the master backlog
Then I should see the product backlog
And the 1st story in the product backlog should be Story 1
And the 2nd story in the product backlog should be Story 2
And the 3rd story in the product backlog should be Story 6
And the 4th story in the product backlog should be Story 3
And the 5th story in the product backlog should be Story 4
And the 6th story in the product backlog should be Story 5
And the 7th story in the product backlog should be Story 8
And the 8th story in the product backlog should be Story 9
And the 9th story in the product backlog should be Story 7
# Scenario: Create new story in subproject and expect it to be before the first of subproject but after all others which where before already
# Scenario: Move a story from a sprint back to the subproject backlog at the top
# Scenario: Move a story from a sprint back to the subproject backlog at the 2nd position
# Scenario: Move a story from a sprint back to the subproject backlog at the 3rd position
# Scenario: Move a story from a sprint back to the subproject backlog at the bottom
# Scenario: Create a new story in subproject when new stories default to top and expect it before 6 and after 2
# Scenario: Create a new story in subproject when new stories default to bottom and expect after 9