|
| Summary: |
Add automated test for "Add an image with caption" |
| Issue Type: |
Task |
| Affects Versions: |
11.10.13 |
| Assignee: |
Unassigned |
| Components: |
Development Issues only |
| Created: |
01/Oct/26 20:51 |
| Labels: |
testneeded |
| Priority: |
Major |
| Reporter: |
Vincent Massol |
| Description: |
The manual test is here: Add an image with caption Existing automated coverage
Missing automated coverage
- Edit the page in CKEditor Source mode, enter a captioned image whose caption is a link to https://www.xwiki.org (the syntax given in the manual test), switch back to WYSIWYG; assert a figure whose figcaption contains the link is shown.
- Modify the caption text in-line below the image and assert the source keeps the link inside the updated caption.
- Save & View and assert the view page renders a figure with the image and a figcaption containing the updated text and the xwiki.org link (both for the Source-mode image and the Upload-tab captioned image).
Suggested location: xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker/src/test/it/org/xwiki/ckeditor/test/ui/ImageIT.java Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a). |
|