[xwiki/xwiki-platform] e7f34f: XWIKI-25222: The location preview uses a wrong wik...
Branch: refs/heads/XWIKI-25222-vitest Home: https://github.com/xwiki/xwiki-platform Commit: e7f34f8c4ef90815a6612d99460bc82da10d9edc https://github.com/xwiki/xwiki-platform/commit/e7f34f8c4ef90815a6612d99460bc... Author: Simon Urli <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M pnpm-lock.yaml M pnpm-workspace.yaml M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/pom.xml A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/eslint.config.ts A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/package.json A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/resources/uicomponents/widgets/__tests__/locationPicker.test.ts A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/vitest.config.ts Log Message: ----------- XWIKI-25222: The location preview uses a wrong wiki and errors are logged when the parent field of the location picker contains the wiki * Add a Vitest unit test for the location preview of locationPicker.js, covering a parent field relative to the wiki, containing the selected wiki, containing another wiki, and a wiki change * Add a test-only Node package in src/test/node of xwiki-platform-web-war, registered in the pnpm workspace, which evaluates the legacy script in jsdom with the RequireJS mock of `@xwiki/platform-test-requirejs` * Run its unit tests (test phase) and its linter (verify phase) from the Maven build with frontend-maven-plugin Co-Authored-By: Claude Opus 5.5 <[email protected]> Commit: bdfb79744b224a89734331b9bffbbc7cd662f358 https://github.com/xwiki/xwiki-platform/commit/bdfb79744b224a89734331b9bffbb... Author: Simon Urli <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/resources/uicomponents/widgets/__tests__/locationPicker.test.ts Log Message: ----------- XWIKI-25222: The location preview uses a wrong wiki and errors are logged when the parent field of the location picker contains the wiki * Test that the location preview falls back on the current wiki when no wiki is selected Co-Authored-By: Claude Opus 5.5 <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/108dd3435889...bdfb79744b22 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications