test github actions with failing test #3
Annotations
2 errors
Run npm run test:
src/contentComponents/regularComponents/Menu/menu.test.tsx#L124
TestingLibraryElementError: Unable to find role="link" and name `/GitHub2/i`
Ignored nodes: comments, script, style
<body
data-scroll-locked="1"
style="pointer-events: none;"
>
<span
aria-hidden="true"
data-aria-hidden="true"
data-radix-focus-guard=""
style="outline: none; opacity: 0; position: fixed; pointer-events: none;"
tabindex="0"
/>
<div
aria-hidden="true"
data-aria-hidden="true"
>
<div
class="m-4 flex items-center justify-center md:m-12 md:justify-start"
>
<button
aria-controls="radix-:rl:"
aria-expanded="true"
aria-haspopup="menu"
class="z-10 rounded-3xl border-2 border-black bg-white px-6 py-2 font-menu text-3xl font-semibold
shadow-[1px_1px_rgba(0,0,0),2px_2px_rgba(0,0,0),3px_3px_rgba(0,0,0),4px_4px_rgba(0,0,0),5px_5px_0px_0px_rgba(0,0,0)]
"
data-state="open"
id="radix-:rk:"
type="button"
>
Menu
</button>
</div>
</div>
<div
data-radix-popper-content-wrapper=""
dir="ltr"
style="position: fixed; left: 0px; top: 0px; transform: translate(0px, 4px); min-width: max-content; --radix-popper-available-width: 0px; --radix-popper-available-height: -4px; --radix-popper-anchor-width: 0px; --radix-popper-anchor-height: 0px; --radix-popper-transform-origin: 50% 0px;"
>
<div
aria-labelledby="radix-:rk:"
aria-orientation="vertical"
class="z-50 overflow-hidden p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 mt-2 min-w-52 rounded-3xl border-2 border-black bg-white font-menu text-lg shadow-[1px_1px_rgba(0,0,0),2px_2px_rgba(0,0,0),3px_3px_rgba(0,0,0),4px_4px_rgba(0,0,0),5px_5px_0px_0px_rgba(0,0,0)]"
data-align="center"
data-orientation="vertical"
data-radix-menu-content=""
data-side="bottom"
data-state="open"
dir="ltr"
id="radix-:rl:"
role="menu"
style="outline: none; --radix-dropdown-menu-content-transform-origin: var(--radix-popper-transform-origin); --radix-dropdown-menu-content-available-width: var(--radix-popper-available-width); --radix-dropdown-menu-content-available-height: var(--radix-popper-available-height); --radix-dropdown-menu-trigger-width: var(--radix-popper-anchor-width); --radix-dropdown-menu-trigger-height: var(--radix-popper-anchor-height); pointer-events: auto;"
tabindex="-1"
>
<div
class="p-2"
data-orientation="vertical"
>
<div
class="border-b"
data-orientation="vertical"
data-state="closed"
>
<h3
class="flex"
data-orientation="vertical"
data-state="closed"
>
<button
aria-controls="radix-:rn:"
aria-expanded="false"
class="flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180 px-3 hover:no-underline"
data-orientation="vertical"
data-radix-collection-item=""
data-state="closed"
id="radix-:rm:"
type="button"
>
Navigation
<svg
class="lucide lucide-chevron-down h-4 w-4 shrink-0 transition-transform duration-200"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m6 9 6 6 6-6"
/>
</svg>
</button>
</h3>
|
Run npm run test
Process completed with exit code 1.
|
Loading