Commit 960b28c0 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'de-quarantine-and-fix-test' into 'master'

De-quarantine and fix an end-to-end test for scoped labels

See merge request gitlab-org/gitlab!26293
parents 202f290b 323fbef4
......@@ -127,7 +127,7 @@ module QA
click_element(:edit_link_labels)
labels.each do |label|
has_element?(:labels_block, text: label)
has_element?(:labels_block, text: label, wait: 0)
end
refresh
......
# 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