matrix-react-sdk End to End Tests #1760
Annotations
3 errors, 5 warnings, and 1 notice
Run Playwright tests:
matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts#L25
1) accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('.mx_SpaceButton_active')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('.mx_SpaceButton_active')
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
23 | // Pressing Control+F6 will first focus the space button
24 | await page.keyboard.press("ControlOrMeta+F6");
> 25 | await expect(page.locator(".mx_SpaceButton_active")).toBeFocused();
| ^
26 |
27 | // Pressing Control+F6 again will focus room search
28 | await page.keyboard.press("ControlOrMeta+F6");
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts:25:62
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L115
2) crypto/crypto.spec.ts:92: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')
113 | if (!isDeviceVerified) {
114 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title");
> 115 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible();
| ^
116 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible();
117 | }
118 |
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:115:79
|
Run Playwright tests:
matrix-react-sdk/http:/localhost:8080/bundles/b8bd6f1203cdf878a167/771.js#L3276
3) crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
Error: jsHandle.evaluate: Error: Cannot encrypt event in unconfigured room !vXxRPnigMYYyMkTrXl:localhost
at RustCrypto.encryptEvent (http://localhost:8080/bundles/b8bd6f1203cdf878a167/771.js:3276:13)
at MatrixClient.encryptEventIfNeeded (http://localhost:8080/bundles/b8bd6f1203cdf878a167/init.js:9341:30)
at async MatrixClient.encryptAndSendEvent (http://localhost:8080/bundles/b8bd6f1203cdf878a167/init.js:9273:9)
at async <anonymous>:260:30
at RustCrypto.encryptEvent (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/http:/localhost:8080/bundles/b8bd6f1203cdf878a167/771.js:3276:13)
at MatrixClient.encryptEventIfNeeded (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/http:/localhost:8080/bundles/b8bd6f1203cdf878a167/init.js:9341:30)
at async MatrixClient.encryptAndSendEvent (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/http:/localhost:8080/bundles/b8bd6f1203cdf878a167/init.js:9273:9)
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/async <anonymous>:260:30
at Bot.sendMessage (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/pages/client.ts:125:23)
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:276:13
|
Run Playwright tests:
matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.2m
|
Run Playwright tests:
matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
|
Run Playwright tests:
matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 46.3s
|
Run Playwright tests:
matrix-react-sdk/integration-manager/kick.spec.ts#L1
matrix-react-sdk/integration-manager/kick.spec.ts took 40.0s
|
Run Playwright tests:
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 38.9s
|
Run Playwright tests
3 flaky
accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms ─
crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code
crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
1 skipped
74 passed (11.8m)
|
Loading