Skip to content

Rm/1962 hierarchy ux 6 #187

Rm/1962 hierarchy ux 6

Rm/1962 hierarchy ux 6 #187

Triggered via pull request June 26, 2024 09:08
Status Failure
Total duration 3m 56s
Artifacts

tests.yml

on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 1s
Element Web Integration Tests
Skip SonarCloud in merge queue
0s
Skip SonarCloud in merge queue
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Element Web Integration Tests
Process completed with exit code 1.
AutoDiscoveryUtils › buildValidatedConfigFromDiscovery() › handles homeserver too old error: test/utils/AutoDiscoveryUtils-test.tsx#L228
expect(received).rejects.toThrow(expected) Expected substring: "Your homeserver is too old and does not support the minimum API version required. Please contact your server owner, or upgrade your server." Received message: "Unexpected error resolving homeserver configuration" 274 | }); 275 | } > 276 | throw new UserFriendlyError("auth|autodiscovery_unexpected_error_hs"); | ^ 277 | } // else the error is not related to syntax - continue anyways. 278 | } 279 | at Function.buildValidatedConfigFromDiscovery (src/utils/AutoDiscoveryUtils.tsx:276:23) at buildValidatedConfigFromDiscovery (test/utils/AutoDiscoveryUtils-test.tsx:227:36) at Object.toThrow (node_modules/expect/build/index.js:202:58) at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23) at Object.toThrow (node_modules/expect/build/index.js:218:22) at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23)
Jest (1)
Process completed with exit code 1.
<LoginWithQR /> › no homeserver support: src/components/views/auth/LoginWithQR.tsx#L173
TypeError: Cannot read properties of undefined (reading 'HomeserverLacksSupport') at LoginWithQR.HomeserverLacksSupport [as generateCode] (src/components/views/auth/LoginWithQR.tsx:173:88) at LoginWithQR.updateMode (src/components/views/auth/LoginWithQR.tsx:88:13)
<LoginWithQR /> › no homeserver support: test/components/views/settings/devices/LoginWithQR-test.tsx#L114
TypeError: Cannot read properties of undefined (reading 'HomeserverLacksSupport') Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at HomeserverLacksSupport (test/components/views/settings/devices/LoginWithQR-test.tsx:114:56) at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
<LoginWithQR /> › failed to connect: src/components/views/auth/LoginWithQR.tsx#L184
TypeError: Cannot read properties of undefined (reading 'Unknown') at LoginWithQR.Unknown [as generateCode] (src/components/views/auth/LoginWithQR.tsx:184:92) at LoginWithQR.updateMode (src/components/views/auth/LoginWithQR.tsx:88:13)
<LoginWithQR /> › failed to connect: test/components/views/settings/devices/LoginWithQR-test.tsx#L128
TypeError: Cannot read properties of undefined (reading 'Unknown') Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at Unknown (test/components/views/settings/devices/LoginWithQR-test.tsx:128:56) at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
<LoginWithQR /> › failed to connect: src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66) at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5) at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11) at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7) at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5) at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5) at node_modules/react-dom/cjs/react-dom.development.js:26147:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12) at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5) at node_modules/@testing-library/react/dist/pure.js:144:23 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14) at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26) at Set.forEach (<anonymous>) at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21) at Object.<anonymous> (test/components/views/
<LoginWithQR /> › render QR then cancel and try again: src/components/views/auth/LoginWithQR.tsx#L205
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at UserCancelled (src/components/views/auth/LoginWithQR.tsx:205:77) at Object.onClick (test/components/views/settings/devices/LoginWithQR-test.tsx:161:15)
<LoginWithQR /> › render QR then cancel and try again: src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66) at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5) at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11) at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7) at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5) at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5) at node_modules/react-dom/cjs/react-dom.development.js:26147:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12) at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5) at node_modules/@testing-library/react/dist/pure.js:144:23 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14) at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26) at Set.forEach (<anonymous>) at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21) at Object.<anonymous> (test/components/views/
<LoginWithQR /> › render QR then back: src/components/views/auth/LoginWithQR.tsx#L222
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at UserCancelled (src/components/views/auth/LoginWithQR.tsx:222:77) at Object.onClick (test/components/views/settings/devices/LoginWithQR-test.tsx:206:15)
<LoginWithQR /> › render QR then back: src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66) at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5) at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11) at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7) at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5) at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5) at node_modules/react-dom/cjs/react-dom.development.js:26147:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12) at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5) at node_modules/@testing-library/react/dist/pure.js:144:23 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14) at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26) at Set.forEach (<anonymous>) at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21) at Object.<anonymous> (test/components/views/
<LoginWithQR /> › approve - no crypto: src/components/views/auth/LoginWithQR.tsx#L97
TypeError: Cannot read properties of undefined (reading 'UserCancelled') at LoginWithQR.UserCancelled [as componentWillUnmount] (src/components/views/auth/LoginWithQR.tsx:97:66) at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom.development.js:20413:14) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.development.js:20420:5) at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:20951:11) at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development.js:21311:7) at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:21347:5) at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:23407:11) at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14) at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16) at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31) at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:23121:9) at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12) at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10) at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22990:3) at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22329:3) at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7) at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3) at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26037:5) at node_modules/react-dom/cjs/react-dom.development.js:26147:7 at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12) at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:26146:5) at node_modules/@testing-library/react/dist/pure.js:144:23 at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12) at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14) at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26) at Set.forEach (<anonymous>) at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21) at Object.<anonymous> (test/components/views/