Skip to content

UIPQB-164: Columns are reset when user modifies query #373

UIPQB-164: Columns are reset when user modifies query

UIPQB-164: Columns are reset when user modifies query #373

GitHub Actions / Jest Unit Test Results failed Dec 24, 2024 in 0s

1 fail, 1 skipped, 124 pass in 1m 23s

  1 files   12 suites   1m 23s ⏱️
126 tests 124 ✅ 1 💤 1 ❌
130 runs  128 ✅ 1 💤 1 ❌

Results for commit 755fd0d.

Annotations

Check warning on line 0 in ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=undefined)

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ResultViewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=undefined)…ewer Initial and visible columns setters should call both when no initial fields are provided (recordColumns=undefined)) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TypeError: visibleColumns is not iterable
    at visibleColumns (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/hooks/useViewerCallbacks.js:18:49)
    at commitHookEffectListMount (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitPassiveMountOnFiber (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:24970:11)
    at commitPassiveMountEffects_complete (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:24930:9)
    at commitPassiveMountEffects_begin (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:24917:7)
    at commitPassiveMountEffects (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:24905:3)
    at flushPassiveEffectsImpl (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27078:3)
    at flushPassiveEffects (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at performSyncWorkOnRoot (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26115:3)
    at flushSyncCallbacks (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
    at Object.render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
    at /home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/react/dist/pure.js:97:26)
    at /home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.test.js:80:13
    at Object.<anonymous> (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-each/build/bind.js:81:13)
    at Promise.then.completed (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/utils.js:333:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/utils.js:259:10)
    at _callCircusTest (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:277:40)
    at _runTest (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:209:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:97:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:91:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:91:9)
    at run (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/run.js:31:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
    at jestAdapter (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
    at runTestInternal (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-runner/build/runTest.js:411:16)
    at runTest (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-runner/build/runTest.js:499:34)
    at Object.worker (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/jest-runner/build/testWorker.js:133:12)