summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-04-14 11:16:24 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-04-14 11:16:24 +0100
commit5f53ca69ace953bf06afe478072836d083f941ca (patch)
treec4163a78a5bc2e0a4d6900991130b2791ba15399 /features/steps
parent6745e58f8f809a6813ac42fcd2ac82729234df1e (diff)
downloadgitlab-ce-5f53ca69ace953bf06afe478072836d083f941ca.tar.gz
fix failing tests
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/issues/filter_labels.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/project/issues/filter_labels.rb b/features/steps/project/issues/filter_labels.rb
index 6d50501a722..d82c6856918 100644
--- a/features/steps/project/issues/filter_labels.rb
+++ b/features/steps/project/issues/filter_labels.rb
@@ -32,6 +32,10 @@ class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
page.find('.js-label-select').click
sleep 0.5
execute_script("$('.dropdown-menu-labels li:contains(\"bug\") a').click()")
+ end
+
+ step 'I click "dropdown close button"' do
+ page.first('.labels-filter .dropdown-title .dropdown-menu-close-icon').click
sleep 2
end