diff --git a/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts b/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts index 6c3b2f8cb0..f070fea051 100644 --- a/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts +++ b/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts @@ -445,21 +445,21 @@ describe("BC Registered Staff Wizard Step", () => { } if (scenario.showData) { - const success = Object.entries(scenario) - .filter( - ([key, value]) => - key.startsWith("show") && key.endsWith("Notification") - ) - .map(([key, value]) => value) - .every((value) => value === false); + /* + This variable might be useful in the future to test the button Next gets enabled on + success. But we'll probably need to fix FSADT1-1496 first. + */ + // const success = Object.entries(scenario) + // .filter( + // ([key, value]) => + // key.startsWith("show") && key.endsWith("Notification") + // ) + // .map(([key, value]) => value) + // .every((value) => value === false); cy.get( ".read-only-box > cds-inline-notification#readOnlyNotification" - ).should( - success || scenario.showDuplicatedNotification - ? "exist" - : "not.exist" - ); + ).should("exist"); cy.get(`.read-only-box > #legalType > .title-group-01 > .label-01`) .should("exist") diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 9ec38a2aa3..98a19a144b 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -18,7 +18,7 @@ "@vueuse/core": "^11.1.0", "aws-amplify": "^6.3.5", "axios": "^1.7.2", - "date-fns": "^3.0.0", + "date-fns": "^4.0.0", "dotenv": "^16.0.0", "vue": "^3.5.6", "vue-dompurify-html": "^5.0.1", @@ -9214,9 +9214,9 @@ } }, "node_modules/date-fns": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz", - "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==", "license": "MIT", "funding": { "type": "github", diff --git a/frontend/package.json b/frontend/package.json index e2fc886de6..d4c6845afd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -56,7 +56,7 @@ "@vueuse/core": "^11.1.0", "aws-amplify": "^6.3.5", "axios": "^1.7.2", - "date-fns": "^3.0.0", + "date-fns": "^4.0.0", "dotenv": "^16.0.0", "vue": "^3.5.6", "vue-dompurify-html": "^5.0.1", diff --git a/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue b/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue index 2c6fe4362d..2dce84b1f8 100644 --- a/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue +++ b/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue @@ -397,7 +397,6 @@ onMounted(() => {