Skip to content

CSF: Add base factories #43332

CSF: Add base factories

CSF: Add base factories #43332

Triggered via pull request January 30, 2025 11:53
Status Failure
Total duration 16m 15s
Artifacts

tests-unit.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/__test__/portable-stories-factory.test.tsx: code/core/dist/csf/index.js#L40
Error: Not implemented ❯ Object.get composed [as composed] ../../core/dist/csf/index.js:40:13 ❯ src/__test__/Button.csf4.stories.tsx:91:6 ❯ src/__test__/portable-stories-factory.test.tsx:20:1
../core/template/stories/decorators.stories.ts > Inheritance: code/lib/instrumenter/dist/index.mjs#L4346
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-decorators--inheritance&addonPanel=storybook/test/panel expected 'story component starting' to deeply equal 'story component project starting' Expected: "story component project starting" Received: "story component starting" ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toEqual ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/decorators.stories.ts:36:54 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/template/stories/globals.stories.ts > Inheritance: code/lib/test/dist/index.mjs#L30267
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-globals--inheritance&addonPanel=storybook/test/panel expected { a11y: { manual: false }, …(1) } to match object { foo: 'fooValue', …(2) } (2 matching properties omitted from actual) - Expected + Received Object { - "bar": "barDefaultValue", - "baz": "bazComponentValue", - "foo": "fooValue", + "baz": "bazComponentValue", } ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30267:12 ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30107:17 ❯ Proxy.methodWrapper ../lib/test/dist/index.mjs:20269:24 ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toMatchObject ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/globals.stories.ts:20:81 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/template/stories/globals.stories.ts > Overrides 1: code/lib/test/dist/index.mjs#L30267
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-globals--overrides-1&addonPanel=storybook/test/panel expected { a11y: { manual: false }, …(2) } to match object { foo: 'fooOverridden1', …(2) } (2 matching properties omitted from actual) - Expected + Received Object { - "bar": "barDefaultValue", "baz": "bazOverridden1", "foo": "fooOverridden1", } ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30267:12 ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30107:17 ❯ Proxy.methodWrapper ../lib/test/dist/index.mjs:20269:24 ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toMatchObject ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/globals.stories.ts:62:81 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/template/stories/globals.stories.ts > Overrides 2: code/lib/test/dist/index.mjs#L30267
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-globals--overrides-2&addonPanel=storybook/test/panel expected { a11y: { manual: false }, …(2) } to match object { foo: 'fooOverridden2', …(2) } (2 matching properties omitted from actual) - Expected + Received Object { - "bar": "barDefaultValue", "baz": "bazOverridden2", "foo": "fooOverridden2", } ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30267:12 ❯ Proxy.<anonymous> ../lib/test/dist/index.mjs:30107:17 ❯ Proxy.methodWrapper ../lib/test/dist/index.mjs:20269:24 ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toMatchObject ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/globals.stories.ts:81:81 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/template/stories/loaders.stories.ts > Inheritance: code/lib/instrumenter/dist/index.mjs#L4346
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-loaders--inheritance&addonPanel=storybook/test/panel expected { componentValue: 7, storyValue: 3 } to deeply equal { projectValue: 2, …(2) } - Expected + Received Object { "componentValue": 7, - "projectValue": 2, "storyValue": 3, } ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toEqual ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/loaders.stories.ts:18:66 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/template/stories/parameters.stories.ts > Inheritance: code/lib/instrumenter/dist/index.mjs#L4346
AssertionError: Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-parameters--inheritance&addonPanel=storybook/test/panel expected { …(3) } to deeply equal { …(4) } - Expected + Received Object { "componentParameter": "componentParameter", - "projectParameter": "projectParameter", "storyObject": Object { "a": "story", "b": "component", - "c": "project", }, "storyParameter": "storyParameter", } ❯ Instrumenter.invoke ../lib/instrumenter/dist/index.mjs:4346:24 ❯ Instrumenter.intercept ../lib/instrumenter/dist/index.mjs:4215:18 ❯ Instrumenter.track ../lib/instrumenter/dist/index.mjs:4205:37 ❯ Proxy.toEqual ../lib/instrumenter/dist/index.mjs:4179:37 ❯ play ../core/template/stories/parameters.stories.ts:35:66 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:119:5
../core/src/components/components/Button/Button.stories.tsx > Base: code/core/dist/csf/index.js#L26
Error: Not implemented ❯ get composed ../core/dist/csf/index.js:26:13 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:105:27
../core/src/components/components/Button/Button.stories.tsx > Variants: code/core/dist/csf/index.js#L26
Error: Not implemented ❯ get composed ../core/dist/csf/index.js:26:13 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:105:27
../core/src/components/components/Button/Button.stories.tsx > Active: code/core/dist/csf/index.js#L26
Error: Not implemented ❯ get composed ../core/dist/csf/index.js:26:13 ❯ ../node_modules/.vite/deps/@storybook_experimental-addon-test_internal_test-utils.js:105:27