Browse Source

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
pull/147/head
Marius Balteanu 6 months ago
parent
commit
01e9671291
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      test/system/inline_autocomplete_test.rb

+ 1
- 0
test/system/inline_autocomplete_test.rb View File

@@ -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

Loading…
Cancel
Save