feat(fee-breakdown): Make Pay component data field a static value #7066
pull-request.yml
on: pull_request
Check file changes
7s
Run Integration tests
4m 57s
Run API Tests
0s
Run React Tests
6m 30s
Generate Hasura Change Summary
0s
E2E tests
10m 18s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
33s
Annotations
3 errors, 6 warnings, and 1 notice
src/@planx/components/Pay/Editor/Editor.test.tsx > Pay component - Editor Modal > GOV.UK Pay Metadata section > allows new values to be added:
editor.planx.uk/src/@planx/components/Pay/Editor/Editor.test.tsx#L142
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<form
action="#"
id="modal"
name="modal"
>
<div
class="modalSection MuiBox-root css-1h2l06g"
>
<div
class="MuiGrid-root MuiGrid-container css-17r7e48-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-1tqt9bz-MuiGrid-root"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="PaymentOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"
/>
</svg>
</div>
<div
class="MuiGrid-root MuiGrid-item css-1thsrfj-MuiGrid-root"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-1v5cebv-MuiTypography-root"
>
Payment
</h3>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-qsaw8"
data-testid="error-wrapper"
role="alert"
>
<p
class="MuiTypography-root MuiTypography-body1 css-l4bkyg-MuiTypography-root"
/>
<div
class="MuiInputBase-root MuiInputBase-colorPrimary css-18g7fvf-MuiInputBase-root"
>
<input
class="MuiInputBase-input css-1dj7bbi-MuiInputBase-input"
name="title"
placeholder="Page title"
type="text"
value="Pay for your application"
/>
</div>
</div>
</div>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-qsaw8"
data-testid="error-wrapper"
role="alert"
>
<p
class="MuiTypography-root MuiTypography-body1 css-l4bkyg-MuiTypography-root"
/>
<div
class="MuiInputBase-root MuiInputBase-colorPrimary css-18g7fvf-MuiInputBase-root"
>
<input
class="MuiInputBase-input css-1dj7bbi-MuiInputBase-input"
name="bannerTitle"
placeholder="Banner title"
type="text"
value="The planning fee for this application is"
/>
</div>
</div>
</div>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-1kmsnlx"
>
<div>
<div
class="tiptap ProseMirror"
contenteditable="true"
tabindex="0"
translate="no"
>
<p>
The planning fee covers the cost of processing your application.
<a
href="https://www.gov.uk/guidance/fees-for-planning-applications"
rel="noopener noreferrer nofollow"
target="_self"
>
Find out more about how planning fees are calculated
</a>
(opens in new tab).
</p>
</div>
|
src/@planx/components/Pay/Editor/Editor.test.tsx > Pay component - Editor Modal > GOV.UK Pay Metadata section > allows new values to be deleted:
editor.planx.uk/src/@planx/components/Pay/Editor/Editor.test.tsx#L179
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<form
action="#"
id="modal"
name="modal"
>
<div
class="modalSection MuiBox-root css-1h2l06g"
>
<div
class="MuiGrid-root MuiGrid-container css-17r7e48-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-1tqt9bz-MuiGrid-root"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="PaymentOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"
/>
</svg>
</div>
<div
class="MuiGrid-root MuiGrid-item css-1thsrfj-MuiGrid-root"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-1v5cebv-MuiTypography-root"
>
Payment
</h3>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-qsaw8"
data-testid="error-wrapper"
role="alert"
>
<p
class="MuiTypography-root MuiTypography-body1 css-l4bkyg-MuiTypography-root"
/>
<div
class="MuiInputBase-root MuiInputBase-colorPrimary css-18g7fvf-MuiInputBase-root"
>
<input
class="MuiInputBase-input css-1dj7bbi-MuiInputBase-input"
name="title"
placeholder="Page title"
type="text"
value="Pay for your application"
/>
</div>
</div>
</div>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-qsaw8"
data-testid="error-wrapper"
role="alert"
>
<p
class="MuiTypography-root MuiTypography-body1 css-l4bkyg-MuiTypography-root"
/>
<div
class="MuiInputBase-root MuiInputBase-colorPrimary css-18g7fvf-MuiInputBase-root"
>
<input
class="MuiInputBase-input css-1dj7bbi-MuiInputBase-input"
name="bannerTitle"
placeholder="Banner title"
type="text"
value="The planning fee for this application is"
/>
</div>
</div>
</div>
<div
class="MuiBox-root css-1vg8n85"
>
<div
class="MuiBox-root css-1kmsnlx"
>
<div>
<div
class="tiptap ProseMirror"
contenteditable="true"
tabindex="0"
translate="no"
>
<p>
The planning fee covers the cost of processing your application.
<a
href="https://www.gov.uk/guidance/fees-for-planning-applications"
rel="noopener noreferrer nofollow"
target="_self"
>
Find out more about how planning fees are calculated
</a>
(opens in new tab).
</p>
</div>
|
Run React Tests
Process completed with exit code 1.
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L89
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L131
Unexpected use of networkidle
|
Slow Test:
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts took 33.1s
|
Slow Test:
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 20.0s
|
🎭 Playwright Run Summary
22 passed (1.5m)
|