Commit 3b8fc98e authored by Kyle Wiebers's avatar Kyle Wiebers Committed by Mayra Cabrera

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

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/321855
parent 45df5946
......@@ -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