refactored to use react-three-fiber #15
Merged
Annotations
8 errors
run:
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
|
run:
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
|
run:
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
|
run:
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
|
run:
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
|
run:
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
|
run:
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
|
run
Process completed with exit code 1.
|
Loading