UIPQB-74: Non-default fields that are part of the query are automatic… #754
4 fail, 1 skipped, 74 pass in 1m 12s
Annotations
github-actions / Jest Unit Test Results
ResultViewer Render accordion and titles should render subtitle with correct count of records (ResultViewer Render accordion and titles should render subtitle with correct count of records) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'find')
at find (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:23:6)
at Array.filter (<anonymous>)
at filter (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:22:49)
at useAsyncDataSource (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/hooks/useAsyncDataSource.js:53:23)
at ResultViewer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.js:55:25)
at renderWithHooks (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at updateFunctionComponent (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:19588:20)
at beginWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:21601:16)
at beginWork$1 (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
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 flushSyncCallbacksOnlyInLegacyMode (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:12021:5)
at batchedUpdates$1 (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26148:7)
at batchNotifyFn (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@tanstack/query-core/src/notifyManager.ts:61:9)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:538:9)
at processTimers (node:internal/timers:512:7)
Error: Unable to find an element with the text: 1118 records found. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
<body>
<div />
</body>
at waitForWrapper (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/dom/dist/wait-for.js:173:27)
at Object.<anonymous> (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.test.js:56:20)
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)
Check warning on line 0 in ResultViewer Initial and visible columns setters should be called
github-actions / Jest Unit Test Results
ResultViewer Initial and visible columns setters should be called (ResultViewer Initial and visible columns setters should be called) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'find')
at find (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:23:6)
at Array.filter (<anonymous>)
at filter (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:22:49)
at useAsyncDataSource (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/hooks/useAsyncDataSource.js:53:23)
at ResultViewer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.js:55:25)
at renderWithHooks (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
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:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29685: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 render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.test.js:66: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)
Check warning on line 0 in ResultViewer Records table should be rendered with pagination
github-actions / Jest Unit Test Results
ResultViewer Records table should be rendered with pagination (ResultViewer Records table should be rendered with pagination) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'find')
at find (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:23:6)
at Array.filter (<anonymous>)
at filter (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:22:49)
at useAsyncDataSource (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/hooks/useAsyncDataSource.js:53:23)
at ResultViewer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.js:55:25)
at renderWithHooks (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
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:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29685: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 render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.test.js:89: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)
github-actions / Jest Unit Test Results
ResultViewer Refresh functionality should call changePage to #1 if refreshing triggered (ResultViewer Refresh functionality should call changePage to #1 if refreshing triggered) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'find')
at find (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:23:6)
at Array.filter (<anonymous>)
at filter (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/helpers.js:22:49)
at useAsyncDataSource (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/hooks/useAsyncDataSource.js:53:23)
at ResultViewer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.js:55:25)
at renderWithHooks (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
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:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/react-dom/cjs/react-dom.development.js:29685: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 render (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (/home/runner/work/ui-plugin-query-builder/ui-plugin-query-builder/src/QueryBuilder/ResultViewer/ResultViewer.test.js:117: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)