Skip to content

STCOR-875 sync to master #227

STCOR-875 sync to master

STCOR-875 sync to master #227

GitHub Actions / Jest Unit Test Results failed Sep 12, 2024 in 0s

5 fail, 274 pass in 1m 3s

279 tests   274 ✅  1m 3s ⏱️
 54 suites    0 💤
  1 files      5 ❌

Results for commit 2106d9c.

Annotations

Check warning on line 0 in SessionEventContainer event listeners thisWindowRtrError

See this annotation in the file changed.

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

SessionEventContainer event listeners thisWindowRtrError (SessionEventContainer event listeners thisWindowRtrError) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TypeError: Cannot read properties of undefined (reading 'then')
    at thisWindowRtrError (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.js:28:63)
    at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.test.js:73:23)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in SessionEventContainer event listeners thisWindowRtrIstTimeout

See this annotation in the file changed.

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

SessionEventContainer event listeners thisWindowRtrIstTimeout (SessionEventContainer event listeners thisWindowRtrIstTimeout) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TypeError: Cannot read properties of undefined (reading 'then')
    at thisWindowRtrIstTimeout (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.js:38:63)
    at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.test.js:90:28)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in SessionEventContainer event listeners otherWindowStorage timeout

See this annotation in the file changed.

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

SessionEventContainer event listeners otherWindowStorage timeout (SessionEventContainer event listeners otherWindowStorage timeout) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TypeError: Cannot read properties of undefined (reading 'then')
    at otherWindowStorage (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.js:65:65)
    at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.test.js:112:25)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in LogoutTimeout if not authenticated, renders a timeout message

See this annotation in the file changed.

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

LogoutTimeout if not authenticated, renders a timeout message (LogoutTimeout if not authenticated, renders a timeout message) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TypeError: (0 , _loginServices.getUnauthorizedPathFromSession) is not a function
    at LogoutTimeout (/home/runner/work/stripes-core/stripes-core/src/components/LogoutTimeout/LogoutTimeout.js:44:54)
    at renderWithHooks (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/stripes-core/stripes-core/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/stripes-core/stripes-core/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/pure.js:271:10)
    at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/components/LogoutTimeout/LogoutTimeout.test.js:24:11)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in LogoutTimeout if authenticated, calls logout then renders a timeout message

See this annotation in the file changed.

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

LogoutTimeout if authenticated, calls logout then renders a timeout message (LogoutTimeout if authenticated, calls logout then renders a timeout message) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
Error: expect(jest.fn()).toHaveBeenCalled()

Expected number of calls: >= 1
Received number of calls:    0
    at Object.toHaveBeenCalled (/home/runner/work/stripes-core/stripes-core/src/components/LogoutTimeout/LogoutTimeout.test.js:33:20)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)