Skip to content

[NOREF] Upgraded React -> v18 && Trussworks -> v6 && Node -> v20.12.2 #5145

[NOREF] Upgraded React -> v18 && Trussworks -> v6 && Node -> v20.12.2

[NOREF] Upgraded React -> v18 && Trussworks -> v6 && Node -> v20.12.2 #5145

Triggered via pull request January 28, 2025 17:31
Status Failure
Total duration 11m 13s
Artifacts 8

build_and_test.yml

on: pull_request
Build_Application_Images  /  pre_deps
48s
Build_Application_Images / pre_deps
Build_Application_Images  /  anti_virus
1m 15s
Build_Application_Images / anti_virus
Build_Application_Images  /  build_db_migrate_image
22s
Build_Application_Images / build_db_migrate_image
Build_Application_Images  /  build_server_image
44s
Build_Application_Images / build_server_image
Build_easi-frontend_image  /  build_easi-frontend_image
3m 47s
Build_easi-frontend_image / build_easi-frontend_image
Build_Test_Frontend_Assets  /  build_frontend_assets
2m 12s
Build_Test_Frontend_Assets / build_frontend_assets
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
src/components/BookmarkCard/index.test.tsx > BookmarkCard > matches the snapshot: src/components/BookmarkCard/index.test.tsx#L24
Error: Snapshot `BookmarkCard > matches the snapshot 1` mismatched - Expected + Received @@ -35,14 +35,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z" /> </svg> </button> </div> ❯ src/components/BookmarkCard/index.test.tsx:24:26
src/components/BusinessCaseReview/index.test.tsx > The Business Case Review Component > matches the snapshot: src/components/BusinessCaseReview/index.test.tsx#L385
Error: Snapshot `The Business Case Review Component > matches the snapshot 1` mismatched - Expected + Received @@ -1062,14 +1062,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" /> </svg> Download Business Case as PDF </button> ❯ src/components/BusinessCaseReview/index.test.tsx:385:26
src/components/GovernanceOverview/index.test.tsx > Governance Overview Content > renders default version without crashing: src/components/GovernanceOverview/index.test.tsx#L14
Error: Snapshot `Governance Overview Content > renders default version without crashing 1` mismatched - Expected + Received @@ -212,14 +212,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Why does the governance process exist? </button> ❯ src/components/GovernanceOverview/index.test.tsx:14:26
src/components/GovernanceOverview/index.test.tsx > Governance Overview Content > renders help section version without crashing: src/components/GovernanceOverview/index.test.tsx#L22
Error: Snapshot `Governance Overview Content > renders help section version without crashing 1` mismatched - Expected + Received @@ -62,14 +62,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Why does the governance process exist? </button> ❯ src/components/GovernanceOverview/index.test.tsx:22:26
src/components/HelpBreadcrumb/index.test.tsx > HelpBreadcrumb > matches the snapshot: src/components/HelpBreadcrumb/index.test.tsx#L9
Error: Snapshot `HelpBreadcrumb > matches the snapshot 1` mismatched - Expected + Received @@ -12,14 +12,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> Back to help center </button> ❯ src/components/HelpBreadcrumb/index.test.tsx:9:26
src/components/HelpFooter/index.test.tsx > Help Footer > renders: src/components/HelpFooter/index.test.tsx#L14
Error: Snapshot `Help Footer > renders 1` mismatched - Expected + Received @@ -35,14 +35,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /> </svg> </a> <a @@ -59,14 +55,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /> </svg> </a> <a @@ -83,14 +75,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /> </svg> </a> </div> ❯ src/components/HelpFooter/index.test.tsx:14:26
src/components/PrepareForGRT/index.test.tsx > Prepare for GRT > renders without crashing: src/components/PrepareForGRT/index.test.tsx#L10
Error: Snapshot `Prepare for GRT > renders without crashing 1` mismatched - Expected + Received @@ -64,14 +64,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Capital Planning and Investment Control (CPIC) </button> @@ -98,14 +94,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Enterprise Architecture and Data </button> @@ -132,14 +124,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Shared Services and Data Hosting </button> @@ -166,14 +154,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> IT Security/Privacy </button> ❯ src/components/PrepareForGRT/index.test.tsx:10:26
src/components/PrepareForGRT/index.test.tsx > Prepare for GRT > renders help mode without crashing: src/components/PrepareForGRT/index.test.tsx#L19
Error: Snapshot `Prepare for GRT > renders help mode without crashing 1` mismatched - Expected + Received @@ -84,14 +84,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Capital Planning and Investment Control (CPIC) </button> @@ -118,14 +114,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Enterprise Architecture and Data </button> @@ -152,14 +144,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> Shared Services and Data Hosting </button> @@ -186,14 +174,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> IT Security/Privacy </button> ❯ src/components/PrepareForGRT/index.test.tsx:19:26
src/components/Sidepanel/index.test.tsx > Sidepanel > matches snapshot: src/components/Sidepanel/index.test.tsx#L49
Error: Snapshot `Sidepanel > matches snapshot 1` mismatched - Expected + Received @@ -42,14 +42,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" /> </svg> </button> <h4 ❯ src/components/Sidepanel/index.test.tsx:49:26
src/components/SystemCard/index.test.tsx > System Card Componenet > matches snapshot: src/components/SystemCard/index.test.tsx#L133
Error: Snapshot `System Card Componenet > matches snapshot 1` mismatched - Expected + Received @@ -83,14 +83,10 @@ viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path - d="M0 0h24v24H0z" - fill="none" - /> - <path d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" /> </svg> </a> </div> ❯ src/components/SystemCard/index.test.tsx:133:26
Run_Tests / e2e_tests
Process completed with exit code 1.
Legacy key/value format with whitespace separator should not be used: Dockerfile.frontend_k8s#L5
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: Dockerfile.frontend_k8s#L31
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "VITE_LOCAL_AUTH_ENABLED") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Artifacts

Produced during runtime
Name Size
CMS-Enterprise~easi-app~FTVUKH.dockerbuild
72 KB
CMS-Enterprise~easi-app~GIFRW7+2.dockerbuild
122 KB
CMS-Enterprise~easi-app~Q54P4Q.dockerbuild
43.1 KB
CMS-Enterprise~easi-app~SPKGL7.dockerbuild
28.4 KB
backend-tests
1.91 MB
cypress-screenshots
178 KB
cypress-videos
43.2 MB
test-frontend-assets
3.02 MB