End to End Tests #4008
Annotations
7 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/crypto/decryption-failure-messages.spec.ts#L293
1) [WebKit] › crypto/decryption-failure-messages.spec.ts:203:17 › Cryptography › decryption failure messages › non-joined historical messages › should be able to jump to a message sent before our last join event
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.mx_EventTile').getByText('This should be decryptable')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.mx_EventTile').getByText('This should be decryptable')
291 | await page.goto(`#/room/${roomId}/${eventId}`);
292 |
> 293 | await expect(page.locator(`.mx_EventTile`).getByText("This should be decryptable")).toBeVisible();
| ^
294 | });
295 | });
296 | });
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/decryption-failure-messages.spec.ts:293:101
|
Run Playwright tests:
playwright/e2e/crypto/event-shields.spec.ts#L36
2) [WebKit] › crypto/event-shields.spec.ts:227:13 › Cryptography › event shields › should show the correct shield on edited e2e events
Test timeout of 30000ms exceeded while running "beforeEach" hook.
34 | let testRoomId: string;
35 |
> 36 | test.beforeEach(async ({ page, bot: bob, user: aliceCredentials, app }) => {
| ^
37 | await app.client.bootstrapCrossSigning(aliceCredentials);
38 | await autoJoin(bob);
39 |
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/event-shields.spec.ts:36:14
|
Run Playwright tests:
playwright/element-web-test.ts#L191
2) [WebKit] › crypto/event-shields.spec.ts:227:13 › Cryptography › event shields › should show the correct shield on edited e2e events
Error: page.waitForSelector: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_MatrixChat') to be visible
at ../element-web-test.ts:191
189 | user: async ({ pageWithCredentials: page, credentials }, use) => {
190 | await page.goto("/");
> 191 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
| ^
192 | await use(credentials);
193 | },
194 |
at Object.user (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:191:20)
|
Run Playwright tests:
playwright/e2e/crypto/invisible-crypto.spec.ts#L1
3) [WebKit] › crypto/invisible-crypto.spec.ts:20:9 › Invisible cryptography › Messages fail to decrypt when sender is previously verified
Test timeout of 30000ms exceeded while setting up "bot".
|
Run Playwright tests:
playwright/pages/bot.ts#L193
3) [WebKit] › crypto/invisible-crypto.spec.ts:20:9 › Invisible cryptography › Messages fail to decrypt when sender is previously verified
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/bot.ts:193
191 | }
192 |
> 193 | await clientHandle.evaluate(async (cli) => {
| ^
194 | await cli.initRustCrypto({ useIndexedDB: false });
195 | cli.setGlobalErrorOnUnknownDevices(false);
196 | await cli.startClient();
at Bot.buildClient (/home/runner/work/element-web/element-web/playwright/pages/bot.ts:193:28)
at Bot.prepareClient (/home/runner/work/element-web/element-web/playwright/pages/client.ts:43:27)
at Object.bot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:225:9)
|
Run Playwright tests:
playwright/e2e/knock/create-knock-room.spec.ts#L82
4) [WebKit] › knock/create-knock-room.spec.ts:61:9 › Create Knock Room › should create a public knock room
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option').first()
Expected string: "Cybersecurity"
Received string: "TTestRoom!ERruexUdcUAAyihGFY:localhost2 Members↵Join"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option').first()
7 × locator resolved to <li tabindex="-1" role="option" aria-selected="true" id="mx_SpotlightDialog_button_result_!ERruexUdcUAAyihGFY:localhost" aria-labelledby="mx_SpotlightDialog_button_result_!ERruexUdcUAAyihGFY:localhost_name" aria-details="mx_SpotlightDialog_button_result_!ERruexUdcUAAyihGFY:localhost_details" aria-describedby="mx_SpotlightDialog_button_result_!ERruexUdcUAAyihGFY:localhost_alias" class="mx_AccessibleButton mx_SpotlightDialog_result_multiline mx_SpotlightDialog_option">…</li>
- unexpected value "TTestRoom!ERruexUdcUAAyihGFY:localhost2 Members↵Join"
80 | const spotlightDialog = await app.openSpotlight();
81 | await spotlightDialog.filter(Filter.PublicRooms);
> 82 | await expect(spotlightDialog.results.nth(0)).toContainText("Cybersecurity");
| ^
83 | });
84 | });
85 |
at /home/runner/work/element-web/element-web/playwright/e2e/knock/create-knock-room.spec.ts:82:54
|
Run Playwright tests:
playwright/e2e/lazy-loading/lazy-loading.spec.ts#L69
5) [WebKit] › lazy-loading/lazy-loading.spec.ts:110:9 › Lazy Loading › should handle lazy loading properly even when offline
Error: toBeAttached can be only used with Locator object
67 | await app.timeline.scrollToTop();
68 | for (const charly of charlies) {
> 69 | await expect(await app.timeline.findEventTile(charly.credentials.displayName, charlyMsg1)).toBeAttached();
| ^
70 | await expect(await app.timeline.findEventTile(charly.credentials.displayName, charlyMsg2)).toBeAttached();
71 | }
72 | }
at checkPaginatedDisplayNames (/home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:69:104)
at /home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:118:9
|
Run Playwright tests:
[WebKit] › messages/messages.spec.ts#L1
[WebKit] › messages/messages.spec.ts took 1.6m
|
Run Playwright tests:
[WebKit] › composer/RTE.spec.ts#L1
[WebKit] › composer/RTE.spec.ts took 1.5m
|
Run Playwright tests:
[WebKit] › crypto/crypto.spec.ts#L1
[WebKit] › crypto/crypto.spec.ts took 51.2s
|
Run Playwright tests:
[WebKit] › accessibility/keyboard-navigation.spec.ts#L1
[WebKit] › accessibility/keyboard-navigation.spec.ts took 28.3s
|
Run Playwright tests:
[WebKit] › integration-manager/kick.spec.ts#L1
[WebKit] › integration-manager/kick.spec.ts took 26.6s
|
Run Playwright tests
5 flaky
[WebKit] › crypto/decryption-failure-messages.spec.ts:203:17 › Cryptography › decryption failure messages › non-joined historical messages › should be able to jump to a message sent before our last join event
[WebKit] › crypto/event-shields.spec.ts:227:13 › Cryptography › event shields › should show the correct shield on edited e2e events
[WebKit] › crypto/invisible-crypto.spec.ts:20:9 › Invisible cryptography › Messages fail to decrypt when sender is previously verified
[WebKit] › knock/create-knock-room.spec.ts:61:9 › Create Knock Room › should create a public knock room
[WebKit] › lazy-loading/lazy-loading.spec.ts:110:9 › Lazy Loading › should handle lazy loading properly even when offline
17 skipped
100 passed (13.5m)
|
Loading