[xwiki/xwiki-platform] 401414: XWIKI-25150: Add automated test for "Filter Nested...
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 40141465b3c0f237c5f8f1980bdb20ed77391f23 https://github.com/xwiki/xwiki-platform/commit/40141465b3c0f237c5f8f1980bdb2... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/AllDocsIT.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/AllIT.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/DeletedAttachmentsIT.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/DeletedDocsIT.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-pageobjects/src/main/java/org/xwiki/index/test/po/DeletedAttachmentsPage.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-pageobjects/src/main/java/org/xwiki/index/test/po/DeletedDocsPage.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-pageobjects/src/main/java/org/xwiki/index/test/po/RestoreDocumentConfirmationModal.java M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-pageobjects/src/main/java/org/xwiki/livedata/test/po/LiveDataElement.java M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-pageobjects/src/main/java/org/xwiki/livedata/test/po/TableLayoutElement.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/LiveTableElement.java Log Message: ----------- XWIKI-25150: Add automated test for "Filter Nested Document" (#6594) * AllDocsIT#filterNestedDocuments (XWIKI-25150): the Page Index is filtered by the location ("1/2" and "1/2/") and by the title of nested pages, and a computed title is marked and explained in a footnote * DeletedAttachmentsIT#sortFilterAndDeletePermanently (XWIKI-25151): attachments deleted from a nested and a terminal page, by two users, are listed, sorted by attachment, page and deleter, filtered by location and deleter, and one of them is permanently deleted * DeletedDocsIT#restoreDeletedPages (XWIKI-25152): a deleted nested page and a deleted terminal page are restored with the "Restore" action of the Deleted Pages tab * Nest DeletedDocsIT in AllIT, since it was never run, and filter the Deleted Pages table in restoreOriginalDocumentAfterDeletionAndRecreation so that its row is displayed * Exclude XWiki.DeletedAttachments from the PR checker in DeletedAttachmentsIT: sorting on another column than the attachment name requires the programming right for its author * Fix LiveTableElement#sortAscending/sortDescending, which split the header CSS classes on words instead of whitespace and so never saw the current sort state * Fix RestoreDocumentConfirmationModal#clickReplace, which waited for a page reload without setting the reload marker first and so returned before the redirect * New DeletedDocsPage#restoreDoc, #hasDoc and #filterByDocName, DeletedAttachmentsPage#deletePermanently, #filterByLocation and #filterByDeleter, LiveTableElement#getColumnValues and TableLayoutElement#getColumnValues * LiveDataElement no longer waits for the full timeout when there are no footnotes Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit e855a886fa377732719ef9c1e9ad3a4cae080dab) Commit: e463a13f6bf37409b2c5b954ffbbd7fb78e4d4d0 https://github.com/xwiki/xwiki-platform/commit/e463a13f6bf37409b2c5b954ffbbd... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-pageobjects/src/main/java/org/xwiki/index/test/po/DeletedAttachmentsPage.java M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-pageobjects/src/main/java/org/xwiki/index/test/po/DeletedDocsPage.java M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-pageobjects/src/main/java/org/xwiki/livedata/test/po/TableLayoutElement.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/LiveTableElement.java Log Message: ----------- XWIKI-25150: Add automated test for "Filter Nested Document" * Adjust the `@since` of the backported page object elements Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Commit: 67be06bfcfc368e4bb2172f4f02929c187e6b33c https://github.com/xwiki/xwiki-platform/commit/67be06bfcfc368e4bb2172f4f0292... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/DeletedAttachmentsIT.java Log Message: ----------- XWIKI-25151: Add automated test for "Page Index Deleted Attachments" * Create the deleter user and delete its attachment with the TestUtils API of this branch (no RestTestUtils#createUser/#runAs) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/da3d3bc26bd7...67be06bfcfc3 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications