This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2e7634a4-d6c0-4258-8822-233d9d9d1f76 XWIKI-25223 Closed

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-fa6e4756-1d5a-4c85-8351-abadf6727d93 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-2e7634a4-d6c0-4258-8822-233d9d9d1f76 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-d52af288-e65d-49e1-a31e-1571dad9f5ae 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-fa6e4756-1d5a-4c85-8351-abadf6727d93 Changes by Vincent Massol on 08/Oct/26 17:09
 
Resolution: Duplicate
Status: Open Closed