[xwiki/xwiki-platform] 49c7d2: XWIKI-25077: Add automated test for "Automatic lin...
Branch: refs/heads/backport/stable-17.10.x/XWIKI-25077 Home: https://github.com/xwiki/xwiki-platform Commit: 49c7d2b65c96217bc6da95b2d8db9fd9f7e18ec8 https://github.com/xwiki/xwiki-platform/commit/49c7d2b65c96217bc6da95b2d8db9... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/CKEditor.java M 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 M xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/it/org/xwiki/edit/test/ui/InplaceTranslateIT.java A xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/resources/notes.txt M xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-pageobjects/src/main/java/org/xwiki/edit/test/po/InplaceEditablePage.java Log Message: ----------- XWIKI-25077: Add automated test for "Automatic link creation when dropping a non-image file" (#6590) XWIKI-25086: Add automated test for "Live macro rendering when editing in place" XWIKI-25088: Add automated test for "Switch to source while editing in place" XWIKI-25134: Add automated test for "Translate a document in a different language from Information Tab" XWIKI-25135: Add automated test for "Translate page while editing in place" * InplaceEditIT#dropNonImageFile (XWIKI-25077): a text file dropped in the in-place editor is uploaded as an attachment and linked from the content, and the link is kept after saving * InplaceEditIT#liveMacroRendering (XWIKI-25086): a macro inserted from Insert > Other Macros in the in-place editor is rendered right away * InplaceEditIT#switchToSourcePreservesSelection (XWIKI-25088): the caret in a paragraph and the selection of a word in a heading and in a table cell are kept when switching to Source and back * InplaceTranslateIT#translateInplace (XWIKI-25134, XWIKI-25135): the content (and not only the title) of the translations created from the Information tab and from the Translate button is saved, the Languages menu of the drawer switches between the original and the French translations, and the Translate button tooltip and the page title hint are displayed in the user interface language (German) * InplaceTranslateIT#translateTerminalPageFromInformationTab (XWIKI-25134): the title and content of a terminal page are translated from the Information tab, and the Languages menu of the drawer switches between the translations * New InplaceEditablePage#getTranslateButtonHint, #getDocumentTitleHint and #switchToLocale * New CKEditor#getSource, #getSourceSelectionStart, #getSourceSelectionEnd and #getSourceSelectedText Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 5c45755cec713c18fdd0489db35e77148ba77f1b) Commit: 040955d33daa422d640956366e346d924469cafa https://github.com/xwiki/xwiki-platform/commit/040955d33daa422d640956366e346... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M 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 Log Message: ----------- XWIKI-25088: Add automated test for "Switch to source while editing in place" (#6762) * Fix InplaceEditIT#switchToSourcePreservesSelection on Chrome: after Control+End, Left puts the caret at the end of the last table cell value on Chrome (before its last character on Firefox), so the following Right moved it back after the table and the selection missed the first character ("amma" instead of "gamma"). Use End instead of Right to reach the end of the cell value on both browsers. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit cbe6f7d9b42ef68f3caebe304bf4a8f349a63ce3) Commit: 977f4bf1be106104398fd8e8141270fd9341efb4 https://github.com/xwiki/xwiki-platform/commit/977f4bf1be106104398fd8e814127... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/CKEditor.java M xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-pageobjects/src/main/java/org/xwiki/edit/test/po/InplaceEditablePage.java Log Message: ----------- XWIKI-25077: Add automated test for "Automatic link creation when dropping a non-image file" * Adjust the `@since` of the backported page object elements Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Commit: dfc589f4dd936111317c28c7278ef8b9e674305c https://github.com/xwiki/xwiki-platform/commit/dfc589f4dd936111317c28c7278ef... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M 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 Log Message: ----------- XWIKI-25086: Add automated test for "Live macro rendering when editing in place" * Select the macro with the MacroDialogSelectModal API of this branch (filterByText does not return the modal) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/49c7d2b65c96%5E...dfc589f4dd... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications