Commit 8b011af4 authored by Rémy Coutable's avatar Rémy Coutable Committed by Regis

Merge branch 'issue_27855' into 'master'

Fix admin_labels_spec.rb transient failure

Closes #27855

See merge request !9135
parent 1104ac1d
......@@ -35,17 +35,18 @@ RSpec.describe 'admin issues labels' do
it 'deletes all labels', js: true do
page.within '.labels' do
page.all('.btn-remove').each do |remove|
wait_for_ajax
remove.click
wait_for_ajax
end
end
page.within '.manage-labels-list' do
wait_for_ajax
expect(page).to have_content("There are no labels yet")
expect(page).not_to have_content('bug')
expect(page).not_to have_content('feature_label')
end
end
end
describe 'create' do
before do
......
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