Increase timeout for component registration tests and improve detail-… #486
changeset-release.yml
on: push
Changeset Release
4m 16s
Annotations
9 errors
|
Changeset Release
Process completed with exit code 1.
|
|
Changeset Release
@object-ui/plugin-list#test: command (/home/runner/work/objectui/objectui/packages/plugin-list) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
src/__tests__/ListViewPersistence.test.tsx > ListView Persistence > should switch correctly when storage has a value for THIS view:
packages/plugin-list/src/__tests__/ListViewPersistence.test.tsx#L109
TestingLibraryElementError: Unable to find a label with the text of: List
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_4_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
/>
|
|
src/__tests__/ListViewPersistence.test.tsx > ListView Persistence > should not conflict with other views of the same object:
packages/plugin-list/src/__tests__/ListViewPersistence.test.tsx#L88
TestingLibraryElementError: Unable to find a label with the text of: List
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="false"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="off"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_2_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
/>
|
|
src/__tests__/ListViewPersistence.test.tsx > ListView Persistence > should use unique storage key when schema.id is provided:
packages/plugin-list/src/__tests__/ListViewPersistence.test.tsx#L57
TestingLibraryElementError: Unable to find a label with the text of: List
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_0_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
/>
|
|
src/__tests__/ListView.test.tsx > ListView > should clear search when clear button is clicked:
packages/plugin-list/src/__tests__/ListView.test.tsx#L197
TestingLibraryElementError: Unable to find an element with the placeholder text of: /search/i
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_e_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
|
|
src/__tests__/ListView.test.tsx > ListView > should persist view preference to localStorage:
packages/plugin-list/src/__tests__/ListView.test.tsx#L110
TestingLibraryElementError: Unable to find an accessible element with the role "radio"
Here are the accessible roles:
button:
Name "Grid":
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
/>
Name "Filter":
<button
aria-controls="radix-_r_6_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
/>
Name "Sort":
<button
aria-controls="radix-_r_7_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
/>
--------------------------------------------------
textbox:
Name "":
<input
class="flex w-full rounded-md border px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-8 h-8 text-sm bg-muted/50 border-transparent hover:bg-muted focus:bg-background focus:border-input transition-colors"
placeholder="Find..."
value=""
/>
--------------------------------------------------
strong:
Name "":
<strong />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 h-4 w-4"
fill="non
|
|
src/__tests__/ListView.test.tsx > ListView > should call onSearchChange when search input changes:
packages/plugin-list/src/__tests__/ListView.test.tsx#L92
TestingLibraryElementError: Unable to find an element with the placeholder text of: /search/i
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_4_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
|
|
src/__tests__/ListView.test.tsx > ListView > should render search input:
packages/plugin-list/src/__tests__/ListView.test.tsx#L78
TestingLibraryElementError: Unable to find an element with the placeholder text of: /search/i
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col h-full bg-background"
>
<div
class="border-b px-4 py-2 flex items-center justify-between gap-4 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class="flex items-center gap-2 flex-1 overflow-hidden"
>
<div
class="flex items-center pr-2 border-r mr-2"
>
<div
class="flex items-center gap-1 bg-transparent"
>
<button
aria-label="Grid"
aria-pressed="true"
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-muted hover:text-muted-foreground gap-2 px-3 py-2 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm border-transparent border data-[state=on]:border-border/50"
data-state="on"
title="Grid"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-grid3x3 lucide-grid-3x3 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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M3 9h18"
/>
<path
d="M3 15h18"
/>
<path
d="M9 3v18"
/>
<path
d="M15 3v18"
/>
</svg>
<span
class="hidden sm:inline-block text-xs font-medium"
>
Grid
</span>
</button>
</div>
</div>
<div
class="flex items-center gap-1"
>
<button
aria-controls="radix-_r_2_"
aria-expanded="false"
aria-haspopup="dialog"
class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent rounded-md h-8 px-2 lg:px-3 text-muted-foreground hover:text-primary"
data-state="closed"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-sliders-horizontal h-4 w-4 mr-2"
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="M10 5H3"
/>
<path
d="M12 19H3"
/>
<path
d="M14 3v4"
/>
<path
d="M16 17v4"
/>
<path
d="M21 12h-9"
|