summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-27 11:24:11 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-03 17:11:41 -0500
commit5a474ff8dafcd238f8bc3d93a34ff2093d0332a6 (patch)
treed7180da8d98921dddbdb65bc408caa0209c92207
parent7712aaf2a757835657f4e6b1af3349b0a8974fc9 (diff)
downloadgitlab-ce-5a474ff8dafcd238f8bc3d93a34ff2093d0332a6.tar.gz
Ensure we are clicking a visible dropdown
-rw-r--r--features/steps/project/issues/filter_labels.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/issues/filter_labels.rb b/features/steps/project/issues/filter_labels.rb
index d82c6856918..d34fa694789 100644
--- a/features/steps/project/issues/filter_labels.rb
+++ b/features/steps/project/issues/filter_labels.rb
@@ -29,7 +29,7 @@ class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
end
step 'I click link "bug"' do
- page.find('.js-label-select').click
+ page.find('.js-label-select', visible: true).click
sleep 0.5
execute_script("$('.dropdown-menu-labels li:contains(\"bug\") a').click()")
end