stable

Clone or download

Read-only

Fixes request #33641: Fields not migrated error message can be wrongly displayed

This regression has been introduced in git #tuleap/stable/3db336d6001ef2df2a1927c84f72b32554adb48d I took the opportunity to add unit tests on DryRunNotMigratedFieldState. I wrote them in Typescript, so now there is no reason not to write the missing unit tests of all the components in this app. How to test: - Find an artifact which has at least one partially migrated field but no fields which cannot be migrated --> There is no "fields not migrated" alert in the modal Change-Id: If86cedb39a4126fe969634a31ee13b86cbd2ed6c

Modified Files

Name
M plugins/tracker/scripts/move-artifact-action/package.json +2 −0 Go to diff View file
M plugins/tracker/scripts/move-artifact-action/pnpm-lock.yaml +213 −12 Go to diff View file
A plugins/tracker/scripts/move-artifact-action/src/components/DryRunNotMigratedFieldState.test.ts +94 −0 Go to diff View file
M plugins/tracker/scripts/move-artifact-action/src/components/DryRunNotMigratedFieldState.vue +3 −2 Go to diff View file
A plugins/tracker/scripts/move-artifact-action/src/store/types.ts +31 −0 Go to diff View file
A plugins/tracker/scripts/move-artifact-action/src/vue.shims.d.ts +23 −0 Go to diff View file
A plugins/tracker/scripts/move-artifact-action/tests/local-vue-for-tests.ts +31 −0 Go to diff View file
A plugins/tracker/scripts/move-artifact-action/tsconfig.json +7 −0 Go to diff View file
M plugins/tracker/scripts/move-artifact-action/webpack.common.js +4 −1 Go to diff View file