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 #8372

Triggered via workflow run April 3, 2024 10:16
@renovaterenovate[bot]
completed 2abac6f
Status Success
Total duration 17m 16s
Artifacts 9

end-to-end-tests.yaml

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

Annotations

5 errors, 7 warnings, and 1 notice
[Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1017
1) [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain Error: Screenshot comparison failed: 103 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/timeline/timeline.spec.ts/event-tile-reply-chains-bubble-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li> - 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 - 103 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li> - 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 - 103 pixels (ratio 0.01 of all image pixels) are different. 1015 | 1016 | // Take a snapshot on bubble layout > 1017 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot( | ^ 1018 | "event-tile-reply-chains-bubble-layout.png", 1019 | screenshotOptions, 1020 | ); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1017:62
[Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog: matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts#L48
2) [Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog Error: Screenshot comparison failed: 129 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/user-onboarding/user-onboarding-new.spec.ts/User-Onboarding-new-user-app-download-dialog-1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboarding-new-User-Onboarding-new-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboarding-new-User-Onboarding-new-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_Dialog') - locator resolved to <div class="mx_Dialog">…</div> - 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 - 129 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_Dialog') - locator resolved to <div class="mx_Dialog">…</div> - 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 - 129 pixels (ratio 0.01 of all image pixels) are different. 46 | page.getByRole("dialog").getByRole("heading", { level: 1, name: "Download Element" }), 47 | ).toBeVisible(); > 48 | await expect(page.locator(".mx_Dialog")).toMatchScreenshot(); | ^ 49 | }); 50 | 51 | test("using find friends action should increase progress", async ({ page, homeserver }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts:48:50
[Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L26
3) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly Test timeout of 30000ms exceeded while running "beforeEach" hook. 24 | let roomId: string; 25 | > 26 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => { | ^ 27 | roomId = await app.client.createRoom({ name: "Test Room" }); 28 | }); 29 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:26:10
[Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/pages/client.ts#L161
3) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly Error: jsHandle.evaluate: Test timeout of 30000ms exceeded. at ../pages/client.ts:161 159 | public async createRoom(options: ICreateRoomOpts): Promise<string> { 160 | const client = await this.prepareClient(); > 161 | return await client.evaluate(async (cli, options) => { | ^ 162 | const resp = await cli.createRoom(options); 163 | const roomId = resp.room_id; 164 | if (!cli.getRoom(roomId)) { at Client.createRoom (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:161:29) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:27:18
[Rust Crypto] › timeline/timeline.spec.ts:459:13 › Timeline › message displaying › should render EventTiles on IRC: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L549
4) [Rust Crypto] › timeline/timeline.spec.ts:459:13 › Timeline › message displaying › should render EventTiles on IRC, modern (group), and bubble layout Error: Screenshot comparison failed: 306 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/timeline/timeline.spec.ts/event-tiles-bubble-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying--1502b-ventTiles-on-IRC-modern-group-and-bubble-layout-Rust-Crypto/event-tiles-bubble-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying--1502b-ventTiles-on-IRC-modern-group-and-bubble-layout-Rust-Crypto/event-tiles-bubble-layout-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - 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 - 26697 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - 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 - 26697 pixels (ratio 0.05 of all image pixels) are different. - waiting 250ms before taking screenshot - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - 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 - 306 pixels (ratio 0.01 of all image pixels) are different. - waiting 500ms before taking screenshot - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - 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 - 306 pixels (ratio 0.01 of all image pixels) are different. 547 | page.locator(".mx_RoomView").getByText("This message has an inline emoji 👒"), 548 | ).toBeInViewport(); > 549 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot( | ^ 550 | "event-tiles-bubble-layout.png", 551 | screenshotOptions, 552 | ); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:549:57
Prepare
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report results
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/github-script@v6, nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 5.9m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.2m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.6m
Slow Test: [Legacy Crypto] › read-receipts/new-messages.spec.ts#L1
[Legacy Crypto] › read-receipts/new-messages.spec.ts took 3.4m
🎭 Playwright Run Summary
4 flaky [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain [Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly [Rust Crypto] › timeline/timeline.spec.ts:459:13 › Timeline › message displaying › should render EventTiles on IRC, modern (group), and bubble layout 121 skipped 669 passed (15.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
1.05 MB
all-blob-reports-2 Expired
622 KB
all-blob-reports-3 Expired
1000 KB
all-blob-reports-4 Expired
7.38 MB
all-blob-reports-5 Expired
1.19 MB
all-blob-reports-6 Expired
590 KB
all-blob-reports-7 Expired
965 KB
all-blob-reports-8 Expired
7.49 MB
html-report--attempt-1 Expired
15.2 MB