This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-81136740-aa5f-40c9-b15b-be90d80c8ec9 XWIKI-25224 Open

Use the rich text area page object to run quick actions in the CKEditor functional tests

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ae99f390-f8ac-4244-a05b-e77ba6f8944e Vincent Massol created this issue on 08/Oct/26 17:08
 
Summary: Use the rich text area page object to run quick actions in the CKEditor functional tests
Issue Type: cid:jira-generated-image-avatar-81136740-aa5f-40c9-b15b-be90d80c8ec9 Task
Affects Versions: 15.5.1
Assignee: Unassigned
Components: Development Issues only
Created: 08/Oct/26 17:08
Priority: cid:jira-generated-image-static-major-562719fc-f4c7-4411-9d37-ec1e3f7d4780 Major
Reporter: Vincent Massol
Description:

Functional tests using CKEditor quick actions (slash commands) hand-code the same sequence each time: type the query, create an AutocompleteDropdown, waitForItemSelected(), press Enter, waitForItemSubmitted(), and then, for a macro, wait for the content to be re-rendered (often implicitly, by re-creating the rich text area page object with editor.getRichTextArea()).

The tests should use the RichTextAreaElement APIs added in XWIKI-25221 instead (executeQuickAction(), insertMacro(), insertMacroWithRequiredParameters()), so that the waits are done by the page objects.

 
 

2 updates

 
cid:jira-generated-image-avatar-ae99f390-f8ac-4244-a05b-e77ba6f8944e Changes by Vincent Massol on 08/Oct/26 17:08
 
Fix Version: 18.9.0-rc-1
Assignee: Vincent Massol