Skip to content

Commit

Permalink
Merge branch 'support/client2' into fix/FSADT1-1511
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora authored Sep 24, 2024
2 parents 246e8cb + d4dd307 commit 4bb6ff5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ onMounted(() => {
<cds-inline-notification
id="readOnlyNotification"
v-shadow="2"
v-if="formData.businessInformation.goodStandingInd === 'Y' || showOnError"
low-contrast="true"
open="true"
kind="info"
Expand Down

0 comments on commit 4bb6ff5

Please sign in to comment.