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

Triggered via workflow run December 18, 2023 06:07
@MidhunSureshRMidhunSureshR
completed 7508e62
Status Success
Total duration 18m 15s
Artifacts 2

end-to-end-tests.yaml

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

Annotations

5 errors, 5 warnings, and 1 notice
[Legacy Crypto] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L166
1) [Legacy Crypto] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') 164 | if (!isDeviceVerified) { 165 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 166 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 167 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 168 | } 169 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:166:79
[Legacy Crypto] › presence/presence.spec.ts:26:13 › Presence tests › bob unreachable › renders unreachable presence state correctly: matrix-react-sdk/playwright/e2e/presence/presence.spec.ts#L62
2) [Legacy Crypto] › presence/presence.spec.ts:26:13 › Presence tests › bob unreachable › renders unreachable presence state correctly Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.mx_EntityTile_unreachable') Expected string: "Bob" Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.mx_EntityTile_unreachable') 60 | await page.getByRole("button", { name: "Room info" }).click(); 61 | await page.locator(".mx_RightPanel").getByText("People").click(); > 62 | await expect(page.locator(".mx_EntityTile_unreachable")).toContainText("Bob"); | ^ 63 | await expect(page.locator(".mx_EntityTile_unreachable")).toContainText("User's server unreachable"); 64 | }); 65 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/presence/presence.spec.ts:62:70
[Legacy Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist: matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L26
3) [Legacy Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist 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
[Legacy Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist: matrix-react-sdk/playwright/element-web-test.ts#L236
3) [Legacy Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_MatrixChat') to be visible at ../element-web-test.ts:236 234 | }, proxyAddress); 235 | await page.goto("/"); > 236 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 }); | ^ 237 | await use(proxyInstance); 238 | await proxy.stop(); 239 | }, at Object.slidingSyncProxy (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts:236:20)
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L587
4) [Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line Error: Screenshot comparison failed: 28 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/hidden-event-line-zero-padding-irc-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-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 element to be visible and stable - element is visible and stable - 28 pixels (ratio 0.01 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 element to be visible and stable - element is visible and stable - captured a stable screenshot - 28 pixels (ratio 0.01 of all image pixels) are different. 585 | }; 586 | > 587 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot( | ^ 588 | "hidden-event-line-zero-padding-irc-layout.png", 589 | screenshotOptions, 590 | ); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:587:57
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 4.9m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 4.5m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.7m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.5m
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] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [Legacy Crypto] › presence/presence.spec.ts:26:13 › Presence tests › bob unreachable › renders unreachable presence state correctly [Legacy Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist [Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line 127 skipped 593 passed (15.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
14.3 MB
html-report--attempt-1 Expired
17.6 MB