Skip to content

Add Advanced section to the user settings encryption tab #2664

Add Advanced section to the user settings encryption tab

Add Advanced section to the user settings encryption tab #2664

Triggered via pull request January 15, 2025 16:10
Status Failure
Total duration 6m 33s
Artifacts 1

tests.yml

on: pull_request
Matrix: Jest
jest-tests
3s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
<EncryptionUserSettingsTab /> › should display the recovery panel when the encryption is set up: src/hooks/useAsyncMemo.ts#L19
TypeError: Cannot read properties of undefined (reading 'then') at src/hooks/useAsyncMemo.ts:19:13 at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26) at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11) at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9) at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7) at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3) at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3) at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14) at node_modules/react-dom/cjs/react-dom.development.js:26808:9 at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34) at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14) at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
<EncryptionUserSettingsTab /> › should display the change recovery key panel when the user clicks on the change recovery button: src/hooks/useAsyncMemo.ts#L19
TypeError: Cannot read properties of undefined (reading 'then') at src/hooks/useAsyncMemo.ts:19:13 at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26) at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11) at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9) at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7) at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3) at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3) at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14) at node_modules/react-dom/cjs/react-dom.development.js:26808:9 at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34) at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14) at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
<EncryptionUserSettingsTab /> › should display the change recovery key panel when the user clicks on the change recovery button: test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx#L75
Unable to find role="button" and name "Change recovery key" Ignored nodes: comments, script, style <body> <div /> </body> at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx:75:22)
<EncryptionUserSettingsTab /> › should display the set up recovery key when the user clicks on the set up recovery key button: src/hooks/useAsyncMemo.ts#L19
TypeError: Cannot read properties of undefined (reading 'then') at src/hooks/useAsyncMemo.ts:19:13 at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26) at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11) at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9) at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7) at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3) at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3) at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14) at node_modules/react-dom/cjs/react-dom.development.js:26808:9 at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34) at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14) at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
<EncryptionUserSettingsTab /> › should display the set up recovery key when the user clicks on the set up recovery key button: test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx#L89
Unable to find role="button" and name "Set up recovery" Ignored nodes: comments, script, style <body> <div /> </body> at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx:89:22)
Jest (2)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-1
392 KB