feat: #76 crate page: list the albums you saved #163
Triggered via pull request
November 9, 2026 21:44
Status
Failure
Total duration
2m 34s
Artifacts
–
ci.yml
on: pull_request
Format, lint, typecheck, test, build
1m 29s
PostgreSQL integration tests
24s
Deploy to the group VM
0s
Annotations
3 errors
|
src/pages/CratePage.test.tsx > CratePage > lists the saved albums and how many there are:
client/src/pages/CratePage.test.tsx#L65
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Remove from crate"
Here are the accessible roles:
main:
Name "":
<main
id="main"
tabindex="-1"
/>
--------------------------------------------------
region:
Name "Your crate":
<section
aria-busy="false"
aria-labelledby="crate-heading"
class="crate-page"
/>
Name "Saved albums":
<section
aria-labelledby="crate-list-heading"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="eyebrow"
/>
Name "":
<p
class="artist"
/>
Name "":
<p
class="album-card__reviews"
/>
--------------------------------------------------
heading:
Name "Your crate":
<h1
id="crate-heading"
/>
Name "Saved albums":
<h2
id="crate-list-heading"
/>
Name "Abbey Road":
<h3
id="album-1"
/>
--------------------------------------------------
status:
Name "":
<p
aria-live="polite"
class="muted"
role="status"
/>
--------------------------------------------------
list:
Name "":
<ul
class="album-grid"
/>
Name "Genres":
<ul
aria-label="Genres"
class="genre-tags"
/>
--------------------------------------------------
listitem:
Name "":
<li />
Name "":
<li />
--------------------------------------------------
article:
Name "Abbey Road":
<article
aria-labelledby="album-1"
class="album-card"
/>
--------------------------------------------------
link:
Name "Abbey Road":
<a
class="album-card__link"
href="/album/1"
/>
--------------------------------------------------
button:
Name "In your crate, remove from crate":
<button
aria-busy="false"
aria-disabled="false"
aria-label="In your crate, remove from crate"
aria-pressed="true"
class="secondary-button crate-button crate-button--saved crate-button--compact"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main
id="main"
tabindex="-1"
>
<section
aria-busy="false"
aria-labelledby="crate-heading"
class="crate-page"
>
<p
class="eyebrow"
>
Saved for later
</p>
<h1
id="crate-heading"
>
Your crate
</h1>
<p
aria-live="polite"
class="muted"
role="status"
>
Showing 1 of 1 albums in your crate.
</p>
<section
aria-labelledby="crate-list-heading"
>
<h2
id="crate-list-heading"
>
Saved albums
</h2>
<ul
class="album-grid"
>
<li>
<article
aria-labelledby="album-1"
class="album-card"
>
<div
aria-hidden="true"
class="album-card__cover"
>
<span
class="album-card__record"
/>
<span
class="album-card__view"
>
View album
<span>
↗
</span>
</span>
</div>
<div
class="album-info"
>
<div
class="album-card__topline"
>
<span>
1969
</span>
<span
class="album-card__rating album-card__rating--rated"
>
<svg
aria-hidden="true"
fill="none"
height="16"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.8"
|
|
src/pages/CratePage.test.tsx > CratePage > removes an album and updates the list:
client/src/pages/CratePage.test.tsx#L95
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Remove from crate"
Here are the accessible roles:
main:
Name "":
<main
id="main"
tabindex="-1"
/>
--------------------------------------------------
region:
Name "Your crate":
<section
aria-busy="false"
aria-labelledby="crate-heading"
class="crate-page"
/>
Name "Saved albums":
<section
aria-labelledby="crate-list-heading"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="eyebrow"
/>
Name "":
<p
class="artist"
/>
Name "":
<p
class="album-card__reviews"
/>
--------------------------------------------------
heading:
Name "Your crate":
<h1
id="crate-heading"
/>
Name "Saved albums":
<h2
id="crate-list-heading"
/>
Name "Abbey Road":
<h3
id="album-1"
/>
--------------------------------------------------
status:
Name "":
<p
aria-live="polite"
class="muted"
role="status"
/>
--------------------------------------------------
list:
Name "":
<ul
class="album-grid"
/>
Name "Genres":
<ul
aria-label="Genres"
class="genre-tags"
/>
--------------------------------------------------
listitem:
Name "":
<li />
Name "":
<li />
--------------------------------------------------
article:
Name "Abbey Road":
<article
aria-labelledby="album-1"
class="album-card"
/>
--------------------------------------------------
link:
Name "Abbey Road":
<a
class="album-card__link"
href="/album/1"
/>
--------------------------------------------------
button:
Name "In your crate, remove from crate":
<button
aria-busy="false"
aria-disabled="false"
aria-label="In your crate, remove from crate"
aria-pressed="true"
class="secondary-button crate-button crate-button--saved crate-button--compact"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main
id="main"
tabindex="-1"
>
<section
aria-busy="false"
aria-labelledby="crate-heading"
class="crate-page"
>
<p
class="eyebrow"
>
Saved for later
</p>
<h1
id="crate-heading"
>
Your crate
</h1>
<p
aria-live="polite"
class="muted"
role="status"
>
Showing 1 of 1 albums in your crate.
</p>
<section
aria-labelledby="crate-list-heading"
>
<h2
id="crate-list-heading"
>
Saved albums
</h2>
<ul
class="album-grid"
>
<li>
<article
aria-labelledby="album-1"
class="album-card"
>
<div
aria-hidden="true"
class="album-card__cover"
>
<span
class="album-card__record"
/>
<span
class="album-card__view"
>
View album
<span>
↗
</span>
</span>
</div>
<div
class="album-info"
>
<div
class="album-card__topline"
>
<span>
1969
</span>
<span
class="album-card__rating album-card__rating--rated"
>
<svg
aria-hidden="true"
fill="none"
height="16"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.8"
|
|
Format, lint, typecheck, test, build
Process completed with exit code 1.
|