Branch: refs/heads/backport/stable-18.4.x/pr-6309 Home: https://github.com/xwiki/xwiki-platform Commit: a09840d2c7ea979bbfc19a213569fca8054181b3 https://github.com/xwiki/xwiki-platform/commit/a09840d2c7ea979bbfc19a213569f... Author: Vincent Massol <[email protected]> Date: 2026-09-04 (Fri, 04 Sep 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/TextAreaImageUploadIT.java Log Message: ----------- XWIKI-24806: TextAreaImageUploadIT is flickering and its missing edit-mode cleanup fails the rest of AllIT (#6309) * Discard the unsaved changes after each test, so that a failure no longer leaves an armed beforeunload handler that blocks every test running after it in the shared browser session. * Add CKEditor#discardUnsavedChanges() to the page objects, marking every editor instance on the page as clean. This is what arms the leave confirmation for the comment, the annotation and the in-place property, all edited on a view page where there is no edit mode to leave. * Leave the edit mode for the object editor, which asks for confirmation based on its own form state. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 879250a6ff53f8572983dbcd34c4d652444e9cc5) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications