Skip to content

End to End Tests

End to End Tests #7967

Triggered via workflow run March 8, 2024 20:45
@RiotRobotRiotRobot
completed 8e68d5d
Status Success
Total duration 19m 4s
Artifacts 9

end-to-end-tests.yaml

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

Annotations

7 errors, 7 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] › 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
1) [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
[Legacy Crypto] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts:61:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread: matrix-react-sdk/playwright/e2e/spaces/threads-activity-centre/index.ts#L294
2) [Legacy Crypto] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts:61:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') at spaces/threads-activity-centre/index.ts:294 292 | */ 293 | assertHighlightIndicator() { > 294 | return expect(this.getTacButton().locator("[data-indicator='critical']")).toBeVisible(); | ^ 295 | } 296 | 297 | /** at Helpers.assertHighlightIndicator (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/spaces/threads-activity-centre/index.ts:294:83) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts:80:20
[Legacy 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
3) [Legacy 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-Legacy-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-Legacy-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 - 26691 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 - 26691 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
[Rust Crypto] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L103
4) [Rust Crypto] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme Error: Screenshot comparison failed: 154 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/audio-player/audio-player.spec.ts/Selected-EventTile-of-audio-player--high-contrast--irc-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/audio-player-audio-player-Audio-player-should-be-correctly-rendered---high-contrast-theme-Rust-Crypto/Selected-EventTile-of-audio-player--high-contrast--irc-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/audio-player-audio-player-Audio-player-should-be-correctly-rendered---high-contrast-theme-Rust-Crypto/Selected-EventTile-of-audio-player--high-contrast--irc-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" d…>…</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 - 154 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" d…>…</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 - 154 pixels (ratio 0.01 of all image pixels) are different. 101 | 102 | // Take a snapshot of mx_EventTile_last on IRC layout > 103 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot( | ^ 104 | `${detail.replaceAll(" ", "-")}-irc-layout.png`, 105 | screenshotOptions, 106 | ); at takeSnapshots (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:103:58) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:165:9
[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
5) [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
🎭 Playwright Run Summary
5 flaky [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Legacy Crypto] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts:61:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread [Legacy Crypto] › timeline/timeline.spec.ts:459:13 › Timeline › message displaying › should render EventTiles on IRC, modern (group), and bubble layout [Rust Crypto] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A 121 skipped 658 passed (17.0m)
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.4m
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

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
1.05 MB
all-blob-reports-2 Expired
619 KB
all-blob-reports-3 Expired
5.76 MB
all-blob-reports-4 Expired
7.8 MB
all-blob-reports-5 Expired
5.5 MB
all-blob-reports-6 Expired
588 KB
all-blob-reports-7 Expired
5.88 MB
all-blob-reports-8 Expired
1.11 MB
html-report--attempt-1 Expired
23.4 MB