Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Support widgets sending to-device messages when using Rust CryptoApi #712

Support widgets sending to-device messages when using Rust CryptoApi

Support widgets sending to-device messages when using Rust CryptoApi #712

Triggered via pull request October 7, 2024 11:06
Status Failure
Total duration 7m 20s
Artifacts

tests.yml

on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 50s
Element Web Integration Tests
jest-tests
1s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Element Web Integration Tests
Process completed with exit code 1.
StopGapWidgetDriver › sendToDevice › sends encrypted messages: src/stores/widgets/StopGapWidgetDriver.ts#L442
TypeError: crypto.encryptToDeviceMessages is not a function at encryptToDeviceMessages (src/stores/widgets/StopGapWidgetDriver.ts:442:48) at Array.map (<anonymous>) at StopGapWidgetDriver.map [as sendToDevice] (src/stores/widgets/StopGapWidgetDriver.ts:440:66) at Object.sendToDevice (test/stores/widgets/StopGapWidgetDriver-test.ts:217:26)
DecryptionFailureBody › should handle messages from unverified devices: test/components/views/messages/DecryptionFailureBody-test.tsx#L132
expect(element).toHaveTextContent() Expected element to have text content: Encrypted by a device not verified by its owner Received: Verified identity has changed at Object.toHaveTextContent (test/components/views/messages/DecryptionFailureBody-test.tsx:132:27)
Jest (2)
Process completed with exit code 1.
DeviceIsolationModeController › tracks enabling and disabling › on sets signed device isolation mode: src/settings/controllers/DeviceIsolationModeController.ts#L34
TypeError: _cryptoApi.OnlySignedDevicesIsolationMode is not a constructor at setDeviceIsolationMode (src/settings/controllers/DeviceIsolationModeController.ts:34:15) at DeviceIsolationModeController.setDeviceIsolationMode [as onChange] (src/settings/controllers/DeviceIsolationModeController.ts:20:9) at Object.onChange (test/settings/controllers/DeviceIsolationModeController-test.ts:22:24)
DeviceIsolationModeController › tracks enabling and disabling › off sets all device isolation mode: src/settings/controllers/DeviceIsolationModeController.ts#L37
TypeError: _cryptoApi.AllDevicesIsolationMode is not a constructor at setDeviceIsolationMode (src/settings/controllers/DeviceIsolationModeController.ts:37:15) at DeviceIsolationModeController.setDeviceIsolationMode [as onChange] (src/settings/controllers/DeviceIsolationModeController.ts:20:9) at Object.onChange (test/settings/controllers/DeviceIsolationModeController-test.ts:29:24)
Jest (1)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.