1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Add a test for #37369.

git-svn-id: https://svn.redmine.org/redmine/trunk@21852 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-09-26 22:39:23 +00:00
parent 7dbdf5a88b
commit 5e70ebc4c3

View File

@ -186,4 +186,19 @@ class InlineAutocompleteSystemTest < ApplicationSystemTestCase
assert page.has_text? "Dave Lopper"
end
end
def test_inline_autocomplete_for_users_on_issues_bulk_edit_show_autocomplete
log_user('jsmith', 'jsmith')
visit '/issues/bulk_edit?ids[]=1&ids[]=2'
find('#notes').click
fill_in 'notes', :with => '@lopper'
within('.tribute-container') do
assert page.has_text? 'Dave Lopper'
first('li').click
end
assert_equal '@dlopper ', find('#notes').value
end
end