Add tooltip for button when no resources are available in ConsentDeta… #30
portal-frontend-ci.yml
on: push
portal-frontend-ci
35s
Annotations
2 errors and 1 warning
|
portal-frontend-ci
Process completed with exit code 1.
|
|
src/__tests__/ConsentRegistryModals.test.tsx > consent registry dialogs > calls revocation handlers from confirmation dialog:
portal/frontend/src/__tests__/ConsentRegistryModals.test.tsx#L75
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/revoke all data/i`
Here are the accessible roles:
presentation:
Name "":
<div
class="MuiDialog-root MuiModal-root css-fufjs8-MuiModal-root-MuiDialog-root"
role="presentation"
/>
Name "":
<div
class="MuiDialog-container MuiDialog-scrollPaper css-45uc01-MuiDialog-container"
role="presentation"
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
tabindex="-1"
/>
--------------------------------------------------
dialog:
Name "Confirm Revocation Are you sure you want to revoke consent? Consent ID: consent-456":
<div
aria-labelledby="_r_5_"
aria-modal="true"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-1tsv9dr-MuiPaper-root-MuiDialog-paper"
role="dialog"
style="--Paper-shadow: var(--oxygen-shadows-24); --Paper-overlay: var(--oxygen-overlays-24);"
/>
--------------------------------------------------
heading:
Name "Confirm Revocation Are you sure you want to revoke consent? Consent ID: consent-456":
<h2
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-9n7btr-MuiTypography-root-MuiDialogTitle-root"
id="_r_5_"
/>
Name "Confirm Revocation":
<h6
class="MuiTypography-root MuiTypography-h6 css-zq9vj7-MuiTypography-root"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="MuiTypography-root MuiTypography-body2 css-1t0lgyd-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body2 css-1t0lgyd-MuiTypography-root"
/>
--------------------------------------------------
button:
Name "Revoke Consents":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-fullWidth MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-fullWidth css-80gwh4-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Cancel":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-fullWidth MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-fullWidth css-2gv8ls-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
/>
<div
aria-hidden="true"
class="MuiDialog-root MuiModal-root css-fufjs8-MuiModal-root-MuiDialog-root"
role="presentation"
>
<div
aria-hidden="true"
class="MuiBackdrop-root MuiModal-backdrop css-1cennmq-MuiBackdrop-root-MuiDialog-backdrop"
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
/>
<div
data-testid="sentinelStart"
tabindex="0"
/>
<div
class="MuiDialog-container MuiDialog-scrollPaper css-45uc01-MuiDialog-container"
role="presentation"
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
tabindex="-1"
>
<div
aria-labelledby="_r_1_"
aria-modal="true"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthSm MuiDialog-paperFullWidth css-1754i1p-MuiPaper-root-MuiDialog-paper"
role="dialog"
style="--Paper-shadow: var(--oxygen-shadows-24); --Paper-overlay: var(--oxygen-overlays-24);"
>
<h2
class="MuiTypography-root MuiTypography-h6 Mui
|
|
portal-frontend-ci
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|