[xwiki/xwiki-platform] 5decb4: 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: 5decb492228365faae213c0a9801be4caa4aed82 https://github.com/xwiki/xwiki-platform/commit/5decb492228365faae213c0a9801b... 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#waitForNewVersion()`, which polls a document over REST until it moves past a given version 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