diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-04-20 19:18:32 +0000 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-21 09:23:28 +0000 |
commit | 54851c014ad1288979ffcd6b2610bf29c586e6ca (patch) | |
tree | b513c1e56513dd64a208e13dfc41131ecdd263a5 /features | |
parent | 4715ab91348f1cdeabee400e521b75d47f63b1ed (diff) | |
download | gitlab-ce-54851c014ad1288979ffcd6b2610bf29c586e6ca.tar.gz |
Merge branch 'multi-filter-labels' into 'master'
Mutliple label filter
Fixes #989
See merge request !3438
Diffstat (limited to 'features')
-rw-r--r-- | features/project/issues/filter_labels.feature | 1 | ||||
-rw-r--r-- | features/steps/project/issues/filter_labels.rb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/features/project/issues/filter_labels.feature b/features/project/issues/filter_labels.feature index e07f8053fb7..49d7a3b9af2 100644 --- a/features/project/issues/filter_labels.feature +++ b/features/project/issues/filter_labels.feature @@ -12,6 +12,7 @@ Feature: Project Issues Filter Labels @javascript Scenario: I filter by one label Given I click link "bug" + And I click "dropdown close button" Then I should see "Bugfix1" in issues list And I should see "Bugfix2" in issues list And I should not see "Feature1" in issues list 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 |