This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Replace MatrixClient.prepareToEncrypt
by MatrixClient.getCrypto.prepareToEncrypt
#848
Annotations
3 errors, 5 warnings, and 1 notice
Run Playwright tests:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L120
1) crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys')
118 | if (!isDeviceVerified) {
119 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title");
> 120 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible();
| ^
121 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible();
122 | }
123 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:120:79
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
2) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/crypto/utils.ts#L373
2) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded.
at crypto/utils.ts:373
371 | botVerificationRequest: JSHandle<VerificationRequest>,
372 | ): Promise<JSHandle<Verifier>> {
> 373 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => {
| ^
374 | while (!verificationRequest.verifier) {
375 | await new Promise((r) => verificationRequest.once("change" as any, r));
376 | }
at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:373:35)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:67:48
|
Run Playwright tests:
matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.3m
|
Run Playwright tests:
matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.2m
|
Run Playwright tests:
matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.spec.ts took 1.0m
|
Run Playwright tests:
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 51.9s
|
Run Playwright tests:
matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 50.7s
|
Run Playwright tests
2 flaky
crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
1 skipped
75 passed (12.8m)
|
Loading