Skip to content

Add author chips and indexed paper counts to Labs #207

Add author chips and indexed paper counts to Labs

Add author chips and indexed paper counts to Labs #207

Triggered via push October 11, 2026 04:49
Status Failure
Total duration 25s
Artifacts –

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 2 notices
frontend
Process completed with exit code 1.
src/pages/Labs.test.jsx > Labs > shows zero and singular counts and lets PI chips open author profiles: frontend/src/pages/Labs.test.jsx#L79
TestingLibraryElementError: Unable to find an element with the text: 0 papers indexed. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="min-w-0 flex-1 overflow-auto bg-slate-50" > <div class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8" > <div class="mb-5 flex flex-wrap items-center justify-between gap-3" > <h1 class="text-2xl font-semibold tracking-tight text-slate-900" > Labs </h1> <button class="inline-flex items-center gap-1.5 rounded-lg bg-slate-800 px-3 py-2 text-xs font-medium text-white hover:bg-slate-700" > <span aria-hidden="true" class="material-symbols-outlined text-[16px]" > add </span> Create lab </button> </div> <div class="mb-4 flex flex-wrap items-center justify-between gap-3" > <div class="relative w-full sm:max-w-sm" > <span aria-hidden="true" class="material-symbols-outlined pointer-events-none absolute left-3 top-2.5 text-[18px] text-slate-400" > search </span> <input aria-label="Search labs" class="w-full rounded-lg border border-slate-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500/30 bg-white pl-10" maxlength="200" placeholder="Find a lab…" value="" /> </div> <p class="text-xs text-slate-400" > 2 labs in your directory </p> </div> <ul aria-label="Labs directory" class="grid gap-3 sm:grid-cols-2 lg:grid-cols-3" > <li class="min-w-0" > <div class="group relative flex h-full flex-col rounded-lg border border-slate-200 bg-white p-4 transition-colors hover:border-slate-400 hover:bg-slate-50" > <h2 class="break-words text-sm font-semibold leading-5 text-slate-800" > <a aria-label="Open Language Lab" class="after:absolute after:inset-0 after:rounded-lg focus-visible:outline-none focus-visible:after:outline focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-slate-500" data-discover="true" href="/labs/lab_1" > Language Lab </a> </h2> <ul aria-label="Principal investigators" class="mt-2 flex flex-wrap gap-1.5" > <li class="min-w-0 max-w-full" > <a class="inline-flex min-w-0 max-w-full items-center rounded-lg bg-blue-50 px-2 py-1 text-xs text-blue-700 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-blue-500 relative z-10" data-discover="true" href="/authors/a_1" > <span class="break-words font-medium" > Jane Smith </span> </a> </li> </ul> <p class="mt-1.5 line-clamp-2 text-xs leading-5 text-slate-500" > Language research </p> <div class="mt-auto flex flex-wrap items-center justify-between gap-x-3 gap-y-1 pt-3 text-[11px] text-slate-400" > <span
src/pages/Labs.test.jsx > Labs > renders directory cards with one list request and only loads details after opening a card: frontend/src/pages/Labs.test.jsx#L44
TestingLibraryElementError: Unable to find an element with the text: 12 papers indexed. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <li class="min-w-0" > <div class="group relative flex h-full flex-col rounded-lg border border-slate-200 bg-white p-4 transition-colors hover:border-slate-400 hover:bg-slate-50" > <h2 class="break-words text-sm font-semibold leading-5 text-slate-800" > <a aria-label="Open Language Lab" class="after:absolute after:inset-0 after:rounded-lg focus-visible:outline-none focus-visible:after:outline focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-slate-500" data-discover="true" href="/labs/lab_1" > Language Lab </a> </h2> <ul aria-label="Principal investigators" class="mt-2 flex flex-wrap gap-1.5" > <li class="min-w-0 max-w-full" > <a class="inline-flex min-w-0 max-w-full items-center rounded-lg bg-blue-50 px-2 py-1 text-xs text-blue-700 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-blue-500 relative z-10" data-discover="true" href="/authors/a_1" > <span class="break-words font-medium" > Jane Smith </span> </a> </li> <li class="min-w-0 max-w-full" > <a class="inline-flex min-w-0 max-w-full items-center rounded-lg bg-blue-50 px-2 py-1 text-xs text-blue-700 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-blue-500 relative z-10" data-discover="true" href="/authors/a_2" > <span class="break-words font-medium" > John Smith </span> </a> </li> </ul> <p class="mt-1.5 line-clamp-2 text-xs leading-5 text-slate-500" > Language research </p> <div class="mt-auto flex flex-wrap items-center justify-between gap-x-3 gap-y-1 pt-3 text-[11px] text-slate-400" > <span class="shrink-0 tabular-nums text-slate-500" > 12 papers </span> </div> </div> </li> ❯ 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/Labs.test.jsx:44:24
backend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5, astral-sh/setup-uv@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
backend
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
frontend
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"