summaryrefslogtreecommitdiff
path: root/spec/features/projects/labels
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-09-29 01:03:28 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:25 -0200
commit0bfa39d5bdb9f53bfc319b9351230b3eb405b619 (patch)
treed89e21ee24d1d421ce86c5bfdbbf43d699ace479 /spec/features/projects/labels
parent07709c5576a06179c5365b0d7fe154c5f67ca7e5 (diff)
downloadgitlab-ce-0bfa39d5bdb9f53bfc319b9351230b3eb405b619.tar.gz
Remove scopes/types for labels
Diffstat (limited to 'spec/features/projects/labels')
-rw-r--r--spec/features/projects/labels/update_prioritization_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/projects/labels/update_prioritization_spec.rb b/spec/features/projects/labels/update_prioritization_spec.rb
index 21896f0a787..84a12a38c26 100644
--- a/spec/features/projects/labels/update_prioritization_spec.rb
+++ b/spec/features/projects/labels/update_prioritization_spec.rb
@@ -22,8 +22,8 @@ feature 'Prioritize labels', feature: true do
expect(page).to have_content('No prioritized labels yet')
- page.within('.group-labels') do
- first('.js-toggle-priority').click
+ page.within('.other-labels') do
+ all('.js-toggle-priority')[1].click
wait_for_ajax
expect(page).not_to have_content('feature')
end
@@ -47,7 +47,7 @@ feature 'Prioritize labels', feature: true do
expect(page).not_to have_content('bug')
end
- page.within('.group-labels') do
+ page.within('.other-labels') do
expect(page).to have_content('feature')
end
end
@@ -57,7 +57,7 @@ feature 'Prioritize labels', feature: true do
expect(page).to have_content('No prioritized labels yet')
- page.within('.project-labels') do
+ page.within('.other-labels') do
first('.js-toggle-priority').click
wait_for_ajax
expect(page).not_to have_content('bug')
@@ -82,7 +82,7 @@ feature 'Prioritize labels', feature: true do
expect(page).not_to have_content('bug')
end
- page.within('.project-labels') do
+ page.within('.other-labels') do
expect(page).to have_content('bug')
expect(page).to have_content('wontfix')
end