feat: Replace craco with vite #5564
pull-request.yml
on: pull_request
Check file changes
6s
Run Integration tests
5m 27s
Run API Tests
0s
Run React Tests
5m 19s
Generate Hasura Change Summary
0s
E2E tests
9m 48s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
32s
Annotations
3 errors, 7 warnings, and 1 notice
src/@planx/components/PlanningConstraints/Public.test.tsx:
editor.planx.uk/src/@planx/components/PlanningConstraints/Public.test.tsx#L12
TypeError: Cannot redefine property: default
❯ src/@planx/components/PlanningConstraints/Public.test.tsx:12:4
|
src/pages/FlowEditor/components/Settings/tests/ServiceSettings/PublicLinks.test.tsx > A team without a subdomain has an online, published service. > can be copied to the clipboard:
editor.planx.uk/src/pages/FlowEditor/components/Settings/tests/ServiceSettings/PublicLinks.test.tsx#L235
TestingLibraryElementError: Found multiple elements with the text: copied
Here are the matching elements:
Ignored nodes: comments, script, style
<span
class="MuiTypography-root MuiTypography-body3 css-k391x1-MuiTypography-root"
>
copied
</span>
Ignored nodes: comments, script, style
<div
class="MuiTooltip-tooltip MuiTooltip-tooltipPlacementBottom css-24uyxt-MuiTooltip-tooltip"
style="opacity: 1; transform: none; transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 133ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
>
copied
</div>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthFormWrap css-1t8pvvd-MuiContainer-root"
>
<form
class="MuiBox-root css-uewl2b"
>
<div
class="MuiBox-root css-5cyujn"
>
<h3
class="MuiTypography-root MuiTypography-h2 MuiTypography-gutterBottom css-mn4f0i-MuiTypography-root"
>
Elements
</h3>
<p
class="MuiTypography-root MuiTypography-body1 css-1o0jdks-MuiTypography-root"
>
Manage the features that users will be able to see.
</p>
</div>
<div
class="MuiBox-root css-ff6yhv"
>
<div
class="MuiBox-root css-8atqhb"
>
<div
class="MuiBox-root css-5j9lg0"
>
<span
class="MuiSwitch-root MuiSwitch-sizeMedium css-o47vz4-MuiSwitch-root"
>
<span
class="MuiButtonBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary PrivateSwitchBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary css-b0qddi-MuiButtonBase-root-MuiSwitch-switchBase"
>
<input
class="PrivateSwitchBase-input MuiSwitch-input css-1m9pwf3"
name="elements.legalDisclaimer.show"
type="checkbox"
/>
<span
class="MuiSwitch-thumb css-jsexje-MuiSwitch-thumb"
/>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</span>
<span
class="MuiSwitch-track css-1yjjitx-MuiSwitch-track"
/>
</span>
<h5
class="MuiTypography-root MuiTypography-h4 css-2umzq4-MuiTypography-root"
>
Legal Disclaimer
</h5>
</div>
<div
class="MuiBox-root css-1r2f04i"
>
<div
class="MuiTypography-root MuiTypography-body2 css-1n75twp-MuiTypography-root"
>
Displayed before a user submits their application
</div>
</div>
<div
class="MuiBox-root css-1cx2wey"
>
<div
class="inputRowItem MuiBox-root css-1xv2n03"
>
<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-12se4f-MuiInputBase-root"
>
<input
class="MuiInputBase-input css-56d0vk-MuiInputBase-input"
name="elements.legalDisclaimer.heading"
placeholder="Heading"
type="text"
value=""
/>
</div>
</div>
</div>
</div>
<div
|
Run React Tests
Process completed with exit code 1.
|
Check file changes
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run React Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L93
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L87
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L96
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L131
Unexpected use of networkidle
|
🎭 Playwright Run Summary
19 passed (46.9s)
|