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

Triggered via workflow run February 26, 2024 16:45
@RiotRobotRiotRobot
completed 1403cd8
Status Success
Total duration 18m 34s
Artifacts 9

end-to-end-tests.yaml

on: workflow_run
Prepare
3s
Prepare
Matrix: tests
Report results
39s
Report results
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 7 warnings, and 1 notice
[Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L61
1) [Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login Error: jsHandle.evaluate: Execution context was destroyed, most likely because of a navigation. at crypto/utils.ts:61 59 | */ 60 | export function handleSasVerification(verifier: JSHandle<Verifier>): Promise<EmojiMapping[]> { > 61 | return verifier.evaluate((verifier) => { | ^ 62 | const event = verifier.getShowSasCallbacks(); 63 | if (event) return event.sas.emoji; 64 | at handleSasVerification (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:61:21) at doTwoWaySasVerification (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:188:26) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:88:38
[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] › 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) [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] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts#L1
4) [Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM Test timeout of 30000ms exceeded.
[Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts#L355
4) [Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. 353 | */ 354 | async function awaitVerifier(botVerificationRequest: JSHandle<VerificationRequest>): Promise<JSHandle<Verifier>> { > 355 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => { | ^ 356 | while (!verificationRequest.verifier) { 357 | await new Promise((r) => verificationRequest.once("change" as any, r)); 358 | } at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:355:35) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:287:35
[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
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.6m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 4.0m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.8m
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
5 flaky [Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login [Legacy Crypto] › presence/presence.spec.ts:26:13 › Presence tests › bob unreachable › renders unreachable presence state correctly [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] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM [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 654 passed (16.9m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
10.4 MB
all-blob-reports-2 Expired
3.04 MB
all-blob-reports-3 Expired
6.17 MB
all-blob-reports-4 Expired
1020 KB
all-blob-reports-5 Expired
6.4 MB
all-blob-reports-6 Expired
568 KB
all-blob-reports-7 Expired
6.08 MB
all-blob-reports-8 Expired
1.03 MB
html-report--attempt-1 Expired
30 MB