2012-09-10 14:34:01 +02:00
|
|
|
Feature: Project Milestones
|
2012-08-03 18:39:54 +02:00
|
|
|
Background:
|
2012-09-10 14:34:01 +02:00
|
|
|
Given I sign in as a user
|
2012-08-03 18:39:54 +02:00
|
|
|
And I own project "Shop"
|
|
|
|
And project "Shop" has milestone "v2.2"
|
2012-09-10 14:34:01 +02:00
|
|
|
Given I visit project "Shop" milestones page
|
2012-08-03 18:39:54 +02:00
|
|
|
|
|
|
|
Scenario: I should see active milestones
|
|
|
|
Then I should see milestone "v2.2"
|
|
|
|
|
|
|
|
Scenario: I should see milestone
|
|
|
|
Given I click link "v2.2"
|
|
|
|
Then I should see milestone "v2.2"
|
|
|
|
|
|
|
|
Scenario: I create new milestone
|
|
|
|
Given I click link "New Milestone"
|
|
|
|
And I submit new milestone "v2.3"
|
|
|
|
Then I should see milestone "v2.3"
|
2012-10-10 19:06:54 +02:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Listing closed issues
|
|
|
|
Given the milestone has open and closed issues
|
|
|
|
And I click link "v2.2"
|
|
|
|
Then I should see 3 issues
|
|
|
|
When I click link "All Issues"
|
|
|
|
Then I should see 4 issues
|