diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-27 10:06:26 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-27 10:06:26 +0000 |
commit | 2850efcdd51909a5a92f844e7b8940ed0190d234 (patch) | |
tree | a835f17e725eb7af63ea1ed09c34894adbe74128 /spec/features | |
parent | 5e56890e31d40c9ac47991d1d454f44f4ee5b0c2 (diff) | |
parent | 69129f11df7aa738bfed7a84eead6fdf5d25a814 (diff) | |
download | gitlab-ce-2850efcdd51909a5a92f844e7b8940ed0190d234.tar.gz |
Merge branch '35191-prioritized-labels-for-non-member' into 'master'
Remove help message about prioritized labels for non-members
Closes #35191
See merge request !12912
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/labels/update_prioritization_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/projects/labels/update_prioritization_spec.rb b/spec/features/projects/labels/update_prioritization_spec.rb index 61f6d734ed3..9b51b427845 100644 --- a/spec/features/projects/labels/update_prioritization_spec.rb +++ b/spec/features/projects/labels/update_prioritization_spec.rb @@ -114,6 +114,12 @@ feature 'Prioritize labels', feature: true do expect(page.all('li').last).to have_content('bug') end end + + it 'shows a help message about prioritized labels' do + visit project_labels_path(project) + + expect(page).to have_content 'Star a label' + end end context 'as a guest' do @@ -128,6 +134,7 @@ feature 'Prioritize labels', feature: true do expect(page).to have_content 'wontfix' expect(page).to have_content 'feature' expect(page).not_to have_css('.prioritized-labels') + expect(page).not_to have_content 'Star a label' end end @@ -139,6 +146,7 @@ feature 'Prioritize labels', feature: true do expect(page).to have_content 'wontfix' expect(page).to have_content 'feature' expect(page).not_to have_css('.prioritized-labels') + expect(page).not_to have_content 'Star a label' end end end |