Skip to content

WIP Pagination updates #7105

WIP Pagination updates

WIP Pagination updates #7105

Triggered via push January 31, 2025 23:56
Status Failure
Total duration 4m 37s
Artifacts 2
accessibility-test
54s
accessibility-test
unit-test-frontend  /  Unit test user-interface
1m 29s
unit-test-frontend / Unit test user-interface
unit-test-backend  /  Unit test backend
1m 38s
unit-test-backend / Unit test backend
unit-test-common  /  Unit test common
27s
unit-test-common / Unit test common
Security  /  ...  /  SCA Scan ${{ inputs.path }}
0s
Security / sca-scan-frontend / SCA Scan ${{ inputs.path }}
Security  /  ...  /  SCA Scan ${{ inputs.path }}
0s
Security / sca-scan-backend-lib / SCA Scan ${{ inputs.path }}
Security  /  ...  /  SCA Scan ${{ inputs.path }}
0s
Security / sca-scan-backend-api / SCA Scan ${{ inputs.path }}
Security  /  ...  /  SCA Scan ${{ inputs.path }}
0s
Security / sca-scan-backend-dataflows / SCA Scan ${{ inputs.path }}
Security  /  ...  /  SCA Scan ${{ inputs.path }}
0s
Security / sca-scan-common / SCA Scan ${{ inputs.path }}
Security  /  SAST Pipeline Scan
4m 28s
Security / SAST Pipeline Scan
Build  /  ...  /  build-frontend
57s
Build / Build Frontend Predeployment / build-frontend
Build  /  backend
57s
Build / backend
Cloud Resource Deployment  /  ...  /  deploy-azure-infrastructure
Cloud Resource Deployment / Azure Infrastructure / deploy-azure-infrastructure
Cloud Resource Deployment  /  ...  /  build-frontend
Cloud Resource Deployment / Build Frontend for deployment / build-frontend
Cloud Resource Deployment  /  ...  /  deploy-db
Cloud Resource Deployment / ComosDb / deploy-db
deploy  /  ...  /  deploy-backend-slot-resources
deploy / deploy-slot-resources / deploy-backend-slot-resources / deploy-backend-slot-resources
deploy  /  ...  /  deploy-frontend-slot-resources
deploy / deploy-slot-resources / deploy-frontend-slot-resources / deploy-frontend-slot-resources
Slot Code Deployment  /  deploy-api-slot
Slot Code Deployment / deploy-api-slot
Slot Code Deployment  /  deploy-dataflows-slot
Slot Code Deployment / deploy-dataflows-slot
Slot Code Deployment  /  deploy-webapp-slot
Slot Code Deployment / deploy-webapp-slot
Slot Code Deployment  /  ...  /  deploy-api
Slot Code Deployment / Slot Code Deployment / deploy-api
Slot Code Deployment  /  ...  /  deploy-dataflows-app
Slot Code Deployment / Slot Code Deployment / deploy-dataflows-app
Slot Code Deployment  /  ...  /  deploy-webapp
Slot Code Deployment / Slot Code Deployment / deploy-webapp
deploy-code-slot  /  ...  /  endpoint-test-application
deploy-code-slot / endpoint-test-application-slot / endpoint-test-application
deploy-code-slot  /  ...  /  endpoint-test-application
deploy-code-slot / deploy-code / endpoint-test-application / endpoint-test-application
deploy-code-slot  /  ...  /  playwright-e2e-test
deploy-code-slot / execute-e2e-test / playwright-e2e-test
Slot Code Deployment  /  ...  /  enable-access
Slot Code Deployment / Slot Code Deployment / enable-access
Slot Code Deployment  /  swap-dataflows-app-deployment-slot
Slot Code Deployment / swap-dataflows-app-deployment-slot
Slot Code Deployment  /  swap-nodeapi-deployment-slot
Slot Code Deployment / swap-nodeapi-deployment-slot
Slot Code Deployment  /  swap-webapp-deployment-slot
Slot Code Deployment / swap-webapp-deployment-slot
deploy-code-slot  /  ...  /  endpoint-test-application
deploy-code-slot / endpoint-test-application-post-swap / endpoint-test-application
Slot Code Deployment  /  enable-access
Slot Code Deployment / enable-access
Fit to window
Zoom out
Zoom in

Annotations

26 errors
accessibility-test
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
accessibility-test
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
accessibility-test
Type 'CaseSummary[]' is not assignable to type 'SyncedCase[]'.
accessibility-test
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
accessibility-test
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
accessibility-test
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
accessibility-test
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
accessibility-test
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
accessibility-test
Process completed with exit code 2.
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should call retrievePage correctly for next page number button: user-interface/src/lib/components/uswds/Pagination.test.tsx#L45
TestingLibraryElementError: Unable to find an element by: [data-testid="pagination-button-page-2-results"] Ignored nodes: comments, script, style <body> <div> <nav aria-label="Pagination" class="usa-pagination" > <ul class="usa-pagination__list" > <li class="usa-pagination__item usa-pagination__page-no" > <button aria-current="page" aria-label="Page 1" class="usa-pagination__button usa-current" data-testid="pagination-button-page-1-results" tabindex="0" > 1 </button> </li> <li class="usa-pagination__item usa-pagination__arrow" > <button aria-label="Next page" class="usa-pagination__link usa-pagination__next-page usa-button--unstyled" data-testid="pagination-button-next-results" tabindex="0" > <span class="usa-pagination__link-text" > Next </span> <svg aria-hidden="true" class="usa-icon " data-testid="icon" focusable="false" role="img" > <use xlink:href="/assets/styles/img/sprite.svg#navigate_next" /> </svg> </button> </li> </ul> </nav> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/lib/components/uswds/Pagination.test.tsx:45:34
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should render page 1, page 2, ellipses, and next: user-interface/src/lib/components/uswds/Pagination.test.tsx#L183
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/lib/components/uswds/Pagination.test.tsx:183:27
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should render previous, page 1, page 2, page 3, ellipses, and next: user-interface/src/lib/components/uswds/Pagination.test.tsx#L204
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/lib/components/uswds/Pagination.test.tsx:204:29
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should render previous, page 1, page 2, page 3, page 4, ellipses, and next: user-interface/src/lib/components/uswds/Pagination.test.tsx#L227
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/lib/components/uswds/Pagination.test.tsx:227:28
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should render previous, page 1, page 2, page 3, page 4, page 5, ellipses, and next: user-interface/src/lib/components/uswds/Pagination.test.tsx#L252
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/lib/components/uswds/Pagination.test.tsx:252:28
src/lib/components/uswds/Pagination.test.tsx > Pagination tests > should render previous, page 1, ellipses, page 4, page 5, page 6, ellipses, and next: user-interface/src/lib/components/uswds/Pagination.test.tsx#L279
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/lib/components/uswds/Pagination.test.tsx:279:27
unit-test-frontend / Unit test user-interface
Process completed with exit code 1.
unit-test-backend / Unit test backend
Process completed with exit code 1.
Build / Build Frontend Predeployment / build-frontend
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
Build / Build Frontend Predeployment / build-frontend
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
Build / Build Frontend Predeployment / build-frontend
Type 'CaseSummary[]' is not assignable to type 'SyncedCase[]'.
Build / Build Frontend Predeployment / build-frontend
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
Build / Build Frontend Predeployment / build-frontend
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
Build / Build Frontend Predeployment / build-frontend
Argument of type 'ResponseBody<CaseBasics[]>' is not assignable to parameter of type 'void | ResponseBody<SyncedCase[]>'.
Build / Build Frontend Predeployment / build-frontend
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
Build / Build Frontend Predeployment / build-frontend
Type 'CaseBasics[]' is not assignable to type 'SyncedCase[]'.
Build / Build Frontend Predeployment / build-frontend
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
ustp-cams-dev-fb013d-dataflows-build
39.3 MB
ustp-cams-dev-fb013d-node-api-build
39.3 MB