fix(recipe): protect recipe edits from conflicts, leaving and sign-out #147
Triggered via pull request
November 17, 2026 15:46
Status
Failure
Total duration
2m 20s
Artifacts
–
Annotations
2 errors
|
apps/web/src/features/auth/RequireAuth.test.tsx > protected routes with session restoration > redirects a logged-out visitor from /cookbook:
apps/web/src/features/auth/RequireAuth.test.tsx#L56
TestingLibraryElementError: Unable to find role="heading" and name "Log in"
Ignored nodes: comments, script, style
<body>
<div>
<div
class="app-shell"
>
<a
class="app-shell__skip-link"
href="#main-content"
>
Skip to main content
</a>
<header
class="site-header"
>
<div
class="container site-header__inner"
>
<a
aria-label="Recipe Platform"
class="brand"
data-discover="true"
href="/"
>
<svg
aria-hidden="true"
class="brand-logo-mark"
fill="currentColor"
focusable="false"
height="3.35rem"
viewBox="0 0 576 576"
width="3.35rem"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="288"
cy="291"
fill="none"
r="216"
stroke="currentColor"
stroke-width="28"
/>
<rect
height="119"
rx="15"
width="30"
x="160"
y="163"
/>
<rect
height="119"
rx="15"
width="30"
x="202"
y="163"
/>
<rect
height="119"
rx="15"
width="30"
x="245"
y="163"
/>
<path
d="M160 270h115v7c0 25-16 44-42 52v163h-31V329c-26-8-42-27-42-52v-7Z"
/>
<path
d="M363 162c-40 0-72 39-72 89 0 42 20 71 49 83 5 2 7 6 7 12v146h32V346c0-6 2-10 7-12 29-12 49-41 49-83 0-50-32-89-72-89Z"
/>
</svg>
</a>
<button
aria-controls="primary-navigation"
aria-expanded="false"
aria-label="Open navigation menu"
class="icon-button icon-button--primary icon-button--md menu-toggle"
type="button"
>
<svg
aria-hidden="true"
class="ui-icon ui-icon--inherit ui-icon--stroke-default"
fill="none"
focusable="false"
height="var(--icon-size-lg)"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="var(--icon-stroke-default)"
style="width: var(--icon-size-lg); height: var(--icon-size-lg); flex-shrink: 0;"
viewBox="0 0 24 24"
width="var(--icon-size-lg)"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4 7h16M4 12h16M4 17h16"
/>
</svg>
</button>
<div
class="site-header__controls"
id="primary-navigation"
>
<nav
aria-label="Primary navigation"
class="primary-navigation"
>
<a
class="primary-navigation__link"
data-discover="true"
href="/"
>
<svg
aria-hidden="true"
class="ui-icon ui-icon--inherit ui-icon--stroke-default navigation-link__icon"
fill="none"
focusable="false"
height="var(--icon-size-md)"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="var(--icon-stroke-default)"
style="width: var(--icon-size-md); height: var(--icon-size-md); flex-shrink: 0;"
viewBox="0 0 24 24"
width="var(--icon-size-md)"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M3 10.5 12 3l9 7.5"
/>
|
|
quality
Process completed with exit code 1.
|