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
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 50s
jest-tests
1s
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.
|