Skip to content

Vanilla Extract rewrite #638

Vanilla Extract rewrite

Vanilla Extract rewrite #638

Triggered via pull request August 16, 2024 11:02
Status Failure
Total duration 55s
Artifacts

main.yml

on: pull_request
Matrix: Build
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
Unhandled error: components/src/components/organisms/Toast/Toast.test.tsx#L48
AssertionError: expected "spy" to be called at least once ❯ Proxy.<anonymous> ../node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/expect/dist/index.js:1451:13 ❯ Proxy.<anonymous> ../node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/expect/dist/index.js:920:17 ❯ Proxy.methodWrapper ../node_modules/.pnpm/[email protected]/node_modules/chai/chai.js:1591:25 ❯ src/components/organisms/Toast/Toast.test.tsx:48:40 This error originated in "src/components/organisms/Toast/Toast.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: components/src/components/organisms/Toast/Toast.test.tsx#L68
TestingLibraryElementError: Unable to find an element by: [data-testid="action"] Ignored nodes: comments, script, style <body /> ❯ Object.getElementError ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/components/organisms/Toast/Toast.test.tsx:68:33 This error originated in "src/components/organisms/Toast/Toast.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Test (18)
Process completed with exit code 1.
Lint (18): components/src/components/atoms/Box/Box.tsx#L41
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/atoms/DynamicPopover/DynamicPopover.tsx#L467
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/atoms/Field/Field.tsx#L300
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/Dropdown/Dropdown.tsx#L216
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/Dropdown/Dropdown.tsx#L404
Using 'Children.map' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/Dropdown/Dropdown.tsx#L406
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/RadioButtonGroup/RadioButtonGroup.tsx#L104
Using 'Children.map' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/RadioButtonGroup/RadioButtonGroup.tsx#L116
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
Lint (18): components/src/components/molecules/Tooltip/Tooltip.tsx#L149
Using 'Children.only' is uncommon and can lead to fragile code. Use alternatives instead