diff --git a/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts b/frontend/cypress/e2e/pages/staffform/BcRegisteredClientInformationWizardStep.cy.ts index ca8b73c9c3..4ba419e204 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/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue b/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue index 04bc3ef6f5..44db8686f3 100644 --- a/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue +++ b/frontend/src/pages/staffform/BcRegisteredClientInformationWizardStep.vue @@ -390,7 +390,6 @@ onMounted(() => {