Merge branch 'master' into keycloak-ramsons #225
3 fail, 336 pass in 1m 1s
1 files 56 suites 1m 1s ⏱️
339 tests 336 ✅ 0 💤 3 ❌
342 runs 339 ✅ 0 💤 3 ❌
Results for commit 4176fde.
Annotations
Check warning on line 0 in SessionEventContainer event listeners thisWindowRtrIstTimeout
github-actions / Jest Unit Test Results
SessionEventContainer event listeners thisWindowRtrIstTimeout (SessionEventContainer event listeners thisWindowRtrIstTimeout) failed
artifacts/jest-junit/junit.xml [took 0s]
Raw output
ReferenceError: queryClient is not defined
at queryClient (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.js:38:51)
at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.test.js:104:34)
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 logout
github-actions / Jest Unit Test Results
SessionEventContainer event listeners otherWindowStorage logout (SessionEventContainer event listeners otherWindowStorage logout) failed
artifacts/jest-junit/junit.xml [took 0s]
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: "/"
Received: "/logout"
Number of calls: 1
at Object.toHaveBeenCalledWith (/home/runner/work/stripes-core/stripes-core/src/components/SessionEventContainer/SessionEventContainer.test.js:153:28)
Check warning on line 0 in LogoutTimeout if authenticated, renders a redirect
github-actions / Jest Unit Test Results
LogoutTimeout if authenticated, renders a redirect (LogoutTimeout if authenticated, renders a redirect) failed
artifacts/jest-junit/junit.xml [took 0s]
Raw output
TestingLibraryElementError: Unable to find an element with the text: Redirect. 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.
Ignored nodes: comments, script, style
<body>
<div>
<main>
<div
class="wrapper"
>
<div
class="container"
>
<div
class="row"
>
<div
class="col"
/>
</div>
<div
class="row"
>
<div
class="col"
>
<div>
stripes-core.rtr.idleSession.sessionExpiredSoSad
</div>
</div>
</div>
<div
class="row"
>
<div
class="col"
>
<button
data-test-button="true"
type="button"
>
<span>
stripes-core.rtr.idleSession.logInAgain
</span>
</button>
</div>
</div>
</div>
</div>
</main>
</div>
</body>
at Object.getElementError (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/stripes-core/stripes-core/src/components/LogoutTimeout/LogoutTimeout.test.js:44:12)
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)