Commit 33e02c42 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '321855-fix-flaky-spec' into 'master'

Adds a space after user mention to close out the auto-complete dialog

See merge request gitlab-org/gitlab!54476
parents c706c7b5 3b8fc98e
......@@ -84,7 +84,8 @@ RSpec.describe 'Update Epic', :js do
it 'creates a todo only for mentioned users' do
mentioned = create(:user)
fill_in 'issue-description', with: "FYI #{mentioned.to_reference}"
# Add a trailing space to close mention auto-complete dialog, which might block the save button
fill_in 'issue-description', with: "FYI #{mentioned.to_reference} "
click_button 'Save changes'
......
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