feat: add pagination for alerts table #201
Annotations
2 errors and 2 warnings
Run tests:
src/components/__tests__/Dashboard.test.tsx#L341
AssertionError: expected 15 to be less than 15
Ignored nodes: comments, script, style
<html>
<head />
<body>
<span
aria-hidden="true"
id="recharts_measurement_span"
style="position: absolute; top: -20000px; left: 0px; padding: 0px; margin: 0px; white-space: pre;"
>
9
</span>
<div>
<div
class="group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-gray-25"
style="--sidebar-width: 16rem; --sidebar-width-icon: 3rem;"
>
<div
class="flex-col"
>
<div
class="grid 2xl:grid-cols-4 sm:grid-cols-2 grid-cols-1 items-stretch gap-4 w-full"
>
<section
class="relative overflow-hidden rounded border border-gray-400 bg-base h-full flex flex-col"
>
<header
class="flex items-center bg-gray-50 px-6 py-4"
>
<h3
class="font-title font-semibold text-primary mb-0 truncate text-xl flex justify-between items-center"
slot="title"
>
<span
class="block"
>
CodeGate Status
</span>
</h3>
<button
class="outline outline-0 outline-offset-2 outline-brand-700 forced-colors:outline-[Highlight] inline-flex shrink-0 cursor-pointer items-center justify-center gap-1 rounded-sm border px-4 py-2 text-center text-base font-medium [&_svg]:size-4 [&_svg]:shrink-0 border-transparent bg-transparent text-primary hover:bg-gray-100 pressed:bg-gray-200 disabled:bg-transparent disabled:text-disabled focus-within:&:has([data-focus-visible]):outline-2 invalid:!outline-red-700 focus-visible:outline-2 size-7 ml-auto -mr-2"
data-rac=""
id="react-aria-:r8a:"
type="button"
>
<svg
class="lucide lucide-refresh-ccw"
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="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"
/>
<path
d="M3 3v5h5"
/>
<path
d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"
/>
<path
d="M16 16h5v5"
/>
</svg>
</button>
</header>
<div
class="shrink grow px-6 py-4 h-max"
>
<span
data-focus-scope-start="true"
hidden=""
/>
<table
aria-describedby=""
aria-label="CodeGate status checks"
class="group/table w-full border-separate border-spacing-0 h-max"
data-rac=""
id="react-aria-:r8c:"
role="grid"
tabindex="0"
>
<thead
class="hidden"
data-rac=""
role="rowgroup"
>
<tr
role="row"
>
<th
class="subhead-bold cursor-default bg-gray-50 px-6 py-4 text-start font-semibold text-tertiary group-data-[compact]/table:first:pl-0 group-data-[compact]/table:last:pr-0 hover:cursor-pointer hover:text-secondary [&:focus-within]:z-20 [&:hover]:z-20"
data-key="react-aria-1"
data-rac=""
id="re
|
Run tests
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading