[xwiki/xwiki-platform] 19237e: XWIKI-25214: Add test APIs to wait for a document ...
Branch: refs/heads/vmassol/autosaveit-page-object-waits Home: https://github.com/xwiki/xwiki-platform Commit: 19237e28afdc99594a1dae7500ce5f8fd5730dc6 https://github.com/xwiki/xwiki-platform/commit/19237e28afdc99594a1dae7500ce5... Author: Vincent Massol <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/AutoSaveIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-pageobjects/src/main/java/org/xwiki/blocknote/test/po/BlockNoteEditor.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java Log Message: ----------- XWIKI-25214: Add test APIs to wait for a document to be saved in the background * Add `TestUtils.RestTestUtils#waitForVersionChange()`, which polls a document over REST until its version differs from a given one and returns the new one. * Add `BlockNoteEditor#waitForAutoSave()` and `BlockNoteEditor#isAutoSavedWithinNextInterval()`, whose timeouts are derived from the interval set through `setAutoSaveInterval()`. * Use them in `AutoSaveIT`, which no longer calls the WebDriver nor needs its own wait helpers. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications