From 337c5f93ba6f2a1d0fcac5e30c8e57128c0e1bb9 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 26 Sep 2022 22:41:49 +0000 Subject: Merged r21834 and r21852 to 5.0-stable (#37369). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21853 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/system/inline_autocomplete_test.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') diff --git a/test/system/inline_autocomplete_test.rb b/test/system/inline_autocomplete_test.rb index 26a89b85d..70c462a4d 100644 --- a/test/system/inline_autocomplete_test.rb +++ b/test/system/inline_autocomplete_test.rb @@ -186,4 +186,19 @@ class InlineAutocompleteSystemTest < ApplicationSystemTestCase 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 -- cgit v1.2.3