summaryrefslogtreecommitdiff
path: root/features/dashboard/dashboard.feature
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-21 12:54:10 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-01-21 12:54:10 -0500
commit0f79620ccb049dc8146ab3c639f993122329eb83 (patch)
tree34c3e63a5624c1aaee605be20fc410bba16422fb /features/dashboard/dashboard.feature
parent4d345bc4003022ca22b5e7f42069c5a6bde41b6c (diff)
downloadgitlab-ce-0f79620ccb049dc8146ab3c639f993122329eb83.tar.gz
Little refactor plus some specs.
Diffstat (limited to 'features/dashboard/dashboard.feature')
-rw-r--r--features/dashboard/dashboard.feature16
1 files changed, 16 insertions, 0 deletions
diff --git a/features/dashboard/dashboard.feature b/features/dashboard/dashboard.feature
index b667b587c5b..9060e9d0ad2 100644
--- a/features/dashboard/dashboard.feature
+++ b/features/dashboard/dashboard.feature
@@ -41,3 +41,19 @@ Feature: Dashboard
And user with name "John Doe" left project "Shop"
When I visit dashboard activity page
Then I should see "John Doe left project Shop" event
+
+ @javascript
+ Scenario: Sorting Issues
+ Given I visit dashboard issues page
+ And I sort the list by "Oldest updated"
+ And I visit dashboard activity page
+ And I visit dashboard issues page
+ Then The list should be sorted by "Oldest updated"
+
+ @javascript
+ Scenario: Sorting Merge Requests
+ Given I visit dashboard merge requests page
+ And I sort the list by "Oldest updated"
+ And I visit dashboard activity page
+ And I visit dashboard merge requests page
+ Then The list should be sorted by "Oldest updated"