summaryrefslogtreecommitdiff
path: root/features/project/milestone.feature
blob: 713f0f3b97965e8651ec63fefbc61a18998a1806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Project Milestone
  Background:
    Given I sign in as a user
    And I own project "Shop"
    And project "Shop" has labels: "bug", "feature", "enhancement"
    And project "Shop" has milestone "v2.2"
    And milestone has issue "Bugfix1" with labels: "bug", "feature"
    And milestone has issue "Bugfix2" with labels: "bug", "enhancement"


  @javascript
  Scenario: Listing issues from issues tab
    Given I visit project "Shop" milestones page
    And I click link "v2.2"
    Then I should see the labels "bug", "enhancement" and "feature"
    And I should see the "bug" label listed only once

  @javascript
  Scenario: Listing labels from labels tab
    Given I visit project "Shop" milestones page
    And I click link "v2.2"
    And I click link "Labels"
    Then I should see the list of labels
    And I should see the labels "bug", "enhancement" and "feature"