Skip to content

Mock useId so it can be reset before each tests #1495

Mock useId so it can be reset before each tests

Mock useId so it can be reset before each tests #1495

Triggered via pull request April 23, 2026 22:22
Status Success
Total duration 20m 27s
Artifacts 9

build-and-test.yaml

on: pull_request
Build Element Web
2m 28s
Build Element Web
Prepare Element Desktop  /  Prepare
43s
Prepare Element Desktop / Prepare
Matrix: playwright_ew
Downstream Playwright tests [element-modules]  /  Run Playwright end-to-end tests & upload html report
Downstream Playwright tests [element-modules] / Run Playwright end-to-end tests & upload html report
Matrix: Desktop Linux
Matrix: Desktop Windows
Waiting for pending jobs
Desktop macOS  /  Build macOS Universal
Desktop macOS / Build macOS Universal
Desktop macOS  /  ...  /  test
Desktop macOS / Test macOS Universal / test
end-to-end-tests
42s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 5 notices
[Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts:33:9 › Cryptography › decryption failure messages › should handle device-relative historical messages @screenshot: apps/web/playwright/pages/ElementAppPage.ts#L97
1) [Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts:33:9 › Cryptography › decryption failure messages › should handle device-relative historical messages @screenshot Error: locator.click: Test timeout of 60000ms 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_Dialog_background" data-testid="dialog-background"></div> from <div id="mx_Dialog_Container">…</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_Dialog_background" data-testid="dialog-background"></div> from <div id="mx_Dialog_Container">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 110 × 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_Dialog_background" data-testid="dialog-background"></div> from <div id="mx_Dialog_Container">…</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/crypto/decryption-failure-messages.spec.ts:50:27
[Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts:33:9 › Cryptography › decryption failure messages › should handle device-relative historical messages @screenshot: apps/web/playwright/e2e/crypto/decryption-failure-messages.spec.ts#L0
1) [Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts:33:9 › Cryptography › decryption failure messages › should handle device-relative historical messages @screenshot Test timeout of 60000ms exceeded.
[Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:110:5 › OIDC Native › can log in to an existing MAS account @no-firefox @no-webkit @screenshot: apps/web/playwright/e2e/oidc/oidc-native.spec.ts#L134
1) [Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:110:5 › OIDC Native › can log in to an existing MAS account @no-firefox @no-webkit @screenshot Error: expect(locator).toBeVisible() failed Locator: getByText('Confirm your digital identity') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Confirm your digital identity') 132 | 133 | // We should be in > 134 | await expect(page.getByText("Confirm your digital identity")).toBeVisible(); | ^ 135 | }); 136 | 137 | test.describe("with force_verification on", () => { at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/oidc/oidc-native.spec.ts:134:71
Desktop Linux (static, amd64, false) / Build Linux amd64 SQLCipher static
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: nbucic/variable-mapper@0673f6891a0619ba7c002ecfed0f9f4f39017b6f. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
🎭 Playwright Run Summary
1 skipped 6 passed (26.3s)
🎭 Playwright Run Summary
1 skipped 130 passed (10.5m)
🎭 Playwright Run Summary
3 skipped 130 passed (11.4m)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts:33:9 › Cryptography › decryption failure messages › should handle device-relative historical messages @screenshot 134 passed (13.4m)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:110:5 › OIDC Native › can log in to an existing MAS account @no-firefox @no-webkit @screenshot 1 skipped 129 passed (16.3m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-Chrome-1
17.4 MB
sha256:05f7fbe22769842e85e0fabaee0f19f1d58dacb80f051e30ed4bd44fd784d3b3
blob-report-Chrome-2
957 KB
sha256:3610efaec70f54c14ecf98392294670c7b1ef32fba8ba1b502c1767a685766b6
blob-report-Chrome-3
1.54 MB
sha256:c8cb693b1353b3f6feaffaab703e8c612c7294ac3552f4bcecac55e61f02d214
blob-report-Chrome-4
6.95 MB
sha256:ac2be8ddb302e897382ae754faaf212e2426d5be0a98f203d1ef5de9e656e8f3
blob-report-linux-amd64-sqlcipher-static
48.6 KB
sha256:610347abeb0384cf4ab730bc87a3b7827cce54139bae908567baf60488493d01
desktop-prepare
41.2 MB
sha256:2b78d4d5cadc13a0e489e8cba4278e27fa694339af6b22626b8c0f712f1e3c0f
html-report
25.6 MB
sha256:b49458a3d3a66a9ea1e7a82aeed9a3583f61beae1ddb077cf5b32d9f5800d73e
linux-amd64-sqlcipher-static
283 MB
sha256:4299db00b4ce756607706dff7667e07b136dac1421ce3646abc5b547453778f5
webapp
41.4 MB
sha256:b84d7158916e43453f4ea56d277cabf7e3f3a338e59047e559488936fa8ceb1b