Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'features/project/labels.feature')
-rw-r--r--features/project/labels.feature16
1 files changed, 16 insertions, 0 deletions
diff --git a/features/project/labels.feature b/features/project/labels.feature
new file mode 100644
index 00000000000..cd3f3a789f0
--- /dev/null
+++ b/features/project/labels.feature
@@ -0,0 +1,16 @@
+@labels
+Feature: Labels
+ Background:
+ Given I sign in as a user
+ And I own project "Shop"
+ And I visit project "Shop" issues page
+ And project "Shop" has labels: "bug", "feature", "enhancement"
+
+ @javascript
+ Scenario: I can subscribe to a label
+ When I visit project "Shop" labels page
+ Then I should see that I am unsubscribed
+ When I click button "Subscribe"
+ Then I should see that I am subscribed
+ When I click button "Unsubscribe"
+ Then I should see that I am unsubscribed