ORV2-2848 - FE: Staff Edit Application in the Queue #5208
Annotations
4 errors
Run bcgov/[email protected]:
frontend/src/features/permits/pages/Application/tests/ApplicationReview.test.tsx#L139
Error: expect(element).toHaveTextContent()
Expected element to have text content:
My Company LLC
Received:
❯ src/features/permits/pages/Application/tests/ApplicationReview.test.tsx:139:35
|
Run bcgov/[email protected]:
frontend/src/features/permits/pages/Application/tests/helpers/ApplicationReview/access.ts#L51
TestingLibraryElementError: Unable to find an element by: [data-testid="company-mail-addr-title"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="application-review"
>
<div
class="breadcrumb MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 breadcrumb__link css-1yuix93-MuiTypography-root"
>
Permits
</p>
<svg
aria-hidden="true"
class="svg-inline--fa fa-chevron-right breadcrumb__right"
data-icon="chevron-right"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 320 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"
fill="currentColor"
/>
</svg>
<p
class="MuiTypography-root MuiTypography-body1 breadcrumb__link breadcrumb__link--current css-1yuix93-MuiTypography-root"
>
Permit Application
</p>
</div>
<div
class="permit-review layout-box MuiBox-root css-0"
>
<div
class="permit-review__container MuiBox-root css-0"
>
<div
aria-describedby="warning-desc"
aria-labelledby="warning"
class="bc-gov-alertbanner bc-gov-alertbanner--warning "
role="alert"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-triangle-exclamation bc-gov-alertbanner__icon bc-gov-alertbanner__icon--warning"
data-icon="triangle-exclamation"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"
fill="currentColor"
/>
</svg>
<div
class="bc-gov-alertbanner__info"
>
<div
class="bc-gov-alertbanner__msg"
id="warning-desc"
>
Please review and confirm that the information below is correct.
</div>
</div>
</div>
<div
class="application-details"
>
<h1
class="MuiTypography-root MuiTypography-h1 application-details__title css-113xlz1-MuiTypography-root"
data-testid="application-title"
>
Term Oversize
</h1>
<div
class="MuiBox-root css-0"
>
<h2
class="MuiTypography-root MuiTypography-h2 application-number css-1rer9f-MuiTypography-root"
>
<span
class="application-number__label MuiBox-root css-0"
>
Application #:
</span>
<span
class="application-number__number MuiBox-root css-0"
data-testid="application-number"
>
A1-00000001-800-R01
</span>
</h2>
<div
class="application-details__audit-dates MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 audit-date audit-date--created css-1yuix93-MuiTypography-root"
>
<span
class="audit-date__label MuiBox-root css-0"
>
Date Created:
</span
|
Run bcgov/[email protected]:
frontend/src/features/permits/pages/Application/tests/helpers/ApplicationReview/access.ts#L194
TestingLibraryElementError: Unable to find an element by: [data-testid="permit-attestation-checkbox-error"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="application-review"
>
<div
class="breadcrumb MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 breadcrumb__link css-1yuix93-MuiTypography-root"
>
Permits
</p>
<svg
aria-hidden="true"
class="svg-inline--fa fa-chevron-right breadcrumb__right"
data-icon="chevron-right"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 320 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"
fill="currentColor"
/>
</svg>
<p
class="MuiTypography-root MuiTypography-body1 breadcrumb__link breadcrumb__link--current css-1yuix93-MuiTypography-root"
>
Permit Application
</p>
</div>
<div
class="permit-review layout-box MuiBox-root css-0"
>
<div
class="permit-review__container MuiBox-root css-0"
>
<div
aria-describedby="warning-desc"
aria-labelledby="warning"
class="bc-gov-alertbanner bc-gov-alertbanner--warning "
role="alert"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-triangle-exclamation bc-gov-alertbanner__icon bc-gov-alertbanner__icon--warning"
data-icon="triangle-exclamation"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"
fill="currentColor"
/>
</svg>
<div
class="bc-gov-alertbanner__info"
>
<div
class="bc-gov-alertbanner__msg"
id="warning-desc"
>
Please review and confirm that the information below is correct.
</div>
</div>
</div>
<div
class="application-details"
>
<h1
class="MuiTypography-root MuiTypography-h1 application-details__title css-113xlz1-MuiTypography-root"
data-testid="application-title"
>
Term Oversize
</h1>
<div
class="MuiBox-root css-0"
>
<h2
class="MuiTypography-root MuiTypography-h2 application-number css-1rer9f-MuiTypography-root"
>
<span
class="application-number__label MuiBox-root css-0"
>
Application #:
</span>
<span
class="application-number__number MuiBox-root css-0"
data-testid="application-number"
>
A1-00000001-800-R01
</span>
</h2>
<div
class="application-details__audit-dates MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 audit-date audit-date--created css-1yuix93-MuiTypography-root"
>
<span
class="audit-date__label MuiBox-root css-0"
>
Date Created:
|
Run bcgov/[email protected]
Process completed with exit code 1.
|
Loading