This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-795ebc2e-925a-416b-b576-1a3d7f863f04 XWIKI-25079 Open

Add automated test for "Edit a section of a page with Text Editor"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2d911e25-065a-4206-a37c-e29a19c85183 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Edit a section of a page with Text Editor"
Issue Type: cid:jira-generated-image-avatar-795ebc2e-925a-416b-b576-1a3d7f863f04 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-11d78355-8074-4ce6-9da5-60f082f3efd6 Major
Reporter: Vincent Massol
Description:

The manual test is here: Edit a section of a page with Text Editor

Existing automated coverage

Missing automated coverage

  • Set the user's "Default Editor to use" preference to Text (PreferencesEditPage#setDefaultEditorText).
  • On a page with several sections, click a section edit pencil and assert the wiki (Text) editor opens directly with only that section's content.
  • Modify the section text and Save & View.
  • Assert the modified section is displayed and the other sections are unchanged.

Suggested location: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/SectionEditIT.java

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