Deploy to Cloudflare #66
Triggered via workflow run
December 16, 2024 12:38
dependabot[bot]
completed
de4de24
Status
Failure
Total duration
34s
Artifacts
–
Annotations
8 errors and 1 warning
src/pages/Product.test.tsx > ProductPage > renders ProductPage with product details:
src/pages/Product.test.tsx#L46
TestingLibraryElementError: Unable to find an element with the text: RC Wheels. 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>
Loading product...
</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
❯ getByText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:46:19
|
src/pages/Product.test.tsx > ProductPage > renders PreviewComponent in a Suspense wrapper:
src/pages/Product.test.tsx#L58
TestingLibraryElementError: Unable to find an element by: [data-testid="preview-component"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div>
Loading product...
</div>
</div>
</body>
</html>
❯ Proxy.waitFor node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/pages/Product.test.tsx:58:11
|
src/pages/Product.test.tsx > ProductPage > displays the initial filament type as PLA:
src/pages/Product.test.tsx#L64
TestingLibraryElementError: Unable to find an element by: [data-testid="filament-dropdown"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</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
❯ getByTestId node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:64:37
|
src/pages/Product.test.tsx > ProductPage > updates filament selection when dropdown value changes:
src/pages/Product.test.tsx#L69
TestingLibraryElementError: Unable to find an element by: [data-testid="filament-dropdown"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</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
❯ getByTestId node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:69:37
|
src/pages/Product.test.tsx > ProductPage > passes selected filament to ColorPicker:
src/pages/Product.test.tsx#L75
TestingLibraryElementError: Unable to find an element by: [data-testid="color-picker"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</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
❯ getByTestId node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:75:32
|
src/pages/Product.test.tsx > ProductPage > updates ColorPicker filamentType when filament selection changes:
src/pages/Product.test.tsx#L80
TestingLibraryElementError: Unable to find an element by: [data-testid="filament-dropdown"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</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
❯ getByTestId node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:80:37
|
src/pages/Product.test.tsx > ProductPage > renders Add to cart button:
src/pages/Product.test.tsx#L90
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Add to cart"
There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole
Ignored nodes: comments, script, style
<body>
<div>
<div>
Loading product...
</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
❯ getByRole node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Product.test.tsx:90:36
|
deploy
Process completed with exit code 1.
|
deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|