Branch: refs/heads/XWIKI-25222-vitest Home: https://github.com/xwiki/xwiki-platform Commit: b52425a15fff646fc286904cac5ca85c7e5cce3e https://github.com/xwiki/xwiki-platform/commit/b52425a15fff646fc286904cac5ca... 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]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications