summaryrefslogtreecommitdiffstats
path: root/test/system
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 22:17:55 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 22:17:55 +0000
commit01e96712919c5260726961735efe2c0e2fe292b9 (patch)
treec952cd4aab57aa93dac77dab95c94ad9fab37158 /test/system
parentdaa5010cbb0d0c2968f24097dbcf87e6533dce4c (diff)
downloadredmine-01e96712919c5260726961735efe2c0e2fe292b9.tar.gz
redmine-01e96712919c5260726961735efe2c0e2fe292b9.zip
Wait for autocomplete to return all 3 issues in order to avoid @StaleElementReferenceError@ (#38852).
git-svn-id: https://svn.redmine.org/redmine/trunk@22429 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system')
-rw-r--r--test/system/inline_autocomplete_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/system/inline_autocomplete_test.rb b/test/system/inline_autocomplete_test.rb
index d7743012f..db63c953b 100644
--- a/test/system/inline_autocomplete_test.rb
+++ b/test/system/inline_autocomplete_test.rb
@@ -52,6 +52,7 @@ class InlineAutocompleteSystemTest < ApplicationSystemTestCase
within('.tribute-container') do
assert page.has_text? 'Bug #12: Closed issue on a locked version'
assert page.has_text? 'Bug #11: Closed issue on a closed version'
+ assert page.has_text? 'Bug #8: Closed issue'
first('li').click
end