gitlab-org--gitlab-foss/features/project/issues/labels.feature

26 lines
732 B
Gherkin
Raw Normal View History

Feature: Project Labels
2012-08-24 06:05:40 -04:00
Background:
Given I sign in as a user
2012-08-24 06:05:40 -04:00
And I own project "Shop"
And project "Shop" has labels: "bug", "feature", "enhancement"
Given I visit project "Shop" labels page
2012-08-24 06:05:40 -04:00
Scenario: I should see labels list
2012-08-24 06:05:40 -04:00
Then I should see label "bug"
And I should see label "feature"
Scenario: I create new label
Given I visit new label page
When I submit new label 'support'
Then I should see label 'support'
Scenario: I edit label
Given I visit 'bug' label edit page
When I change label 'bug' to 'fix'
Then I should not see label 'bug'
Then I should see label 'fix'
Scenario: I remove label
When I remove label 'bug'
Then I should not see label 'bug'