Generated intake profile fields #341
run-tests.yml
on: pull_request
test-api
1m 41s
test-app
50s
Annotations
4 errors and 1 warning
src/components/dashboard/__tests__/DashboardTask.test.tsx > DashboardTask > when the task is in progress > should render a button to start the task:
app/src/components/dashboard/__tests__/DashboardTask.test.tsx#L55
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Start Application"
Here are the accessible roles:
paragraph:
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-eflgtu-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1i3qtig-MuiTypography-root"
/>
--------------------------------------------------
link:
Name "Start Application":
<a
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth css-1mjs0vt-MuiButtonBase-root-MuiButton-root"
href="/guest-application"
tabindex="0"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiStack-root css-b1cmn5-MuiStack-root"
>
<div
class="MuiBox-root css-1ay9vb9"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-8g9sun-MuiSvgIcon-root"
data-testid="AccessTimeIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
/>
<path
d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
/>
</svg>
</div>
<div
class="MuiStack-root css-bl2hyt-MuiStack-root"
>
<div
class="MuiStack-root css-16f6p1q-MuiStack-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-eflgtu-MuiTypography-root"
>
Application
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-1i3qtig-MuiTypography-root"
>
Start your guest application to move on to the next step.
</p>
</div>
<div
class="MuiStack-root css-1vkv4qe-MuiStack-root"
>
<a
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth css-1mjs0vt-MuiButtonBase-root-MuiButton-root"
href="/guest-application"
tabindex="0"
>
Start Application
</a>
</div>
</div>
</div>
</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/components/dashboard/__tests__/DashboardTask.test.tsx:55:29
|
src/components/dashboard/__tests__/DashboardTask.test.tsx > DashboardTask > when the task is complete > should render a disabled button:
app/src/components/dashboard/__tests__/DashboardTask.test.tsx#L74
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Start Application"
Here are the accessible roles:
paragraph:
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-eflgtu-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1i3qtig-MuiTypography-root"
/>
--------------------------------------------------
link:
Name "Start Application":
<a
aria-disabled="true"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth Mui-disabled MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth css-1mjs0vt-MuiButtonBase-root-MuiButton-root"
href="/guest-application"
tabindex="-1"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiStack-root css-b1cmn5-MuiStack-root"
>
<div
class="MuiBox-root css-1ay9vb9"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-4b67si-MuiSvgIcon-root"
data-testid="CheckCircleOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"
/>
</svg>
</div>
<div
class="MuiStack-root css-bl2hyt-MuiStack-root"
>
<div
class="MuiStack-root css-16f6p1q-MuiStack-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-eflgtu-MuiTypography-root"
>
Application
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-1i3qtig-MuiTypography-root"
>
Start your guest application to move on to the next step.
</p>
</div>
<div
class="MuiStack-root css-1vkv4qe-MuiStack-root"
>
<a
aria-disabled="true"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth Mui-disabled MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth css-1mjs0vt-MuiButtonBase-root-MuiButton-root"
href="/guest-application"
tabindex="-1"
>
Start Application
</a>
</div>
</div>
</div>
</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/components/dashboard/__tests__/DashboardTask.test.tsx:74:29
|
test-app
Process completed with exit code 1.
|
test-api
Process completed with exit code 1.
|
test-api
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|