summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-09-26 22:41:49 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-09-26 22:41:49 +0000
commit337c5f93ba6f2a1d0fcac5e30c8e57128c0e1bb9 (patch)
tree732249232898d1e63cd08789e3a4ff58c6337b6f /test
parentcecbd9cd73f007438cf4cf007ec19d0ef73856c3 (diff)
downloadredmine-337c5f93ba6f2a1d0fcac5e30c8e57128c0e1bb9.tar.gz
redmine-337c5f93ba6f2a1d0fcac5e30c8e57128c0e1bb9.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/system/inline_autocomplete_test.rb15
1 files changed, 15 insertions, 0 deletions
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