Running Copilot coding agent #633
Annotations
4 errors
|
apps/console/src/__tests__/BrowserSimulation.test.tsx > Console Application Simulation > Grid Scenario A: Grid Rendering and Actions:
apps/console/src/__tests__/BrowserSimulation.test.tsx#L272
TestingLibraryElementError: Found multiple elements with the role "button" and name `/New/i`
Here are the matching elements:
Ignored nodes: comments, script, style
<button
class="items-center justify-center 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 border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-md px-3 shadow-none gap-1.5 h-8 sm:h-9 hidden sm:flex"
title="Create a new view"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden lg:inline"
>
New View
</span>
</button>
Ignored nodes: comments, script, style
<button
class="inline-flex items-center justify-center 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 bg-primary text-primary-foreground hover:bg-primary/90 rounded-md px-3 shadow-none gap-1.5 sm:gap-2 h-8 sm:h-9"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden sm:inline"
>
New
</span>
</button>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar"
style="--sidebar-width: 16rem; --sidebar-width-icon: 3rem;"
>
<div
class="group peer hidden text-sidebar-foreground md:block"
data-collapsible=""
data-side="left"
data-state="expanded"
data-variant="sidebar"
>
<div
class="relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]"
/>
<div
class="fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] transition-[left,right,width] duration-200 ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l"
>
<div
class="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow"
data-sidebar="sidebar"
>
<div
class="flex flex-col gap-2 p-2"
data-sidebar="header"
>
<ul
class="flex w-full min-w-0 flex-col gap-1"
data-sidebar="menu"
>
<li
class="group/menu-item relative"
data-sidebar="menu-item"
>
<button
aria-expanded="false"
aria-haspopup="menu"
class="peer/menu-button flex w-full items-center gap-2 overf
|
|
apps/console/src/__tests__/BrowserSimulation.test.tsx > Console Application Simulation > Form Scenario B: Metadata-Driven Form Generation:
apps/console/src/__tests__/BrowserSimulation.test.tsx#L248
TestingLibraryElementError: Found multiple elements with the role "button" and name `/New/i`
Here are the matching elements:
Ignored nodes: comments, script, style
<button
class="items-center justify-center 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 border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-md px-3 shadow-none gap-1.5 h-8 sm:h-9 hidden sm:flex"
title="Create a new view"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden lg:inline"
>
New View
</span>
</button>
Ignored nodes: comments, script, style
<button
class="inline-flex items-center justify-center 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 bg-primary text-primary-foreground hover:bg-primary/90 rounded-md px-3 shadow-none gap-1.5 sm:gap-2 h-8 sm:h-9"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden sm:inline"
>
New
</span>
</button>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar"
style="--sidebar-width: 16rem; --sidebar-width-icon: 3rem;"
>
<div
class="group peer hidden text-sidebar-foreground md:block"
data-collapsible=""
data-side="left"
data-state="expanded"
data-variant="sidebar"
>
<div
class="relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]"
/>
<div
class="fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] transition-[left,right,width] duration-200 ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l"
>
<div
class="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow"
data-sidebar="sidebar"
>
<div
class="flex flex-col gap-2 p-2"
data-sidebar="header"
>
<ul
class="flex w-full min-w-0 flex-col gap-1"
data-sidebar="menu"
>
<li
class="group/menu-item relative"
data-sidebar="menu-item"
>
<button
aria-expanded="false"
aria-haspopup="menu"
class="peer/menu-button flex w-full items-center gap-2 overf
|
|
apps/console/src/__tests__/BrowserSimulation.test.tsx > Console Application Simulation > Scenario 3: Object List View (Kitchen Sink):
apps/console/src/__tests__/BrowserSimulation.test.tsx#L153
TestingLibraryElementError: Found multiple elements with the role "button" and name `/New/i`
Here are the matching elements:
Ignored nodes: comments, script, style
<button
class="items-center justify-center 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 border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-md px-3 shadow-none gap-1.5 h-8 sm:h-9 hidden sm:flex"
title="Create a new view"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden lg:inline"
>
New View
</span>
</button>
Ignored nodes: comments, script, style
<button
class="inline-flex items-center justify-center 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 bg-primary text-primary-foreground hover:bg-primary/90 rounded-md px-3 shadow-none gap-1.5 sm:gap-2 h-8 sm:h-9"
>
<svg
aria-hidden="true"
class="lucide lucide-plus 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"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
<span
class="hidden sm:inline"
>
New
</span>
</button>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar"
style="--sidebar-width: 16rem; --sidebar-width-icon: 3rem;"
>
<div
class="group peer hidden text-sidebar-foreground md:block"
data-collapsible=""
data-side="left"
data-state="expanded"
data-variant="sidebar"
>
<div
class="relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]"
/>
<div
class="fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] transition-[left,right,width] duration-200 ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l"
>
<div
class="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow"
data-sidebar="sidebar"
>
<div
class="flex flex-col gap-2 p-2"
data-sidebar="header"
>
<ul
class="flex w-full min-w-0 flex-col gap-1"
data-sidebar="menu"
>
<li
class="group/menu-item relative"
data-sidebar="menu-item"
>
<button
aria-expanded="false"
aria-haspopup="menu"
class="peer/menu-button flex w-full items-center gap-2 overf
|
|
copilot
@object-ui/console#build: command (/home/runner/work/objectui/objectui/apps/console) /home/runner/.local/share/pnpm/.tools/pnpm/10.28.2/bin/pnpm run build exited (2)
|