[DNM] debug create-react-admin on CI #9626
Annotations
2 errors and 1 warning
Run the tests:
myadmin/src/App.spec.tsx#L30
TestingLibraryElementError: Unable to find an element with the text: Post 1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="layout css-1n2f7rh-RaLayout-root"
>
<button
aria-label="Skip to content"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary skip-nav-button css-mw0upy-MuiButtonBase-root-MuiButton-root-RaButton-root-RaSkipNavigationButton-root"
id=":re:"
tabindex="0"
type="button"
>
Skip to content
</button>
<div
class="RaLayout-appFrame"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorSecondary MuiAppBar-positionFixed mui-fixed css-m96m1e-MuiPaper-root-MuiAppBar-root-RaAppBar-root"
style="--Paper-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);"
>
<div
class="MuiToolbar-root MuiToolbar-dense RaAppBar-toolbar css-10po6k9-MuiToolbar-root"
>
<button
aria-label="Close menu"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeMedium RaAppBar-menuButton css-160m840-MuiButtonBase-root-MuiIconButton-root-RaSidebarToggleButton-root"
data-mui-internal-clone-element="true"
id=":rg:"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root RaSidebarToggleButton-menuButtonIconOpen MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="MenuIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h6
class="MuiTypography-root MuiTypography-h6 RaAppBar-title css-1hbwnqi-MuiTypography-root"
id="react-admin-title"
/>
<button
aria-label="Toggle light/dark mode"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeMedium css-h7cjts-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
id=":ri:"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="Brightness4Icon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"
/>
</svg>
</button>
<div
class="css-xrbcw0-RaLoadingIndicator-root"
>
<button
aria-label="Refresh"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeMedium RaLoadingIndicator-loadedIcon false css-h7cjts-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
id=":rk:"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading