feat(add): frontend enhancements, performance optimizations, and role-based access controls #384
Annotations
2 errors and 1 warning
|
Run unit tests
Process completed with exit code 1.
|
|
Run unit tests:
src/pages/__tests__/AdoptionTimelinePage.test.tsx#L100
TestingLibraryElementError: Unable to find an element by: [data-testid="timeline-entry-latest"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="mx-auto max-w-3xl p-4 md:p-8"
>
<div
class="mb-8"
>
<a
class="inline-flex items-center gap-2 text-sm text-gray-500 hover:text-gray-900 mb-4 transition-colors"
data-discover="true"
href="/adoption/123"
>
<svg
aria-hidden="true"
class="lucide lucide-arrow-left h-4 w-4"
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="m12 19-7-7 7-7"
/>
<path
d="M19 12H5"
/>
</svg>
Back to Adoption
</a>
<h1
class="text-2xl font-bold text-gray-900 mb-2"
>
Adoption Timeline
</h1>
<p
class="text-gray-600"
>
Track the status of adoption #
123
</p>
</div>
<div
class="bg-white rounded-xl shadow-sm border border-gray-100 p-6"
>
<div
class="space-y-8"
>
<div>
<h3
class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4 px-3"
>
Today
</h3>
<ul
class="relative"
>
<div
aria-hidden="true"
class="absolute top-0 bottom-0 left-8 w-px bg-gray-200"
/>
<div
class="relative z-10 "
data-testid="timeline-entry"
>
<div
data-testid="mock-timeline-entry"
>
Alice
-
ESCROW_FUNDED
</div>
</div>
</ul>
</div>
<div>
<h3
class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4 px-3"
>
Earlier
</h3>
<ul
class="relative"
>
<div
aria-hidden="true"
class="absolute top-0 bottom-0 left-8 w-px bg-gray-200"
/>
<div
class="relative z-10 "
data-testid="timeline-entry"
>
<div
data-testid="mock-timeline-entry"
>
System
-
ESCROW_CREATED
</div>
</div>
</ul>
</div>
</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/pages/__tests__/AdoptionTimelinePage.test.tsx:100:32
|
|
Complete job
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. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
background
wait
wait-all
cancel
Loading