End to End Tests #17665
Annotations
10 errors, 1 warning, and 1 notice
|
Run Playwright tests:
apps/web/playwright/pages/bot.ts#L274
2) [WebKit] › playwright/e2e/modules/custom-component.spec.ts:93:9 › Custom Component API › basic functionality › should disallow downloading media when the allowDownloading hint is set to false
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: Execution context was destroyed, most likely because of a navigation
at ../pages/bot.ts:274
272 | const client = await this.getClientHandle();
273 | // @ts-ignore private field logger
> 274 | const body = await client.evaluate((cli) => (<PlaywrightLogger>cli.logger).log);
| ^
275 | await testInfo.attach(`playwright-bot-${credentials.userId}`, {
276 | body,
277 | contentType: "text/plain",
at Bot.onTestFinished (/home/runner/work/element-web/element-web/apps/web/playwright/pages/bot.ts:274:39)
at Object.bot (/home/runner/work/element-web/element-web/apps/web/playwright/element-web-test.ts:96:9)
|
|
Run Playwright tests:
apps/web/playwright/pages/client.ts#L415
2) [WebKit] › playwright/e2e/modules/custom-component.spec.ts:93:9 › Custom Component API › basic functionality › should disallow downloading media when the allowDownloading hint is set to false
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: TypeError: null is not an object (evaluating 'cli.uploadContent')
at ../pages/client.ts:415
413 | public async uploadContent(file: Buffer, opts?: UploadOpts): Promise<Awaited<Upload["promise"]>> {
414 | const client = await this.prepareClient();
> 415 | return client.evaluate(
| ^
416 | async (cli: MatrixClient, { file, opts }) => cli.uploadContent(new Uint8Array(file), opts),
417 | {
418 | file: [...file],
at Client.uploadContent (/home/runner/work/element-web/element-web/apps/web/playwright/pages/client.ts:415:23)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/modules/custom-component.spec.ts:100:28
|
|
Run Playwright tests:
apps/web/playwright/pages/bot.ts#L274
2) [WebKit] › playwright/e2e/modules/custom-component.spec.ts:93:9 › Custom Component API › basic functionality › should disallow downloading media when the allowDownloading hint is set to false
Error: jsHandle.evaluate: Execution context was destroyed, most likely because of a navigation
at ../pages/bot.ts:274
272 | const client = await this.getClientHandle();
273 | // @ts-ignore private field logger
> 274 | const body = await client.evaluate((cli) => (<PlaywrightLogger>cli.logger).log);
| ^
275 | await testInfo.attach(`playwright-bot-${credentials.userId}`, {
276 | body,
277 | contentType: "text/plain",
at Bot.onTestFinished (/home/runner/work/element-web/element-web/apps/web/playwright/pages/bot.ts:274:39)
at Object.bot (/home/runner/work/element-web/element-web/apps/web/playwright/element-web-test.ts:96:9)
|
|
Run Playwright tests:
apps/web/playwright/pages/client.ts#L415
2) [WebKit] › playwright/e2e/modules/custom-component.spec.ts:93:9 › Custom Component API › basic functionality › should disallow downloading media when the allowDownloading hint is set to false
Error: jsHandle.evaluate: TypeError: null is not an object (evaluating 'cli.uploadContent')
at ../pages/client.ts:415
413 | public async uploadContent(file: Buffer, opts?: UploadOpts): Promise<Awaited<Upload["promise"]>> {
414 | const client = await this.prepareClient();
> 415 | return client.evaluate(
| ^
416 | async (cli: MatrixClient, { file, opts }) => cli.uploadContent(new Uint8Array(file), opts),
417 | {
418 | file: [...file],
at Client.uploadContent (/home/runner/work/element-web/element-web/apps/web/playwright/pages/client.ts:415:23)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/modules/custom-component.spec.ts:100:28
|
|
Run Playwright tests:
apps/web/playwright/pages/ElementAppPage.ts#L97
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('room-list').locator('[title="Test Room"]').first()
- locator resolved to <div title="Test Room" data-testid="room-name" class="_roomName_rtaba_83">Test Room</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
48 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at ../pages/ElementAppPage.ts:97
95 | public async viewRoomByName(name: string): Promise<void> {
96 | // We get the room list by test-id which is a listbox and matching title=name
> 97 | return this.page.getByTestId("room-list").locator(`[title="${name}"]`).first().click();
| ^
98 | }
99 |
100 | /**
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/apps/web/playwright/pages/ElementAppPage.ts:97:88)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/links/permalinks.spec.ts:121:19
|
|
Run Playwright tests:
apps/web/playwright/e2e/links/permalinks.spec.ts#L0
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
apps/web/playwright/pages/ElementAppPage.ts#L97
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('room-list').locator('[title="Test Room"]').first()
- locator resolved to <div title="Test Room" data-testid="room-name" class="_roomName_rtaba_83">Test Room</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
48 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at ../pages/ElementAppPage.ts:97
95 | public async viewRoomByName(name: string): Promise<void> {
96 | // We get the room list by test-id which is a listbox and matching title=name
> 97 | return this.page.getByTestId("room-list").locator(`[title="${name}"]`).first().click();
| ^
98 | }
99 |
100 | /**
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/apps/web/playwright/pages/ElementAppPage.ts:97:88)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/links/permalinks.spec.ts:121:19
|
|
Run Playwright tests:
apps/web/playwright/e2e/links/permalinks.spec.ts#L0
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
apps/web/playwright/pages/ElementAppPage.ts#L97
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('room-list').locator('[title="Test Room"]').first()
- locator resolved to <div title="Test Room" data-testid="room-name" class="_roomName_rtaba_83">Test Room</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
47 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_Toast_toast">…</div> from <div role="alert" class="mx_ToastContainer mx_ToastContainer_stacked">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at ../pages/ElementAppPage.ts:97
95 | public async viewRoomByName(name: string): Promise<void> {
96 | // We get the room list by test-id which is a listbox and matching title=name
> 97 | return this.page.getByTestId("room-list").locator(`[title="${name}"]`).first().click();
| ^
98 | }
99 |
100 | /**
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/apps/web/playwright/pages/ElementAppPage.ts:97:88)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/links/permalinks.spec.ts:121:19
|
|
Run Playwright tests:
apps/web/playwright/e2e/links/permalinks.spec.ts#L0
1) [WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
Test timeout of 30000ms exceeded.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Playwright tests
65 failed
[WebKit] › playwright/e2e/links/permalinks.spec.ts:111:5 › triple-click message selection › should select entire message line when triple-clicking on message with pills
[WebKit] › playwright/e2e/modules/custom-component.spec.ts:93:9 › Custom Component API › basic functionality › should disallow downloading media when the allowDownloading hint is set to false
[WebKit] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:13:5 › Pinned messages › should show the empty state when there are no pinned messages @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:25:5 › Pinned messages › should pin one message and to have the pinned message badge in the timeline @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:46:5 › Pinned messages › should pin messages and show them in the room info panel
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:55:5 › Pinned messages › should pin messages and show them in the pinned message panel
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:66:5 › Pinned messages › should unpin one message
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:79:5 › Pinned messages › should unpin all messages @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:93:5 › Pinned messages › should be able to pin and unpin from the quick actions
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:104:5 › Pinned messages › should display one message in the banner @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:112:5 › Pinned messages › should display 2 messages in the banner @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:129:5 › Pinned messages › should display 4 messages in the banner @screenshot
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:141:5 › Pinned messages › should open the pinned messages list from the banner
[WebKit] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:152:5 › Pinned messages › banner should listen to pinned message list
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:19:13 › Read receipts › editing messages › in threads › An edit of a threaded message makes the room unread @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:44:13 › Read receipts › editing messages › in threads › Reading an edit of a threaded message makes the room read @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:71:13 › Read receipts › editing messages › in threads › Marking a room as read after an edit in a thread makes it read @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:94:13 › Read receipts › editing messages › in threads › Editing a thread message after marking as read leaves the room read @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:115:13 › Read receipts › editing messages › in threads › A room with an edited threaded message is still read after restart @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:135:13 › Read receipts › editing messages › in threads › A room where all threaded edits are read is still read after restart @mergequeue
[WebKit] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts:160:13 › Read receipts › editing messages › in threads › A room where all threaded edits are marked as read is still read after restart @mergequeue
[WebKit] › playwright/e2e/read-receip
|
Loading