summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-27 12:18:21 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-27 12:18:21 -0500
commitc1e7351b4afde5f0cb7e92592c9109da301f4c17 (patch)
tree1c29fbff012a61905d957c9a921ddf2ccdc91a68
parentb169046e57af43fc0fef8ceb09b3b47094530532 (diff)
downloadgitlab-ce-c1e7351b4afde5f0cb7e92592c9109da301f4c17.tar.gz
Fix broken spec
-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)