milestones.feature 1.16 KB
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
@project_issues
2
Feature: Project Issues Milestones
3
  Background:
4
    Given I sign in as a user
5 6
    And I own project "Shop"
    And project "Shop" has milestone "v2.2"
7
    Given I visit project "Shop" milestones page
8 9 10 11 12 13 14 15

  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"

16 17
  @javascript
  Scenario: I create and delete new milestone
18 19 20
    Given I click link "New Milestone"
    And I submit new milestone "v2.3"
    Then I should see milestone "v2.3"
21 22 23
    Given I click link to remove milestone
    When I visit project "Shop" activity page
    Then I should see deleted milestone activity
24

25
  Scenario: I delete new milestone
26
    Given I click link to remove milestone
27 28
    And I should see no milestones

29 30 31 32 33
  @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
34 35 36 37 38 39

  # Markdown

  Scenario: Headers inside the description should have ids generated for them.
    Given I click link "v2.2"
    Then Header "Description header" should have correct id and link