Commit 9a52d219 authored by Walmyr Lima's avatar Walmyr Lima

De-quarantine and fix test for scoped labels

The issue that made this test go in quarantine has been fixed, and
now scoped labels with multi-double-colons show only the first
double-colons, and the rest is separated with space, and this is
why the test is not only being de-quarantined, but also being
fixed.
parent da1153ee
# frozen_string_literal: true
module QA
context 'Plan', :reliable, quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/issues/208021', type: :bug } do
context 'Plan', :reliable do
describe 'Editing scoped labels on issues' do
let(:initial_label) { 'animal::fox' }
let(:new_label_same_scope) { 'animal::dolphin' }
......@@ -46,11 +46,11 @@ module QA
expect(show.text_of_labels_block).to have_content(new_label_same_scope.gsub('::', ' '))
expect(show.text_of_labels_block).to have_content(new_label_different_scope.gsub('::', ' '))
expect(show.text_of_labels_block).to have_content(new_label_same_scope_multi_colon.gsub('::', ' '))
expect(show.text_of_labels_block).to have_content(new_label_different_scope_multi_colon.gsub('::', ' '))
expect(show.text_of_labels_block).to have_content('group::car porsche')
expect(show.text_of_labels_block).to have_content('group::truck mercedes-bens')
expect(show.text_of_labels_block).not_to have_content(initial_label.gsub('::', ' '))
expect(show.text_of_labels_block).not_to have_content(initial_label_multi_colon.gsub('::', ' '))
expect(show.text_of_labels_block).not_to have_content('group::car ferrari')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment