Bump playwright from 1.51.1 to 1.52.0 #1574
ci.yml
on: pull_request
Matrix: ci / static-checks
Matrix: ci / unit-tests
Annotations
7 errors
ci / unit-tests (20.x)
Process completed with exit code 1.
|
test/overview/helpers/VisitsHighlightCard.test.tsx > <VisitsHighlightCard /> > renders tooltip when summary has bots:
test/overview/helpers/VisitsHighlightCard.test.tsx#L46
TestingLibraryElementError: Unable to find an element with the text: /potential bot visits$/. 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>
<a
class="highlight-card card card-body"
data-discover="true"
href="/"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-right fa-3x highlight-card__link-icon"
data-icon="circle-right"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.3-7.1l99.9-107.1c3.5-3.8 5.5-8.7 5.5-13.8s-2-10.1-5.5-13.8L294.6 135.1z"
fill="currentColor"
/>
</svg>
<div
class="lh-sm fw-semibold text-uppercase fs-5 highlight-card__title card-title"
>
Foo
</div>
<p
class="fs-2 fw-semibold lh-sm card-text"
>
50
</p>
</a>
</div>
</body>
Ignored nodes: comments, script, style
<html
lang="en"
>
<head>
<meta
charset="UTF-8"
/>
<link
href="/__vitest__/favicon.svg"
rel="icon"
type="image/svg+xml"
/>
<meta
content="width=device-width, initial-scale=1.0"
name="viewport"
/>
<title>
Vitest Browser Tester
</title>
<link
crossorigin=""
href="/__vitest_browser__/utils-CNTxSNQV.js"
rel="modulepreload"
/>
</head>
<body>
<div>
<a
class="highlight-card card card-body"
data-discover="true"
href="/"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-right fa-3x highlight-card__link-icon"
data-icon="circle-right"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.3-7.1l99.9-107.1c3.5-3.8 5.5-8.7 5.5-13.8s-2-10.1-5.5-13.8L294.6 135.1z"
fill="currentColor"
/>
</svg>
<div
class="lh-sm fw-semibold text-uppercase fs-5 highlight-card__title card-title"
>
Foo
</div>
<p
class="fs-2 fw-semibold lh-sm card-text"
>
50
</p>
</a>
</div>
</body>
</html>...
❯ waitForWrapper node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1136:26
❯ test/overview/helpers/VisitsHighlightCard.test.tsx:46:10
|
ci / unit-tests (23.x)
The operation was canceled.
|
ci / unit-tests (23.x)
The strategy configuration was canceled because "ci.unit-tests._20_x" failed
|
ci / unit-tests (22.x)
The operation was canceled.
|
test/overview/Overview.test.tsx > <Overview /> > displays amounts of bots when hovering visits cards:
test/overview/Overview.test.tsx#L94
TestingLibraryElementError: Found multiple elements with the text: /potential bot visits$/
Here are the matching elements:
Ignored nodes: comments, script, style
<div
class="tooltip-inner"
role="tooltip"
>
Including
<strong>
1,000
</strong>
potential bot visits
</div>
Ignored nodes: comments, script, style
<div
class="tooltip-inner"
role="tooltip"
>
Including
<strong>
15
</strong>
potential bot visits
</div>
(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="row"
>
<div
class="col-lg-6 col-xl-3 mb-3"
>
<a
class="highlight-card card card-body"
data-discover="true"
href="/server/123/non-orphan-visits"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-right fa-3x highlight-card__link-icon"
data-icon="circle-right"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.3-7.1l99.9-107.1c3.5-3.8 5.5-8.7 5.5-13.8s-2-10.1-5.5-13.8L294.6 135.1z"
fill="currentColor"
/>
</svg>
<div
class="lh-sm fw-semibold text-uppercase fs-5 highlight-card__title card-title"
>
Visits
</div>
<p
class="fs-2 fw-semibold lh-sm card-text"
>
3,456
</p>
</a>
</div>
<div
class="col-lg-6 col-xl-3 mb-3"
>
<a
class="highlight-card card card-body"
data-discover="true"
href="/server/123/orphan-visits"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-right fa-3x highlight-card__link-icon"
data-icon="circle-right"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.3-7.1l99.9-107.1c3.5-3.8 5.5-8.7 5.5-13.8s-2-10.1-5.5-13.8L294.6 135.1z"
fill="currentColor"
/>
</svg>
<div
class="lh-sm fw-semibold text-uppercase fs-5 highlight-card__title card-title"
>
Orphan visits
</div>
<p
class="fs-2 fw-semibold lh-sm card-text"
>
28
</p>
</a>
</div>
<div
class="col-lg-6 col-xl-3 mb-3"
>
<a
class="highlight-card card card-body"
data-discover="true"
href="/server/123/list-short-urls/1"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-right fa-3x highlight-card__link-icon"
data-icon="circle-right"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-
|
ci / unit-tests (22.x)
The strategy configuration was canceled because "ci.unit-tests._20_x" failed
|