16 KiB
Executable file
16 KiB
Executable file
> scriptoriumai-ui@2.0.0 test
> vitest src/__tests__/Runboard.states.test.tsx -t shows artifact inventory loading blocker --run
RUN v1.6.1 C:/ScriptoriumAI/scriptoriumai-ui
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
stderr | src/__tests__/Runboard.states.test.tsx > Runboard surface states > shows artifact inventory loading blocker for URI-based route artifact actions while route details load
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.
Γ¥» src/__tests__/Runboard.states.test.tsx (12 tests | 1 failed | 11 skipped) 1142ms
Γ¥» src/__tests__/Runboard.states.test.tsx > Runboard surface states > shows artifact inventory loading blocker for URI-based route artifact actions while route details load
→ expect(element).toHaveTextContent()
Expected element to have text content:
Artifact inventory loading...
Received:
Artifact action readiness: blocked ┬╖ Artifact inventory is loading for the selected route run.
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="h-full overflow-auto bg-gray-950 text-gray-100"
data-testid="runboard-root"
>
<div
class="max-w-7xl mx-auto px-6 py-6 space-y-6"
data-testid="runboard-surface"
>
<div
class="flex items-center justify-between gap-4"
>
<div>
<h1
class="text-2xl font-semibold text-gray-100"
>
Runboard
</h1>
<p
class="text-sm text-gray-400"
>
Queue-to-artifact visibility and failure drill-down linked to corpus run endpoints.
</p>
<p
class="text-xs text-gray-500 mt-1"
>
Shortcuts:
<span
class="font-mono"
>
R
</span>
refresh,
<span
class="font-mono"
>
J/K
</span>
next/previous run,
<span
class="font-mono"
>
Shift+R
</span>
retry failed,
<span
class="font-mono"
>
Shift+C
</span>
cancel active run,
<span
class="font-mono"
>
Y
</span>
copy run ID,
<span
class="font-mono"
>
Shift+Y
</span>
copy remediation pack,
<span
class="font-mono"
>
I
</span>
open integrity report,
<span
class="font-mono"
>
Shift+I
</span>
refresh integrity summary,
<span
class="font-mono"
>
O
</span>
open audit export.
</p>
</div>
<button
class="px-3 py-2 rounded-lg bg-gray-800 hover:bg-gray-700 text-sm transition-colors flex items-center gap-2"
>
<svg
class="lucide lucide-refresh-cw "
fill="none"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"
/>
<path
d="M21 3v5h-5"
/>
<path
d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"
/>
<path
d="M8 16H3v5"
/>
</svg>
Refresh
</button>
</div>
<div
class="rounded border border-purple-500/30 bg-purple-900/10 p-3"
data-testid="runboard-compare-remediation-route-banner"
>
<div
class="flex flex-col gap-3 lg:flex-row lg:items-start lg:justify-between"
>
<div
class="min-w-0"
>
<p
class="text-xs uppercase tracking-wide text-purple-200"
>
Compare Remediation Route
</p>
<p
class="mt-1 text-sm text-gray-100"
>
Draft-addition review
</p>
<p
class="mt-1 text-xs text-gray-400"
>
Draft-addition review from editor compare ┬╖ draft-only lines against compare document ┬╖ integrity key citation_bibliography_missing (6)
</p>
<p
class="mt-2 text-[11px] text-gray-500"
>
Compare issue:
<span
class="text-gray-300"
>
Draft-only lines
</span>
┬╖ mapped integrity key
<span
class="text-gray-300"
>
citation_bibliography_missing
</span>
</p>
</div>
<div
class="flex flex-wrap items-center gap-2"
>
<button
class="px-2 py-1 rounded t...
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/__tests__/Runboard.states.test.tsx > Runboard surface states > shows artifact inventory loading blocker for URI-based route artifact actions while route details load
Error: expect(element).toHaveTextContent()
Expected element to have text content:
Artifact inventory loading...
Received:
Artifact action readiness: blocked ┬╖ Artifact inventory is loading for the selected route run.
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="h-full overflow-auto bg-gray-950 text-gray-100"
data-testid="runboard-root"
>
<div
class="max-w-7xl mx-auto px-6 py-6 space-y-6"
data-testid="runboard-surface"
>
<div
class="flex items-center justify-between gap-4"
>
<div>
<h1
class="text-2xl font-semibold text-gray-100"
>
Runboard
</h1>
<p
class="text-sm text-gray-400"
>
Queue-to-artifact visibility and failure drill-down linked to corpus run endpoints.
</p>
<p
class="text-xs text-gray-500 mt-1"
>
Shortcuts:
<span
class="font-mono"
>
R
</span>
refresh,
<span
class="font-mono"
>
J/K
</span>
next/previous run,
<span
class="font-mono"
>
Shift+R
</span>
retry failed,
<span
class="font-mono"
>
Shift+C
</span>
cancel active run,
<span
class="font-mono"
>
Y
</span>
copy run ID,
<span
class="font-mono"
>
Shift+Y
</span>
copy remediation pack,
<span
class="font-mono"
>
I
</span>
open integrity report,
<span
class="font-mono"
>
Shift+I
</span>
refresh integrity summary,
<span
class="font-mono"
>
O
</span>
open audit export.
</p>
</div>
<button
class="px-3 py-2 rounded-lg bg-gray-800 hover:bg-gray-700 text-sm transition-colors flex items-center gap-2"
>
<svg
class="lucide lucide-refresh-cw "
fill="none"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"
/>
<path
d="M21 3v5h-5"
/>
<path
d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"
/>
<path
d="M8 16H3v5"
/>
</svg>
Refresh
</button>
</div>
<div
class="rounded border border-purple-500/30 bg-purple-900/10 p-3"
data-testid="runboard-compare-remediation-route-banner"
>
<div
class="flex flex-col gap-3 lg:flex-row lg:items-start lg:justify-between"
>
<div
class="min-w-0"
>
<p
class="text-xs uppercase tracking-wide text-purple-200"
>
Compare Remediation Route
</p>
<p
class="mt-1 text-sm text-gray-100"
>
Draft-addition review
</p>
<p
class="mt-1 text-xs text-gray-400"
>
Draft-addition review from editor compare ┬╖ draft-only lines against compare document ┬╖ integrity key citation_bibliography_missing (6)
</p>
<p
class="mt-2 text-[11px] text-gray-500"
>
Compare issue:
<span
class="text-gray-300"
>
Draft-only lines
</span>
┬╖ mapped integrity key
<span
class="text-gray-300"
>
citation_bibliography_missing
</span>
</p>
</div>
<div
class="flex flex-wrap items-center gap-2"
>
<button
class="px-2 py-1 rounded t...
Γ¥» src/__tests__/Runboard.states.test.tsx:610:112
608|
609| await waitFor(() => {
610| expect(within(actionsPanel).getByTestId('runboard-compare-remedi…
| ^
611| })
612| expect(within(actionsPanel).getByTestId('runboard-compare-remediat…
Γ¥» runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
Γ¥» checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
Γ¥» Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 11 skipped (12)
Start at 13:21:23
Duration 2.52s (transform 235ms, setup 66ms, collect 348ms, tests 1.14s, environment 465ms, prepare 290ms)