Commit 9dcb3d2c authored by Nikola Milojevic's avatar Nikola Milojevic

Merge branch 'pl-spec-issues-user-edits-fix-flaky' into 'master'

Make "user edits issue" labels feature spec less flaky

See merge request gitlab-org/gitlab!73370
parents 39e5bee5 3e158a9a
......@@ -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