stable

Clone or download

Read-only

Migrate TestPlan app to Vue 3 in compat mode

Everything should continue to work as expected. There a few warnings when the app is built in dev mode, they will be solved in dedicated contributions. Typechecking has been switched over to vue-tsc because it was the easiest thing to work with (and its hability to typecheck templates is useful in the migration process). Part of request #25365: Migrate the TestPlan plugin to Vue 3 Change-Id: Ib2be8520b05c71935b9b4da12fca0e611ee9ab38

Modified Files

Name
M .eslintrc.js +1 −0 Go to diff View file
M plugins/testplan/jest.config.js +2 −6 Go to diff View file
M plugins/testplan/package.json +9 −7 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +490 −153 Go to diff View file
M plugins/testplan/scripts/test-plan/index.ts +13 −19 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/App.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/AddTestButtonWithAdditionalActionsMenu.test.ts +12 −16 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/AddTestButtonWithAdditionalActionsMenu.vue +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemCard.test.ts +53 −44 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemCard.vue +4 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemContainer.test.ts +22 −22 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemContainer.vue +7 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemCoverage.test.ts +9 −5 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemCoverage.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemEmptyState.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemEmptyStateSvg.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemErrorState.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemErrorStateSvg.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/BacklogItemSkeleton.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.test.ts +49 −49 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.vue +11 −13 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportError.test.ts +5 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportError.vue +1 −6 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ListOfBacklogItem.test.ts +32 −25 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ListOfBacklogItems.vue +13 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ListOfBacklogItemsHeader.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/ListOfTestDefinitions.test.ts +15 −6 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/ListOfTestDefinitions.vue +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCard.test.ts +25 −17 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCard.vue +4 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardStatus.test.ts +21 −18 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardStatus.vue +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardStatusTooltipIcon.test.ts +5 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardStatusTooltipIcon.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardXrefCategoryStatus.test.ts +89 −42 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardXrefCategoryStatus.vue +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionEmptyState.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionErrorState.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionSkeleton.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/__snapshots__/TestDefinitionCard.test.ts.snap +0 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/__snapshots__/AddTestButtonWithAdditionalActionsMenu.test.ts.snap +5 −15 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/__snapshots__/BacklogItemCard.test.ts.snap +2 −10 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/__snapshots__/BacklogItemCoverage.test.ts.snap +6 −5 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignCard.test.ts +41 −46 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignCard.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyState.test.ts +14 −16 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyState.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyStateSvg.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorState.test.ts +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorState.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorStateSvg.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignProgression.test.ts +7 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignProgression.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignSkeleton.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateCampaignTestSelector.test.ts +18 −17 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateCampaignTestSelector.vue +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateModal.test.ts +55 −51 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateModal.vue +9 −8 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateModalErrorFeedback.test.ts +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CreateModalErrorFeedback.vue +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/GlobalErrorMessage.test.ts +13 −12 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/GlobalErrorMessage.vue +6 −5 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.test.ts +29 −33 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.vue +13 −15 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaignsHeader.test.ts +19 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaignsHeader.vue +6 −6 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignCard.test.ts.snap +1 −5 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignEmptyState.test.ts.snap +2 −9 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignErrorState.test.ts.snap +1 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignProgression.test.ts.snap +0 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CreateModal.test.ts.snap +9 −27 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/GlobalErrorMessage.test.ts.snap +3 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/__snapshots__/App.test.ts.snap +0 −1 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/local-vue-for-test.ts Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/index.ts +4 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/vue.shims.d.ts +15 −2 Go to diff View file
M plugins/testplan/tsconfig.json +2 −2 Go to diff View file
M plugins/testplan/webpack.common.js +15 −10 Go to diff View file