diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-09-26 22:39:23 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-09-26 22:39:23 +0000 |
commit | 5e70ebc4c3f498a7f4d3ba4152f92a316a374631 (patch) | |
tree | 72ec6255b457646c5c3874c7e97b8ff08795f01c /test/system | |
parent | 7dbdf5a88b69f58c4e9e3b2747211293dca9988e (diff) | |
download | redmine-5e70ebc4c3f498a7f4d3ba4152f92a316a374631.tar.gz redmine-5e70ebc4c3f498a7f4d3ba4152f92a316a374631.zip |
Add a test for #37369.
git-svn-id: https://svn.redmine.org/redmine/trunk@21852 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/inline_autocomplete_test.rb | 15 |
1 files changed, 15 insertions, 0 deletions
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 |