Skip to content

Merge? Please?

Merge? Please? #266

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

10 fail, 329 pass in 1m 23s

  1 files  ± 0   56 suites  +17   1m 23s ⏱️ +33s
339 tests +41  329 ✅ +31  0 💤 ±0  10 ❌ +10 
345 runs  +44  335 ✅ +34  0 💤 ±0  10 ❌ +10 

Results for commit 89629a2. ± Comparison against earlier commit b1dacce.

Annotations

Check warning on line 0 in FFetch class force refresh event Invokes a refresh on RTR_FORCE_REFRESH_EVENT...

See this annotation in the file changed.

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

FFetch class force refresh event Invokes a refresh on RTR_FORCE_REFRESH_EVENT... (FFetch class force refresh event Invokes a refresh on RTR_FORCE_REFRESH_EVENT...) failed

artifacts/jest-junit/junit.xml [took 1s]
Raw output
TypeError: Cannot read properties of undefined (reading 'url')
    at url (/home/runner/work/stripes-core/stripes-core/src/components/Root/token-util.js:224:42)
    at globalEventCallback (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.js:91:10)
    at callTheUserObjectsOperation (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at EventTargetImpl._dispatch (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at EventTargetImpl.dispatchEvent (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at dispatchEvent (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.dispatchEvent (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:179:14)
    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 _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)
Error: expect(received).toHaveLength(expected)

Expected length: 1
Received length: 0
Received array:  []

Ignored nodes: comments, script, style
<html>
  <head />
  <body />
</html>
    at toHaveLength (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:181:56)
    at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12)
    at checkCallback (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
    at checkRealTimersCallback (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:118:16)
    at Timeout.task [as _onTimeout] (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
    at listOnTimeout (node:internal/timers:581:17)
    at processTimers (node:internal/timers:519:7)

Check warning on line 0 in FFetch class calling authentication resources handles RTR data in the response

See this annotation in the file changed.

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

FFetch class calling authentication resources handles RTR data in the response (FFetch class calling authentication resources handles RTR data in the response) failed

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

Expected: Any<Function>, 2500
Received: {}, 2000

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:233:18)

Check warning on line 0 in FFetch class calling authentication resources handles RTR data in the session

See this annotation in the file changed.

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

FFetch class calling authentication resources handles RTR data in the session (FFetch class calling authentication resources handles RTR data in the session) failed

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

Expected: Any<Function>, 2500
Received: {}, 2000

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:287:18)

Check warning on line 0 in FFetch class calling authentication resources handles missing RTR data

See this annotation in the file changed.

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

FFetch class calling authentication resources handles missing RTR data (FFetch class calling authentication resources handles missing RTR data) failed

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

Expected: Any<Function>, 8000
Received: {}, 2000

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:326:18)

Check warning on line 0 in FFetch class calling authentication resources avoids rotation when AT and RT expire together

See this annotation in the file changed.

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

FFetch class calling authentication resources avoids rotation when AT and RT expire together (FFetch class calling authentication resources avoids rotation when AT and RT expire together) failed

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

Expected: Any<Function>, -55000
Received: {}, 2000

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:409:18)

Check warning on line 0 in FFetch class Calling an okapi fetch with missing token... returns the error

See this annotation in the file changed.

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

FFetch class Calling an okapi fetch with missing token... returns the error (FFetch class Calling an okapi fetch with missing token... returns the error) failed

artifacts/jest-junit/junit.xml [took 5s]
Raw output
TypeError: Cannot read properties of undefined (reading 'fixedLengthSessionWarningTTL')
    at fixedLengthSessionWarningTTL (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.js:136:108)
TypeError: Cannot read properties of undefined (reading 'fixedLengthSessionWarningTTL')
    at fixedLengthSessionWarningTTL (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.js:136:108)
TypeError: Cannot read properties of undefined (reading 'fixedLengthSessionWarningTTL')
    at fixedLengthSessionWarningTTL (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.js:136:108)
TypeError: Cannot read properties of undefined (reading 'fixedLengthSessionWarningTTL')
    at fixedLengthSessionWarningTTL (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.js:136:108)
http://localhost/:1
[object Promise]
        ^^^^^^^

SyntaxError: Unexpected identifier 'Promise'
    at new Script (node:vm:116:7)
    at createScript (node:vm:268:10)
    at Object.runInContext (node:vm:299:10)
    at Timeout.task [as _onTimeout] (/home/runner/work/stripes-core/stripes-core/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:522:14)
    at listOnTimeout (node:internal/timers:581:17)
    at processTimers (node:internal/timers:519:7)
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:418:5)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:417:3)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:47:1)
    at Runtime._execModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    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 FFetch class Calling an okapi fetch with valid token, but failing request... returns response from failed fetch, only calls fetch once.

See this annotation in the file changed.

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

FFetch class Calling an okapi fetch with valid token, but failing request... returns response from failed fetch, only calls fet…ling an okapi fetch with valid token, but failing request... returns response from failed fetch, only calls fetch once.) failed

artifacts/jest-junit/junit.xml [took 5s]
Raw output
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:432:5)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:431:3)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:47:1)
    at Runtime._execModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    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 FFetch class Calling an okapi fetch with missing token and failing rotation... triggers rtr...calls fetch 2 times, failed call, failed token call, throws error

See this annotation in the file changed.

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

FFetch class Calling an okapi fetch with missing token and failing rotation... triggers rtr...calls fetch 2 times, failed call,… missing token and failing rotation... triggers rtr...calls fetch 2 times, failed call, failed token call, throws error) failed

artifacts/jest-junit/junit.xml [took 5s]
Raw output
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:455:5)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:454:3)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:47:1)
    at Runtime._execModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    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 FFetch class Calling an okapi fetch with missing token and reported error from auth service... throws an RTR error

See this annotation in the file changed.

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

FFetch class Calling an okapi fetch with missing token and reported error from auth service... throws an RTR error (FFetch class Calling an okapi fetch with missing token and reported error from auth service... throws an RTR error) failed

artifacts/jest-junit/junit.xml [took 5s]
Raw output
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:482:5)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:481:3)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:47:1)
    at Runtime._execModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    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 FFetch class Calling an okapi fetch when all tokens are expired triggers an RTR error

See this annotation in the file changed.

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

FFetch class Calling an okapi fetch when all tokens are expired triggers an RTR error (FFetch class Calling an okapi fetch when all tokens are expired triggers an RTR error) failed

artifacts/jest-junit/junit.xml [took 5s]
Raw output
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:517:5)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:516:3)
    at _dispatchDescribe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/home/runner/work/stripes-core/stripes-core/src/components/Root/FFetch.test.js:47:1)
    at Runtime._execModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    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)