summaryrefslogtreecommitdiff
path: root/features/project/issues/labels.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/project/issues/labels.feature')
-rw-r--r--features/project/issues/labels.feature17
1 files changed, 15 insertions, 2 deletions
diff --git a/features/project/issues/labels.feature b/features/project/issues/labels.feature
index b88108af719..29cf5307271 100644
--- a/features/project/issues/labels.feature
+++ b/features/project/issues/labels.feature
@@ -10,7 +10,7 @@ Feature: Project Labels
And I should see label "feature"
Scenario: I create new label
- Given I visit new label page
+ Given I visit project "Shop" new label page
When I submit new label 'support'
Then I should see label 'support'
@@ -25,6 +25,19 @@ Feature: Project Labels
Then I should not see label 'bug'
Scenario: I create a label with invalid color
- Given I visit new label page
+ Given I visit project "Shop" new label page
When I submit new label with invalid color
Then I should see label color error message
+
+ Scenario: I create a label that already exists
+ Given I visit project "Shop" new label page
+ When I submit new label 'bug'
+ Then I should see label label exist error message
+
+ Scenario: I create the same label on another project
+ Given I own project "Forum"
+ And I visit project "Forum" labels page
+ And I visit project "Forum" new label page
+ When I submit new label 'bug'
+ Then I should see label 'bug'
+