Skip to content

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

Mock useId so it can be reset before each tests

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

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

build-and-test.yaml

on: pull_request
Build Element Web
2m 21s
Build Element Web
Prepare Element Desktop  /  Prepare
37s
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
43s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 5 notices
[Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites: apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L41
1) [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites Error: expect(locator).toHaveText(expected) failed Locator: getByTestId('room-list').getByTestId('room-name') Timeout: 5000ms - Expected - 1 + Received + 1 Array [ - "Room to Rescind", "Room to Reject", + "Room to Rescind", ] Call log: - Expect "toHaveText" with timeout 5000ms - waiting for getByTestId('room-list').getByTestId('room-name') 4 × locator resolved to 3 elements 5 × locator resolved to 2 elements 39 | test.describe("Sliding Sync", () => { 40 | const checkOrder = async (wantOrder: string[], page: Page) => { > 41 | await expect(page.getByTestId("room-list").getByTestId("room-name")).toHaveText(wantOrder); | ^ 42 | }; 43 | 44 | const bumpRoom = async (roomId: string, app: ElementAppPage) => { at checkOrder (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:41:78) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:259:15
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 (27.4s)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites 1 skipped 129 passed (11.2m)
🎭 Playwright Run Summary
3 skipped 130 passed (11.4m)
🎭 Playwright Run Summary
135 passed (12.0m)
🎭 Playwright Run Summary
1 skipped 130 passed (15.3m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-Chrome-1
820 KB
sha256:bf92d6e81ecaa40ab47a1900bb0fe82e88f1c176a3a5d3b576500656f2dd9475
blob-report-Chrome-2
959 KB
sha256:6afad3865980b434e1adde688766b1fcf3a13668ff179ef538ebe6a9a73990ba
blob-report-Chrome-3
6.65 MB
sha256:468272d1ddd590300f36c7465af12cf363bdf0f244239440a0dd94df2ac38d87
blob-report-Chrome-4
971 KB
sha256:7d9be8378375b5dc0275eb3f38dc4de9e734e48da1b5d9fe9456deecfb4272da
blob-report-linux-amd64-sqlcipher-static
49.2 KB
sha256:19e8ab6795ece78b16c4e2dd57d1089e21637b6d73b81a065f85759d34642324
desktop-prepare
41.2 MB
sha256:eae94457dcfadcbf976fd8a1fd40f982bf0bec9229c09d77178c72a44cbbe4ee
html-report
8.04 MB
sha256:dc8e7f896914c4d21a6508aa497b81db930495946ae8b26f3092a2aad065039f
linux-amd64-sqlcipher-static
283 MB
sha256:97ce0b8f51cbbc52c1d67b577e781bd6631df42088cbc3383d0d2bb95a5f09bb
webapp
41.4 MB
sha256:65d77b1d927b02953dc7c1ac92bb65d1005b0fd667ec3b2c20f83cbfe4267744