This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7b83062c-bdfa-458d-8c61-443f874b9cfd XWIKI-25225 Open

Make the suggest input page object wait for the suggestions matching the typed text before selecting or listing them

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0caf4a74-c509-4d98-b554-351350ce607d Vincent Massol created this issue on 08/Oct/26 17:50
 
Summary: Make the suggest input page object wait for the suggestions matching the typed text before selecting or listing them
Issue Type: cid:jira-generated-image-avatar-7b83062c-bdfa-458d-8c61-443f874b9cfd Task
Affects Versions: 10.6-rc-1
Assignee: Unassigned
Components: Development Issues only
Created: 08/Oct/26 17:50
Priority: cid:jira-generated-image-static-major-5719faee-7ac1-4492-861e-230db99c5058 Major
Reporter: Vincent Massol
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.

 
 

2 updates

 
cid:jira-generated-image-avatar-0caf4a74-c509-4d98-b554-351350ce607d Changes by Vincent Massol on 08/Oct/26 17:50
 
Fix Version: 18.9.0-rc-1
Assignee: Vincent Massol