summaryrefslogtreecommitdiff
path: root/features/steps/dashboard
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-03-31 11:33:17 +0000
committerJacob Schatz <jschatz1@gmail.com>2016-03-31 11:33:17 +0000
commit403b7fe11a772242d3a2434226d93c7552f45668 (patch)
treeb53f2cdfcd9721cd250cf83810ba067e3ccafcf5 /features/steps/dashboard
parent6985e7dbf929189a7ddac536fe1215c437f9f0f5 (diff)
parenta41f5f59cbd1d29d0acc4b9d9782edabf81603b5 (diff)
downloadgitlab-ce-403b7fe11a772242d3a2434226d93c7552f45668.tar.gz
Merge branch 'issue_3400_port' into 'master'
Location aware search Closes #3400 #14217 Introduces suggestion grouping on the search box and adds the ability to the user to remove the location to search on. **Notes** - Suggestions are now grouped by category. - Suggestions are displayed when no location is set. - Would be great to provide suggestions for the specified location which could be a project or group. - A location is set from the server for projects/groups related urls. **Default Apparence** ![](/uploads/9fad1a354fb0e4b13cfd36698c061ab4/default.gif) **When location badge is present** ![](/uploads/ddc6379f407061e188f9f4a7a9a8c9b8/location-badge.gif) **Suggestions** ![suggestions](/uploads/2df288e00ad496b31a1a2efc2a4a9f6d/suggestions.gif) **Suggestions when location badge is present** ![](/uploads/f6ef09d3aed124179ab4e228b848486e/location-present-suggestions.gif) Closes #3400 See merge request !3212
Diffstat (limited to 'features/steps/dashboard')
-rw-r--r--features/steps/dashboard/issues.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/features/steps/dashboard/issues.rb b/features/steps/dashboard/issues.rb
index 93aa77589be..e21af72a777 100644
--- a/features/steps/dashboard/issues.rb
+++ b/features/steps/dashboard/issues.rb
@@ -42,11 +42,10 @@ class Spinach::Features::DashboardIssues < Spinach::FeatureSteps
end
step 'I click "All" link' do
- find('.js-author-search').click
- find('.dropdown-content a', match: :first).click
-
- find('.js-assignee-search').click
- find('.dropdown-content a', match: :first).click
+ find(".js-author-search").click
+ find(".dropdown-menu-author li a", match: :first).click
+ find(".js-assignee-search").click
+ find(".dropdown-menu-assignee li a", match: :first).click
end
def should_see(issue)