Skip to content

fix: Fix minor issues with table resize handle #4879

fix: Fix minor issues with table resize handle

fix: Fix minor issues with table resize handle #4879

Triggered via pull request September 17, 2023 16:13
Status Failure
Total duration 28m 34s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
3m 2s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
1m 54s
dry-run / Build documenter
dry-run  /  Build global-styles
22s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
51s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
16s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
1m 4s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
1m 12s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 6s
dry-run / Build test-utils
dry-run  /  Build components
6m 25s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
3m 40s
dry-run / Build board components
dry-run  /  Components unit tests
7m 12s
dry-run / Components unit tests
dry-run  /  Components integration tests
17m 16s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 20 warnings
should auto-grow the column width when the cursor moves out of table bounds and stops: src/table/__tests__/columns-auto-resize.test.tsx#L71
expect(received).toEqual(expected) // deep equality Expected: 5 Received: 0 at Object.<anonymous> (src/table/__tests__/columns-auto-resize.test.tsx:71:38)
renders a fake focus outline on the resize control: lib/components/table/resizer/lib/default/table/resizer/dom-helper.ts#L27
Invariant violation: table root not found. at new ResizerDomHelper (lib/components/table/resizer/lib/default/table/resizer/dom-helper.ts:27:13) at ref (lib/components/table/resizer/lib/default/table/resizer/index.tsx:156:44) at commitAttachRef (node_modules/react-dom/cjs/react-dom.development.js:20023:7) at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:22808:7) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:188:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:237:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:292:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:22541:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:653:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11039:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22381:3) at finishSyncRender (node_modules/react-dom/cjs/react-dom.development.js:21807:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21793:7) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3) at node_modules/react-dom/cjs/react-dom.development.js:24758:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5) at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10) at node_modules/@testing-library/react/dist/pure.js:101:25 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14) at render (node_modules/@testing-library/react/dist/pure.js:97:26) at Object.<anonymous> (src/table/__tests__/header-cell.test.tsx:72:31)
i18n › supports using editIconAriaLabel from i18n provider: lib/components/table/resizer/lib/default/table/resizer/dom-helper.ts#L27
Invariant violation: table root not found. at new ResizerDomHelper (lib/components/table/resizer/lib/default/table/resizer/dom-helper.ts:27:13) at ref (lib/components/table/resizer/lib/default/table/resizer/index.tsx:156:44) at commitAttachRef (node_modules/react-dom/cjs/react-dom.development.js:20023:7) at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:22808:7) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:188:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:237:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:292:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:22541:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:653:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11039:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22381:3) at finishSyncRender (node_modules/react-dom/cjs/react-dom.development.js:21807:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21793:7) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3) at node_modules/react-dom/cjs/react-dom.development.js:24758:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5) at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10) at node_modules/@testing-library/react/dist/pure.js:101:25 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14) at render (node_modules/@testing-library/react/dist/pure.js:97:26) at Object.<anonymous> (src/table/__tests__/header-cell.test.tsx:97:33)
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'loadCallback'. Either include it or remove the dependency array. If 'loadCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'React' is defined but never used
dry-run / Demos tests
'Alert' is defined but never used
dry-run / Demos tests
'Box' is defined but never used
dry-run / Demos tests
'ExternalLink' is defined but never used
dry-run / Demos tests
'setVisible' is assigned a value but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback

Artifacts

Produced during runtime
Name Size
components-package Expired
90.1 MB
dependencies Expired
328 KB