Skip to content

fix: Fix minor issues with table resize handle #5743

fix: Fix minor issues with table resize handle

fix: Fix minor issues with table resize handle #5743

Triggered via pull request September 17, 2023 16:13
Status Failure
Total duration 14m 38s
Artifacts

build-lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 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)
build / build
Process completed with exit code 1.
build / build: pages/button/alignment.page.tsx#L22
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
build / build: pages/form-field/form-field-columns.page.tsx#L18
Unexpected 'todo' comment: 'TODO: Replace this with Select'
build / build: pages/utils/permutations-view.tsx#L17
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
build / build: src/__a11y__/to-validate-a11y.ts#L26
Unexpected 'todo' comment: 'TODO: revisit 'no-redundant-for' when...'
build / build: src/__a11y__/to-validate-a11y.ts#L77
Unexpected 'todo' comment: 'TODO: remove polyfill with es2019...'
build / build: src/autosuggest/interfaces.ts#L154
Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'
build / build: src/flashbar/collapsible-flashbar.tsx#L322
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: src/internal/components/chart-status-container/index.tsx#L93
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: src/internal/components/dropdown/__tests__/dropdown-fit-handler.test.ts#L128
Unexpected 'todo' comment: 'TODO: this value is incorrect, should be...'
build / build: src/internal/utils/locale/normalize-locale.ts#L28
Unexpected 'todo' comment: 'TODO: support full BCP 47 spec?'