filter falsey bools & live traffic #329
Open
Annotations
4 errors and 1 warning
|
Unit tests
Process completed with exit code 1.
|
|
Unit tests:
src/components/map/parts/tiles-property.spec.tsx#L92
TestingLibraryElementError: Unable to find an element with the text: Motor Way Junction. 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>
<span
class="font-mono text-xs"
>
7
</span>
</div>
</body>
❯ 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/components/map/parts/tiles-property.spec.tsx:92:21
|
|
Unit tests:
src/components/map/parts/tiles-info-popup.spec.tsx#L259
TestingLibraryElementError: Unable to find an element with the text: Motor Way Junction. 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="flex flex-col gap-3 p-2 max-w-sm max-h-96 overflow-auto"
>
<button
class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-6 absolute right-5 top-1"
data-slot="button"
>
<svg
aria-hidden="true"
class="lucide lucide-x size-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="M18 6 6 18"
/>
<path
d="m6 6 12 12"
/>
</svg>
</button>
<div
class="border-b border-border pb-3 last:border-b-0 last:pb-0"
>
<div
class="flex items-center gap-2 mb-2"
>
<div
class="p-1.5 rounded-md bg-primary/10"
>
<svg
aria-hidden="true"
class="lucide lucide-map-pin size-3.5 text-primary"
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="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"
/>
<circle
cx="12"
cy="10"
r="3"
/>
</svg>
</div>
<span
class="font-semibold text-sm"
>
Node
</span>
</div>
<div
class="rounded-md border border-border overflow-hidden"
>
<table
class="w-full text-xs"
>
<tbody>
<tr
class="bg-muted/30"
>
<td
class="py-1.5 px-2 text-muted-foreground whitespace-nowrap font-bold"
>
node_type
</td>
<td
class="py-1.5 px-2 text-right font-medium"
>
<span
class="font-mono text-xs"
>
7
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
❯ 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/components/map/parts/tiles-info-popup.spec.tsx:259:19
|
|
Unit tests:
src/components/map/parts/tiles-info-popup.spec.tsx#L111
TestingLibraryElementError: Unable to find an element with the text: No. 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="flex flex-col gap-3 p-2 max-w-sm max-h-96 overflow-auto"
>
<button
class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-6 absolute right-5 top-1"
data-slot="button"
>
<svg
aria-hidden="true"
class="lucide lucide-x size-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="M18 6 6 18"
/>
<path
d="m6 6 12 12"
/>
</svg>
</button>
<div
class="border-b border-border pb-3 last:border-b-0 last:pb-0"
>
<div
class="flex items-center gap-2 mb-2"
>
<div
class="p-1.5 rounded-md bg-primary/10"
>
<svg
aria-hidden="true"
class="lucide lucide-map-pin size-3.5 text-primary"
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="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"
/>
<circle
cx="12"
cy="10"
r="3"
/>
</svg>
</div>
<span
class="font-semibold text-sm"
>
Node
</span>
</div>
<div
class="rounded-md border border-border overflow-hidden"
>
<table
class="w-full text-xs"
>
<tbody>
<tr
class="bg-muted/30"
>
<td
class="py-1.5 px-2 text-muted-foreground whitespace-nowrap font-bold"
>
traffic_signal
</td>
<td
class="py-1.5 px-2 text-right font-medium"
>
<span
class="inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400"
>
<svg
aria-hidden="true"
class="lucide lucide-check size-3.5"
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="M20 6 9 17l-5-5"
/>
</svg>
<span
class="text-xs"
>
Yes
</span>
</span>
</td>
|
|
Run actions/upload-artifact@v4
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Loading