Skip to content

UIORGS-193 Add additional filters to support reporting requirements #719

UIORGS-193 Add additional filters to support reporting requirements

UIORGS-193 Add additional filters to support reporting requirements #719

GitHub Actions / Jest Unit Test Results failed Apr 17, 2024 in 0s

2 fail, 270 pass in 2m 53s

    1 files    84 suites   2m 53s ⏱️
272 tests 270 ✔️ 0 💤 2
276 runs  274 ✔️ 0 💤 2

Results for commit 1f57802.

Annotations

Check warning on line 0 in useOrganizations should return an empty list if there no filters were passed in the query

See this annotation in the file changed.

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

useOrganizations should return an empty list if there no filters were passed in the query (useOrganizations should return an empty list if there no filters were passed in the query) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'timezone')
    at timezone (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.js:32:32)
    at wrapper.wrapper (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.test.js:49:57)
    at TestComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:309:27)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderHook (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:318:7)
    at Object.<anonymous> (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.test.js:49:34)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in useOrganizations should return fetched organizations list

See this annotation in the file changed.

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

useOrganizations should return fetched organizations list (useOrganizations should return fetched organizations list) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'timezone')
    at timezone (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.js:32:32)
    at wrapper.wrapper (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.test.js:67:57)
    at TestComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:309:27)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderHook (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:318:7)
    at Object.<anonymous> (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useOrganizations/useOrganizations.test.js:67:34)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)