Merge pull request #952 from equinor/fix/active-impersonate-in-prod #475
push.yml
on: push
Matrix: Publish to NPM / Run browser tests / test
Publish to NPM
/
...
/
test
2m 11s
Create release notes
0s
Annotations
3 errors and 2 warnings
src/molecules/InfoElement/CopyText.test.tsx > Renders label on hover:
src/molecules/InfoElement/CopyText.test.tsx#L29
Error: expect(element).not.toBeInTheDocument()
expected document not to contain element, found <p
class="Typography__StyledTypography-sc-179guof-0 hRDXwV"
>
Copy
</p> instead
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-Owv5OOOf.js"
rel="modulepreload"
/>
</head>
<body>
<div>
<div>
<div
class="sc-jZCRgm ysUXW"
>
testing text
<div
class="sc-cZztgT eLSMlz"
>
<svg
aria-hidden="true"
class="Icon__StyledSvg-sc-6evbi1-0 jyZItD"
fill="currentColor"
height="16px"
viewBox="0 0 16 16"
width="16px"
xmlns="http://www.w3.org/2000/svg"
>
<path
class="Icon__StyledPath-sc-6evbi1-1"
clip-rule="evenodd"
d="M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-11 16h11V7h-11z"
data-testid="eds-icon-path"
fill-rule="evenodd"
transform="scale(0.6666666666666666)"
/>
</svg>
<p
class="Typography__StyledTypography-sc-179guof-0 hRDXwV"
>
Copy
</p>
</div>
</div>
<p>
other
</p>
</div>
</div>
</body>
</html>...
❯ waitFor.timeout src/molecules/InfoElement/CopyText.test.tsx:29:50
|
src/molecules/InfoElement/CopyText.test.tsx > Renders label on hover:
src/molecules/InfoElement/CopyText.test.tsx#L29
Error: expect(element).not.toBeInTheDocument()
expected document not to contain element, found <p
class="Typography__StyledTypography-sc-179guof-0 hRDXwV"
>
Copy
</p> instead
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-Owv5OOOf.js"
rel="modulepreload"
/>
</head>
<body>
<div>
<div>
<div
class="sc-jZCRgm ysUXW"
>
testing text
<div
class="sc-cZztgT eLSMlz"
>
<svg
aria-hidden="true"
class="Icon__StyledSvg-sc-6evbi1-0 jyZItD"
fill="currentColor"
height="16px"
viewBox="0 0 16 16"
width="16px"
xmlns="http://www.w3.org/2000/svg"
>
<path
class="Icon__StyledPath-sc-6evbi1-1"
clip-rule="evenodd"
d="M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-11 16h11V7h-11z"
data-testid="eds-icon-path"
fill-rule="evenodd"
transform="scale(0.6666666666666666)"
/>
</svg>
<p
class="Typography__StyledTypography-sc-179guof-0 hRDXwV"
>
Copy
</p>
</div>
</div>
<p>
other
</p>
</div>
</div>
</body>
</html>...
❯ waitFor.timeout src/molecules/InfoElement/CopyText.test.tsx:29:50
|
Publish to NPM / Run browser tests / test (chromium)
Process completed with exit code 1.
|
Publish to NPM / Run JSDOM tests / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Publish to NPM / Run browser tests / test (chromium)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|