summaryrefslogtreecommitdiff
path: root/features/steps/project/issues/filter_labels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/issues/filter_labels.rb')
-rw-r--r--features/steps/project/issues/filter_labels.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/features/steps/project/issues/filter_labels.rb b/features/steps/project/issues/filter_labels.rb
index 50bb32429b9..6d50501a722 100644
--- a/features/steps/project/issues/filter_labels.rb
+++ b/features/steps/project/issues/filter_labels.rb
@@ -29,7 +29,10 @@ class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
end
step 'I click link "bug"' do
- select2('bug', from: "#label_name")
+ page.find('.js-label-select').click
+ sleep 0.5
+ execute_script("$('.dropdown-menu-labels li:contains(\"bug\") a').click()")
+ sleep 2
end
step 'I click link "feature"' do