This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
End to End Tests #8038
Triggered via workflow run
March 14, 2024 16:24
florianduros
completed
49be30b
Status
Success
Total duration
19m 38s
Artifacts
9
Annotations
5 errors, 7 warnings, and 1 notice
[Legacy Crypto] › oidc/oidc-native.spec.ts:28:9 › OIDC Native › can register the oauth2 client and an account:
matrix-react-sdk/playwright/e2e/oidc/oidc-native.spec.ts#L1
1) [Legacy Crypto] › oidc/oidc-native.spec.ts:28:9 › OIDC Native › can register the oauth2 client and an account
Test timeout of 90000ms exceeded.
|
[Legacy Crypto] › oidc/oidc-native.spec.ts:28:9 › OIDC Native › can register the oauth2 client and an account:
matrix-react-sdk/playwright/e2e/oidc/oidc-native.spec.ts#L30
1) [Legacy Crypto] › oidc/oidc-native.spec.ts:28:9 › OIDC Native › can register the oauth2 client and an account
Error: page.waitForRequest: Test timeout of 90000ms exceeded.
28 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, app, mas }) => {
29 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`;
> 30 | const tokenApiPromise = page.waitForRequest(
| ^
31 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code",
32 | );
33 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/oidc/oidc-native.spec.ts:30: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
|
[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
4) [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
|
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 6.1m
|
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
|
🎭 Playwright Run Summary
4 flaky
[Legacy Crypto] › oidc/oidc-native.spec.ts:28:9 › OIDC Native › can register the oauth2 client and an account
[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
[Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog
121 skipped
661 passed (17.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports-1
Expired
|
5.79 MB |
|
all-blob-reports-2
Expired
|
2.98 MB |
|
all-blob-reports-3
Expired
|
5.74 MB |
|
all-blob-reports-4
Expired
|
3.83 MB |
|
all-blob-reports-5
Expired
|
1.19 MB |
|
all-blob-reports-6
Expired
|
587 KB |
|
all-blob-reports-7
Expired
|
952 KB |
|
all-blob-reports-8
Expired
|
1.12 MB |
|
html-report--attempt-1
Expired
|
17.2 MB |
|