diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-23 01:00:35 +0300 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-23 01:00:35 +0300 |
commit | 7c520c7803524de0eefb8fbcc79d4c943a80c4de (patch) | |
tree | b18a7248b61a45d8b9b3d807408716d409a2ff5a /features | |
parent | eccaa099d185c351f9e8762661f0dc004f11f256 (diff) |
Make sorting preference reusable for all projects.
Diffstat (limited to 'features')
-rw-r--r-- | features/dashboard/dashboard.feature | 14 | ||||
-rw-r--r-- | features/project/issues/issues.feature | 7 | ||||
-rw-r--r-- | features/project/merge_requests.feature | 7 |
3 files changed, 28 insertions, 0 deletions
diff --git a/features/dashboard/dashboard.feature b/features/dashboard/dashboard.feature index 9060e9d0ad2..c3b3577c449 100644 --- a/features/dashboard/dashboard.feature +++ b/features/dashboard/dashboard.feature @@ -51,9 +51,23 @@ Feature: Dashboard Then The list should be sorted by "Oldest updated" @javascript + Scenario: Visiting Project's issues after sorting + Given I visit dashboard issues page + And I sort the list by "Oldest updated" + And I visit project "Shop" 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" + + @javascript + Scenario: Visiting Project's merge requests after sorting + Given I visit dashboard merge requests page + And I sort the list by "Oldest updated" + And I visit project "Shop" merge requests page + Then The list should be sorted by "Oldest updated" diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature index c1ae10f89c9..a91c5e0095d 100644 --- a/features/project/issues/issues.feature +++ b/features/project/issues/issues.feature @@ -68,6 +68,13 @@ Feature: Project Issues Then The list should be sorted by "Oldest updated" @javascript + Scenario: Visiting Merge Requests from a differente Project after sorting + Given I visit project "Shop" merge requests page + And I sort the list by "Oldest updated" + And I visit dashboard merge requests page + Then The list should be sorted by "Oldest updated" + + @javascript Scenario: I search issue Given I fill in issue search with "Re" Then I should see "Release 0.4" in issues diff --git a/features/project/merge_requests.feature b/features/project/merge_requests.feature index 55c17ad0c15..6b43e7ffedf 100644 --- a/features/project/merge_requests.feature +++ b/features/project/merge_requests.feature @@ -93,6 +93,13 @@ Feature: Project Merge Requests Then The list should be sorted by "Oldest updated" @javascript + Scenario: Visiting Merge Requests from a differente Project after sorting + Given I visit project "Shop" merge requests page + And I sort the list by "Oldest updated" + And I visit dashboard merge requests page + Then The list should be sorted by "Oldest updated" + + @javascript Scenario: Visiting Merge Requests after commenting on diffs Given project "Shop" have "Bug NS-05" open merge request with diffs inside And I visit merge request page "Bug NS-05" |