From: Marius Balteanu Date: Mon, 26 Sep 2022 22:39:23 +0000 (+0000) Subject: Add a test for #37369. X-Git-Tag: 5.1.0~407 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e70ebc4c3f498a7f4d3ba4152f92a316a374631;p=redmine.git Add a test for #37369. git-svn-id: https://svn.redmine.org/redmine/trunk@21852 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/system/inline_autocomplete_test.rb b/test/system/inline_autocomplete_test.rb index fd0ac7a22..39fbaa2ed 100644 --- a/test/system/inline_autocomplete_test.rb +++ b/test/system/inline_autocomplete_test.rb @@ -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