Details
-
Task
-
Resolution: Fixed
-
Major
-
10.6-rc-1
-
None
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Functional tests using a suggest input (page, user, template pickers etc.) have to call waitForSuggestions() or waitForNonTypedSuggestions() after typing and before selecting a suggestion or reading the suggestions, otherwise they may act on the suggestions of a previous query and flicker.
SuggestInputElement should do this wait itself: selectByIndex(), selectByValue(), selectByVisibleText() and getSuggestions() / getSuggestedValues() should wait for the suggestions matching the text typed since the suggestions were last waited for. The explicit waits can then be removed from the tests.