Skip to content

PoC Sign in with QR on new EW using generated QR for MSC4108 v2024 #18478

PoC Sign in with QR on new EW using generated QR for MSC4108 v2024

PoC Sign in with QR on new EW using generated QR for MSC4108 v2024 #18478

Triggered via pull request April 24, 2026 11:22
Status Failure
Total duration 10m 32s
Artifacts 2

tests.yml

on: pull_request
Matrix: Jest (Element Web)
Matrix: Vitest
jest-tests
5s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 2 warnings
Jest (Element Web) (1)
Process completed with exit code 1.
sso_redirect_options › immediate › should redirect for native OIDC: apps/web/test/unit-tests/vector/app-test.ts#L87
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "https://auth.org/auth?client_id=12345&redirect_uri=https%3A%2F%2Fapp.element.io%2F%3Fno_universal_links%3Dtrue&response_type=code&scope=openid+urn%3Amatrix%3Aorg.matrix.msc2967.client%3Aapi%3A*+urn%3Amatrix%3Aorg.matrix.msc2967.client%3Adevice%3AwKpa6hpi3Y&nonce=38QgU2Pomx&state=10000000100040008000100000000000&code_challenge=awE81eIsGff70JahvrTqWRbGKLI10ooyo_Xm1sxuZvU&code_challenge_method=S256&response_mode=fragment" Received: "https://auth.org/auth?client_id=12345&redirect_uri=https%3A%2F%2Fapp.element.io%2F%3Fno_universal_links%3Dtrue&response_type=code&scope=openid+urn%3Amatrix%3Aorg.matrix.msc2967.client%3Aapi%3A*+urn%3Amatrix%3Aorg.matrix.msc2967.client%3Adevice%3AEetmBG4yVC&nonce=wKpa6hpi3Y&state=10000000100040008000100000000000&code_challenge=awE81eIsGff70JahvrTqWRbGKLI10ooyo_Xm1sxuZvU&code_challenge_method=S256&response_mode=fragment" Number of calls: 1 at Object.toHaveBeenCalledWith (test/unit-tests/vector/app-test.ts:87:39)
<LoginWithQR /> › MSC4108 › handles user cancelling during reciprocation: apps/web/test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx#L219
expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: {"onClick": Any<Function>, "phase": 2} Received 2: {"checkCode": undefined, "code": undefined, "failureReason": undefined, "intent": "login.reciprocate", "onClick": [Function anonymous], "phase": 0, "userCode": undefined} -> 3 Object { - "onClick": Any<Function>, + "checkCode": undefined, + "code": undefined, + "failureReason": undefined, + "intent": "login.reciprocate", + "onClick": [Function anonymous], "phase": 2, + "userCode": undefined, }, Number of calls: 3 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at toHaveBeenLastCalledWith (test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx:219:36) at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77) at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16) at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
<LoginWithQR /> › MSC4108 › handles errors during reciprocation: apps/web/test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx#L190
expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: {"onClick": Any<Function>, "phase": 2} Received 2: {"checkCode": undefined, "code": undefined, "failureReason": undefined, "intent": "login.reciprocate", "onClick": [Function anonymous], "phase": 0, "userCode": undefined} -> 3 Object { - "onClick": Any<Function>, + "checkCode": undefined, + "code": undefined, + "failureReason": undefined, + "intent": "login.reciprocate", + "onClick": [Function anonymous], "phase": 2, + "userCode": undefined, }, Number of calls: 3 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at toHaveBeenLastCalledWith (test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx:190:36) at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77) at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16) at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
<LoginWithQR /> › MSC4108 › reciprocates login: apps/web/test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx#L145
expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: {"onClick": Any<Function>, "phase": 2} Received 2: {"checkCode": undefined, "code": undefined, "failureReason": undefined, "intent": "login.reciprocate", "onClick": [Function anonymous], "phase": 0, "userCode": undefined} -> 3 Object { - "onClick": Any<Function>, + "checkCode": undefined, + "code": undefined, + "failureReason": undefined, + "intent": "login.reciprocate", + "onClick": [Function anonymous], "phase": 2, + "userCode": undefined, }, Number of calls: 3 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at toHaveBeenLastCalledWith (test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx:145:36) at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77) at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16) at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
<LoginWithQR /> › MSC4108 › render QR then back: apps/web/test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx#L108
expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: {"onClick": Any<Function>, "phase": 1} Received 2: {"checkCode": undefined, "code": undefined, "failureReason": undefined, "intent": "login.reciprocate", "onClick": [Function anonymous], "phase": 0, "userCode": undefined} -> 3 Object { - "onClick": Any<Function>, + "checkCode": undefined, + "code": undefined, + "failureReason": undefined, + "intent": "login.reciprocate", + "onClick": [Function anonymous], "phase": 1, + "userCode": undefined, }, Number of calls: 3 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div /> </div> </body> </html> at toHaveBeenLastCalledWith (test/unit-tests/components/views/settings/devices/LoginWithQR-test.tsx:108:36) at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77) at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16) at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
<SessionManagerTab /> › removes spinner when device fetch fails: apps/web/test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L221
M_UNRECOGNIZED: MatrixError: [404] Unknown message at Object.<anonymous> (test/unit-tests/components/views/settings/tabs/user/SessionManagerTab-test.tsx:221:58)
jest-tests
Process completed with exit code 1.
Jest (Element Web) (1)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: SimenB/github-actions-cpu-cores@97ba232459a8e02ff6121db9362b09661c875ab8. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Jest (Element Web) (2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: SimenB/github-actions-cpu-cores@97ba232459a8e02ff6121db9362b09661c875ab8. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
coverage-module-api
1.42 KB
sha256:ef0043d4309006bc7827df3b2781a4c97ea8ab2b3fa8aaf5bd74a0be77acfeb6
coverage-shared-components
25.6 KB
sha256:3d7fa2fcaa057d165643dfca06b0e5a183d79f28023d78e6ee831f4e7c06d816