Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

View message in timeline doesn't work if requested twice #11914

View message in timeline doesn't work if requested twice

View message in timeline doesn't work if requested twice #11914

Re-run triggered September 6, 2024 14:29
Status Failure
Total duration 13m 48s
Artifacts 10

end-to-end-tests.yaml

on: pull_request
Build Element-Web
2m 15s
Build Element-Web
Matrix: playwright
end-to-end-tests
28s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 30 warnings, and 6 notices
pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L51
1) pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel Error: Screenshot comparison failed: 360 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-pin-3-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-pin-3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 360 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 360 pixels (ratio 0.01 of all image pixels) are different. 49 | await util.openPinnedMessagesList(); 50 | await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]); > 51 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`); | ^ 52 | }); 53 | 54 | test("should unpin one message", async ({ page, app, room1, util }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:51:44
pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L63
2) pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message ───── Error: Screenshot comparison failed: 314 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-unpin-2-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-unpin-2.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 314 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 314 pixels (ratio 0.01 of all image pixels) are different. 61 | await util.unpinMessageFromMessageList("Msg2"); 62 | await util.assertPinnedMessagesList(["Msg1", "Msg4"]); > 63 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`); | ^ 64 | await util.backPinnedMessagesList(); 65 | await util.assertPinnedCountInRoomInfo(2); 66 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:63:44
editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L371
1) editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited, where we lack the edit event Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('[data-event-id="$XZNZlHPdsz6QpH3O8yY794ozR6VGBaJo_9lW_XRdtT8"]').locator('.mx_EventTile_body') Expected string: "Edited body" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('[data-event-id="$XZNZlHPdsz6QpH3O8yY794ozR6VGBaJo_9lW_XRdtT8"]').locator('.mx_EventTile_body') 369 | 370 | // nevertheless, the event should be updated > 371 | await expect(messageTile.locator(".mx_EventTile_body")).toHaveText("Edited body"); | ^ 372 | await expect(messageTile.locator(".mx_EventTile_edited")).toBeVisible(); 373 | }); 374 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:371:65
editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L371
1) editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited, where we lack the edit event Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('[data-event-id="$lx1XMyIiYh7z3e6dmtKGJv0J1cQRU5fOJI8vt_c74gc"]').locator('.mx_EventTile_body') Expected string: "Edited body" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('[data-event-id="$lx1XMyIiYh7z3e6dmtKGJv0J1cQRU5fOJI8vt_c74gc"]').locator('.mx_EventTile_body') 369 | 370 | // nevertheless, the event should be updated > 371 | await expect(messageTile.locator(".mx_EventTile_body")).toHaveText("Edited body"); | ^ 372 | await expect(messageTile.locator(".mx_EventTile_edited")).toBeVisible(); 373 | }); 374 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:371:65
editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L371
1) editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited, where we lack the edit event Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('[data-event-id="$9LGwC9wghWRx_jk0vXHjtQaD3ilrfyTPBNQV-qqHssY"]').locator('.mx_EventTile_body') Expected string: "Edited body" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('[data-event-id="$9LGwC9wghWRx_jk0vXHjtQaD3ilrfyTPBNQV-qqHssY"]').locator('.mx_EventTile_body') 369 | 370 | // nevertheless, the event should be updated > 371 | await expect(messageTile.locator(".mx_EventTile_body")).toHaveText("Edited body"); | ^ 372 | await expect(messageTile.locator(".mx_EventTile_edited")).toBeVisible(); 373 | }); 374 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:371:65
Run Tests 1/6
Process completed with exit code 1.
end-to-end-tests
Process completed with exit code 1.
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.2m
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 39.9s
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 38.5s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 36.7s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 33.5s
Slow Test: matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.5m
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 1.9m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 59.3s
Slow Test: matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts took 58.0s
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 1.1m
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 59.7s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 41.9s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 41.7s
Slow Test: matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 35.2s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.3m
Slow Test: matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.6m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.4m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
Slow Test: matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.2m
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.8m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.0m
Slow Test: matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.7m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 38.3s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 33.4s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.3m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.2m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 1.1m
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 54.2s
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 50.7s
🎭 Playwright Run Summary
2 flaky pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message ────── 2 skipped 72 passed (10.5m)
🎭 Playwright Run Summary
15 skipped 60 passed (9.4m)
🎭 Playwright Run Summary
9 skipped 64 passed (9.2m)
🎭 Playwright Run Summary
31 skipped 50 passed (9.9m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.8m)
🎭 Playwright Run Summary
1 failed editing/editing.spec.ts:305:9 › Editing › should correctly display events which are edited, where we lack the edit event 1 skipped 74 passed (12.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
3.73 MB
html-report Expired
11.2 MB