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

Triggered via workflow run April 15, 2024 14:59
@floriandurosflorianduros
completed 6392759
Status Failure
Total duration 20m 29s
Artifacts 9

end-to-end-tests.yaml

on: workflow_run
Prepare
5s
Prepare
Matrix: tests
Report results
54s
Report results
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 7 warnings, and 1 notice
Run Tests 1/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 5/8
The process '/usr/bin/xvfb-run' failed with exit code 1
[Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
1) [Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
1) [Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
1) [Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
2) [Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
2) [Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L396
2) [Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by a device not verified by its owner." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') 394 | await expect(lastTileE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 395 | await lastTileE2eIcon.focus(); > 396 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by a device not verified by its owner."); | ^ 397 | 398 | /* Should show a grey padlock for a message from an unknown device */ 399 | // bob deletes his second device at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:396:53
[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
3) [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
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.8m
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: [Rust Crypto] › read-receipts/editing-messages.spec.ts#L1
[Rust Crypto] › read-receipts/editing-messages.spec.ts took 3.4m
🎭 Playwright Run Summary
2 failed [Legacy Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events [Rust Crypto] › crypto/crypto.spec.ts:316:13 › Cryptography › event shields › should show the correct shield on e2e events 1 flaky [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain 123 skipped 674 passed (17.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
12.8 MB
all-blob-reports-2 Expired
609 KB
all-blob-reports-3 Expired
1020 KB
all-blob-reports-4 Expired
4.59 MB
all-blob-reports-5 Expired
13.3 MB
all-blob-reports-6 Expired
579 KB
all-blob-reports-7 Expired
973 KB
all-blob-reports-8 Expired
1.15 MB
html-report--attempt-1 Expired
29.9 MB