summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-28 13:13:11 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-02-02 17:47:18 -0500
commitd618e9c8f819053c9c3122cfa1baa4f61d0aebce (patch)
tree81705040f36fd80f859d7aabba716a47613ff8fb /features/project
parent0a08b105801dd9eb0c32e2619a905650e7fe46e5 (diff)
downloadgitlab-ce-d618e9c8f819053c9c3122cfa1baa4f61d0aebce.tar.gz
Add specs.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/milestone.feature23
1 files changed, 23 insertions, 0 deletions
diff --git a/features/project/milestone.feature b/features/project/milestone.feature
new file mode 100644
index 00000000000..e0f4c0e9d7c
--- /dev/null
+++ b/features/project/milestone.feature
@@ -0,0 +1,23 @@
+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"
+
+ @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"