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

End to End Tests

End to End Tests #6785

Triggered via workflow run January 16, 2024 12:27
@RiotRobotRiotRobot
completed a465b16
Status Success
Total duration 19m 15s
Artifacts 2

end-to-end-tests.yaml

on: workflow_run
Prepare
4s
Prepare
Matrix: tests
Report results
49s
Report results
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 5 warnings, and 1 notice
Report results
Pull Request not found!
Report results
The template is not valid. matrix-org/pr-details-action/v1.3/action.yml (Line: 15, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.,matrix-org/pr-details-action/v1.3/action.yml (Line: 18, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.,matrix-org/pr-details-action/v1.3/action.yml (Line: 21, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.
[Legacy Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L1
1) [Legacy Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files Test timeout of 30000ms exceeded.
[Legacy Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L250
1) [Legacy Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_EventTile_last').getByRole('button', { name: 'Reply', exact: true }) 248 | const clickButtonReply = async () => { 249 | await tile.hover(); > 250 | await tile.getByRole("button", { name: "Reply", exact: true }).click(); | ^ 251 | }; 252 | 253 | await uploadFile(page, "playwright/sample-files/upload-first.ogg"); at clickButtonReply (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:250:76) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:266:9
[Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
2) [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A Error: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') 98 | // The timeline should display the first message 99 | // The previous position before switching to Room B should be remembered > 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 101 | }); 102 | }); 103 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
[Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
3) [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A Error: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') 98 | // The timeline should display the first message 99 | // The previous position before switching to Room B should be remembered > 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 101 | }); 102 | }); 103 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
[Rust Crypto] › timeline/timeline.spec.ts:1019:13 › Timeline › message sending › should send: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1100
4) [Rust Crypto] › timeline/timeline.spec.ts:1019:13 › Timeline › message sending › should send, reply, and display long strings without overflowing Error: Screenshot comparison failed: 17422 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/timeline/timeline.spec.ts/long-strings-with-reply-irc-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-sho-91aff-ly-and-display-long-strings-without-overflowing-Rust-Crypto/long-strings-with-reply-irc-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-sho-91aff-ly-and-display-long-strings-without-overflowing-Rust-Crypto/long-strings-with-reply-irc-layout-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_ScrollPanel') - locator resolved to <div tabindex="-1" class="mx_AutoHideScrollbar mx_Scr…>…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - 17422 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_ScrollPanel') - locator resolved to <div tabindex="-1" class="mx_AutoHideScrollbar mx_Scr…>…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - captured a stable screenshot - 17422 pixels (ratio 0.02 of all image pixels) are different. 1098 | await expect(lastEventTileIrc.locator(".mx_EventTile_receiptSent")).toBeVisible(); // rendered at the bottom of EventTile 1099 | // Take a snapshot in IRC layout > 1100 | await expect(page.locator(".mx_ScrollPanel")).toMatchScreenshot( | ^ 1101 | "long-strings-with-reply-irc-layout.png", 1102 | screenshotOptions, 1103 | ); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1100:59
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 6.2m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.4m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.9m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
Slow Test: [Legacy Crypto] › read-receipts/high-level.spec.ts#L1
[Legacy Crypto] › read-receipts/high-level.spec.ts took 3.6m
🎭 Playwright Run Summary
4 flaky [Legacy Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Rust Crypto] › timeline/timeline.spec.ts:1019:13 › Timeline › message sending › should send, reply, and display long strings without overflowing 114 skipped 630 passed (16.8m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
26.9 MB
html-report--attempt-1 Expired
34.2 MB