Commit 3e158a9a authored by Peter Leitzen's avatar Peter Leitzen Committed by Nikola Milojevic

Make "user edits issue" labels feature spec less flaky

parent 914861cd
......@@ -146,8 +146,7 @@ RSpec.describe "Issues > User edits issue", :js do
fill_in 'Comment', with: '/label ~syzygy'
click_button 'Comment'
wait_for_requests
expect(page).to have_text('added syzygy label just now')
page.within '.block.labels' do
# Remove `verisimilitude` label
......@@ -155,8 +154,6 @@ RSpec.describe "Issues > User edits issue", :js do
click_button
end
wait_for_requests
expect(page).to have_text('syzygy')
expect(page).not_to have_text('verisimilitude')
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