This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-cd5b7369-3969-42d2-9c9e-39c510258e40 XWIKI-25088 Open

Add automated test for "Switch to source while editing in place"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-49d466d5-ed43-4b92-9dcf-ccd9048d7da3 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Switch to source while editing in place"
Issue Type: cid:jira-generated-image-avatar-cd5b7369-3969-42d2-9c9e-39c510258e40 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-60fab736-fedb-4032-8111-1ce4eb0dc0b1 Major
Reporter: Vincent Massol
Description:

The manual test is here: Switch to source while editing in place

Existing automated coverage

Missing automated coverage

  • Edit in-place a page with a paragraph, a heading and a table.
  • Put a collapsed caret in a paragraph word, toggle Source and assert the caret position in the source text area.
  • Select an entire word in the heading, toggle Source and assert the source selection is that word; toggle back and assert.
  • Select an entire table cell value, toggle Source and assert the source selection is that value; toggle back and assert.

Suggested location: xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/it/org/xwiki/edit/test/ui/InplaceEditIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).