summaryrefslogtreecommitdiff
path: root/features/project/issues
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-17 11:32:02 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-17 11:32:02 -0200
commit9823d00e0b13224ae9e820e7d3f9fade69201e99 (patch)
tree9a37f949fdfbd560e23150b1a42ca3979fe9c51e /features/project/issues
parent943bed68bc42d02246ddea63a25432d3aba709e7 (diff)
downloadgitlab-ce-9823d00e0b13224ae9e820e7d3f9fade69201e99.tar.gz
Add ability to see and sort on vote count from Issues and MR listssee-and-sort-on-vote-count-mr-issues
Diffstat (limited to 'features/project/issues')
-rw-r--r--features/project/issues/issues.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature
index ca2399d85a9..89af58dcef3 100644
--- a/features/project/issues/issues.feature
+++ b/features/project/issues/issues.feature
@@ -89,6 +89,16 @@ Feature: Project Issues
Then The list should be sorted by "Oldest updated"
@javascript
+ Scenario: Sort issues by upvotes/downvotes
+ Given project "Shop" have "Bugfix" open issue
+ And issue "Release 0.4" have 2 upvotes and 1 downvote
+ And issue "Tweet control" have 1 upvote and 2 downvotes
+ And I sort the list by "Most popular"
+ Then The list should be sorted by "Most popular"
+ And I sort the list by "Least popular"
+ Then The list should be sorted by "Least popular"
+
+ @javascript
Scenario: I search issue
Given I fill in issue search with "Re"
Then I should see "Release 0.4" in issues