Fix Read Receipt Test (#28719) #3157
Annotations
14 errors, 30 warnings, and 6 notices
[Chrome] › read-receipts/new-messages-in-threads.spec.ts:162:17 › Read receipts › new messages › in threads › Marking a room with unread threads as read makes it read @mergequeue:
eval at evaluate (:234:30)#L1
1) [Chrome] › read-receipts/new-messages-in-threads.spec.ts:162:17 › Read receipts › new messages › in threads › Marking a room with unread threads as read makes it read @mergequeue
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId')
at eval (eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/element-web/element-web/eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (/home/runner/work/element-web/element-web/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/element-web/element-web/<anonymous>:1:44)
at Helpers.sendMessageAsClient (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:338:35)
at Helpers.receiveMessages (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:582:9)
at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/new-messages-in-threads.spec.ts:170:17
|
[Chrome] › read-receipts/redactions-in-threads.spec.ts:124:17 › Read receipts › redactions › in threads › Reading an unread thread after a redaction of an older message makes it read @mergequeue:
eval at evaluate (:234:30)#L1
1) [Chrome] › read-receipts/redactions-in-threads.spec.ts:124:17 › Read receipts › redactions › in threads › Reading an unread thread after a redaction of an older message makes it read @mergequeue
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId')
at eval (eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/element-web/element-web/eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (/home/runner/work/element-web/element-web/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/element-web/element-web/<anonymous>:1:44)
at Helpers.sendMessageAsClient (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:338:35)
at Helpers.receiveMessages (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:582:9)
at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:132:17
|
[Chrome] › read-receipts/redactions-in-threads.spec.ts:211:17 › Read receipts › redactions › in threads › Redacting a message after marking the thread as read leaves it read @mergequeue:
eval at evaluate (:234:30)#L1
2) [Chrome] › read-receipts/redactions-in-threads.spec.ts:211:17 › Read receipts › redactions › in threads › Redacting a message after marking the thread as read leaves it read @mergequeue
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId')
at eval (eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/element-web/element-web/eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (/home/runner/work/element-web/element-web/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/element-web/element-web/<anonymous>:1:44)
at Helpers.sendMessageAsClient (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:338:35)
at Helpers.receiveMessages (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:582:9)
at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:219:17
|
[Chrome] › read-receipts/redactions-main-timeline.spec.ts:119:17 › Read receipts › redactions › in the main timeline › Redacting a message after marking the room as read leaves it read @mergequeue:
eval at evaluate (:234:30)#L1
3) [Chrome] › read-receipts/redactions-main-timeline.spec.ts:119:17 › Read receipts › redactions › in the main timeline › Redacting a message after marking the room as read leaves it read @mergequeue
Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId')
at eval (eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/element-web/element-web/eval at evaluate (:234:30), <anonymous>:1:14)
at UtilityScript.evaluate (/home/runner/work/element-web/element-web/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/element-web/element-web/<anonymous>:1:44)
at Helpers.sendMessageAsClient (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:338:35)
at Helpers.receiveMessages (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:582:9)
at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-main-timeline.spec.ts:127:17
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L18
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 | let roomId: string;
17 |
> 18 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => {
| ^
19 | roomId = await app.client.createRoom({ name: "Test Room" });
20 | });
21 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:18:10
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/pages/client.ts#L176
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/client.ts:176
174 | public async createRoom(options: ICreateRoomOpts): Promise<string> {
175 | const client = await this.prepareClient();
> 176 | return await client.evaluate(async (cli, options) => {
| ^
177 | const resp = await cli.createRoom(options);
178 | const roomId = resp.room_id;
179 | if (!cli.getRoom(roomId)) {
at Client.createRoom (/home/runner/work/element-web/element-web/playwright/pages/client.ts:176:29)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:19:18
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L18
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 | let roomId: string;
17 |
> 18 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => {
| ^
19 | roomId = await app.client.createRoom({ name: "Test Room" });
20 | });
21 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:18:10
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/pages/client.ts#L176
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/client.ts:176
174 | public async createRoom(options: ICreateRoomOpts): Promise<string> {
175 | const client = await this.prepareClient();
> 176 | return await client.evaluate(async (cli, options) => {
| ^
177 | const resp = await cli.createRoom(options);
178 | const roomId = resp.room_id;
179 | if (!cli.getRoom(roomId)) {
at Client.createRoom (/home/runner/work/element-web/element-web/playwright/pages/client.ts:176:29)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:19:18
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L18
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 | let roomId: string;
17 |
> 18 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => {
| ^
19 | roomId = await app.client.createRoom({ name: "Test Room" });
20 | });
21 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:18:10
|
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist:
playwright/pages/client.ts#L176
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/client.ts:176
174 | public async createRoom(options: ICreateRoomOpts): Promise<string> {
175 | const client = await this.prepareClient();
> 176 | return await client.evaluate(async (cli, options) => {
| ^
177 | const resp = await cli.createRoom(options);
178 | const roomId = resp.room_id;
179 | if (!cli.getRoom(roomId)) {
at Client.createRoom (/home/runner/work/element-web/element-web/playwright/pages/client.ts:176:29)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:19:18
|
Run Tests 5/6
Process completed with exit code 1.
|
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account:
playwright/e2e/oidc/oidc-native.spec.ts#L1
1) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account
Test timeout of 90000ms exceeded.
|
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account:
playwright/e2e/oidc/oidc-native.spec.ts#L23
1) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account
Error: page.waitForRequest: Test timeout of 90000ms exceeded.
21 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => {
22 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`;
> 23 | const tokenApiPromise = page.waitForRequest(
| ^
24 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code",
25 | );
26 |
at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:23:38
|
end-to-end-tests
Process completed with exit code 1.
|
Slow Test:
[Chrome] › read-receipts/high-level.spec.ts#L1
[Chrome] › read-receipts/high-level.spec.ts took 3.3m
|
Slow Test:
[Chrome] › read-receipts/editing-messages-in-threads.spec.ts#L1
[Chrome] › read-receipts/editing-messages-in-threads.spec.ts took 1.3m
|
Slow Test:
[Chrome] › read-receipts/new-messages-main-timeline.spec.ts#L1
[Chrome] › read-receipts/new-messages-main-timeline.spec.ts took 1.2m
|
Slow Test:
[Chrome] › read-receipts/editing-messages-main-timeline.spec.ts#L1
[Chrome] › read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
|
Slow Test:
[Chrome] › read-receipts/editing-messages-thread-roots.spec.ts#L1
[Chrome] › read-receipts/editing-messages-thread-roots.spec.ts took 54.2s
|
Slow Test:
[Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.8m
|
Slow Test:
[Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.3m
|
Slow Test:
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.7m
|
Slow Test:
[Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 36.0s
|
Slow Test:
[Chrome] › threads/threads.spec.ts#L1
[Chrome] › threads/threads.spec.ts took 35.8s
|
Slow Test:
[Chrome] › read-receipts/read-receipts.spec.ts#L1
[Chrome] › read-receipts/read-receipts.spec.ts took 1.1m
|
Slow Test:
[Chrome] › read-receipts/reactions-in-threads.spec.ts#L1
[Chrome] › read-receipts/reactions-in-threads.spec.ts took 59.3s
|
Slow Test:
[Chrome] › read-receipts/redactions-thread-roots.spec.ts#L1
[Chrome] › read-receipts/redactions-thread-roots.spec.ts took 55.6s
|
Slow Test:
[Chrome] › read-receipts/new-messages-thread-roots.spec.ts#L1
[Chrome] › read-receipts/new-messages-thread-roots.spec.ts took 52.9s
|
Slow Test:
[Chrome] › read-receipts/reactions-main-timeline.spec.ts#L1
[Chrome] › read-receipts/reactions-main-timeline.spec.ts took 36.1s
|
Slow Test:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.1m
|
Slow Test:
[Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 56.5s
|
Slow Test:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 45.8s
|
Slow Test:
[Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 39.8s
|
Slow Test:
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 32.7s
|
Slow Test:
[Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.3m
|
Slow Test:
[Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.2m
|
Slow Test:
[Chrome] › audio-player/audio-player.spec.ts#L1
[Chrome] › audio-player/audio-player.spec.ts took 1.2m
|
Slow Test:
[Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 1.0m
|
Slow Test:
[Chrome] › crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › crypto/decryption-failure-messages.spec.ts took 53.6s
|
Slow Test:
[Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 2.3m
|
Slow Test:
[Chrome] › pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › pinned-messages/pinned-messages.spec.ts took 1.7m
|
Slow Test:
[Chrome] › login/login.spec.ts#L1
[Chrome] › login/login.spec.ts took 1.0m
|
Slow Test:
[Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 39.4s
|
Slow Test:
[Chrome] › integration-manager/read_events.spec.ts#L1
[Chrome] › integration-manager/read_events.spec.ts took 37.2s
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › read-receipts/new-messages-in-threads.spec.ts:162:17 › Read receipts › new messages › in threads › Marking a room with unread threads as read makes it read @mergequeue
32 skipped
49 passed (9.9m)
|
🎭 Playwright Run Summary
3 skipped
69 passed (10.2m)
|
🎭 Playwright Run Summary
3 flaky
[Chrome] › read-receipts/redactions-in-threads.spec.ts:124:17 › Read receipts › redactions › in threads › Reading an unread thread after a redaction of an older message makes it read @mergequeue
[Chrome] › read-receipts/redactions-in-threads.spec.ts:211:17 › Read receipts › redactions › in threads › Redacting a message after marking the thread as read leaves it read @mergequeue
[Chrome] › read-receipts/redactions-main-timeline.spec.ts:119:17 › Read receipts › redactions › in the main timeline › Redacting a message after marking the room as read leaves it read @mergequeue
15 skipped
57 passed (10.3m)
|
🎭 Playwright Run Summary
1 failed
[Chrome] › sliding-sync/sliding-sync.spec.ts:251:9 › Sliding Sync › should show a favourite DM only in the favourite sublist
9 skipped
67 passed (10.6m)
|
🎭 Playwright Run Summary
79 passed (11.8m)
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account
1 skipped
77 passed (12.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports-1
Expired
|
675 KB |
|
all-blob-reports-2
Expired
|
4.37 MB |
|
all-blob-reports-3
Expired
|
1.73 MB |
|
all-blob-reports-4
Expired
|
5.14 MB |
|
all-blob-reports-5
Expired
|
2.41 MB |
|
all-blob-reports-6
Expired
|
773 KB |
|
html-report
|
14.4 MB |
|
webapp
Expired
|
34 MB |
|