chore: added tests to 3d-viewer and video #2391 #1606
node.js.yml
on: push
build
3m 10s
release
0s
deploy
0s
Annotations
2 errors and 1 warning
src/components/ebay-3d-viewer/test/test.browser.js > 3d-viewer > renders default > should render:
src/components/ebay-3d-viewer/test/test.browser.js#L20
AssertionError: expected [] to have a length of 1 but got +0
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>
<svg
style="position: absolute; width: 0px; height: 0px;"
>
<defs />
<symbol
id="icon-play-filled-64-colored"
viewBox="0 0 64 64"
>
<circle
cx="32"
cy="32"
fill="#fff"
fill-opacity=".88"
r="32"
/>
<path
d="m26.131 16.41 21.6 13.33a2.648 2.648 0 0 1 0 4.52l-21.6 13.33C24.333 48.7 22 47.425 22 45.33V18.67c0-2.094 2.333-3.37 4.131-2.26Z"
fill="#191919"
/>
</symbol>
<symbol
id="icon-attention-24"
viewBox="0 0 24 24"
>
<path
d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12C23.994 5.375 18.625.006 12 0Zm0 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c-.006 5.52-4.48 9.994-10 10ZM11 7a1 1 0 1 1 2 0v6a1 1 0 1 1-2 0V7Zm1 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
/>
</symbol>
</svg>
<div>
<div
class="three-d-player"
>
<model-viewer
alt="View these shoes for sale."
ar-status="not-presenting"
camera-controls=""
src="https://ir.ebaystatic.com/cr/v/c1/ebayui/3d/v1/image.glb"
touch-action="pan-y"
/>
<div
class="three-d-player__overlay three-d-player__overlay--hidden"
>
<svg
aria-hidden="true"
class="icon icon--24"
focusable="false"
>
<use
href="#icon-attention-24"
/>
</svg>
<div
class="three-d-player__overlay-text"
>
An error has occurred
</div>
</div>
<div
class="three-d-player__overlay three-d-player__overlay--hidden"
>
<svg
aria-labelledby="c1-5-0-text"
class="icon icon--64-colored"
focusable="false"
role="img"
>
<title
id="c1-5-0-text"
>
Click to start
</title>
<use
href="#icon-play-filled-64-colored"
/>
</svg>
</div>
</div>
</div>
</body>
</html>...
- Expected
+ Received
- 1
+ 0
❯ waitFor.timeout src/components/ebay-3d-viewer/test/test.browser.js:20:63
❯ runWithExpensiveErrorDiagnosticsDisabled ../../../../../node_modules/.vite/deps/@marko_testing-library.js:11131:12
❯ checkCallback ../../../../../node_modules/.vite/deps/@marko_testing-library.js:11711:24
❯ checkRealTimersCallback ../../../../../node_modules/.vite/deps/@marko_testing-library.js:11705:16
|
build
Process completed with exit code 1.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|