This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
End to End Tests #6784
Annotations
10 errors, 5 warnings, and 1 notice
[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
1) [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] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant:
matrix-react-sdk/playwright/e2e/read-receipts/high-level.spec.ts#L1
2) [Legacy Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant, the room is read
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
[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] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions:
matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts#L1
4) [Legacy Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
Test timeout of 30000ms exceeded.
|
[Legacy Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions:
matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts#L102
4) [Legacy Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
Error: expect(locator).not.toBeVisible()
Locator: locator('.mx_SettingsTab').getByText('Other sessions')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.mx_SettingsTab').getByText('Other sessions')
- locator resolved to <h3 class="mx_Heading_h4 mx_SettingsSubsectionHeadin…>Other sessions</h3>
- unexpected value "visible"
- locator resolved to <h3 class="mx_Heading_h4 mx_SettingsSubsectionHeadin…>Other sessions</h3>
- unexpected value "visible"
100 |
101 | // no other sessions or security recommendations sections when only one session
> 102 | await expect(tab.getByText("Other sessions")).not.toBeVisible();
| ^
103 | await expect(tab.getByTestId("security-recommendations-section")).not.toBeVisible();
104 | });
105 | });
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts:102:59
|
[Rust Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant:
matrix-react-sdk/playwright/e2e/read-receipts/high-level.spec.ts#L1
5) [Rust Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant, the room is read
Test timeout of 30000ms exceeded.
|
[Rust Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant:
matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L486
5) [Rust Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant, the room is read
Error: expect(locator).toHaveText(expected)
Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_count')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_count')
- locator resolved to <span class="mx_NotificationBadge_count">1</span>
- unexpected value "1"
- locator resolved to <span class="mx_NotificationBadge_count">1</span>
- unexpected value "1"
- locator resolved to <span class="mx_NotificationBadge_count">1</span>
- unexpected value "1"
at read-receipts/index.ts:486
484 | await expect(tile.locator(".mx_NotificationBadge_dot")).toBeVisible();
485 | } else {
> 486 | await expect(tile.locator(".mx_NotificationBadge_count")).toHaveText(count.toString());
| ^
487 | }
488 | }
489 |
at Helpers.assertUnread (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:486:71)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/high-level.spec.ts:102:24
|
[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
6) [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
|
[Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions:
matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts#L24
7) [Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
Test timeout of 30000ms exceeded while running "beforeEach" hook.
22 | });
23 |
> 24 | test.beforeEach(async ({ homeserver, user }) => {
| ^
25 | // create 3 extra sessions to manage
26 | for (let i = 0; i < 3; i++) {
27 | await homeserver.loginUser(user.userId, user.password);
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts:24:10
|
[Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions:
matrix-react-sdk/playwright/element-web-test.ts#L184
7) [Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
Error: page.waitForSelector: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_MatrixChat') to be visible
at ../element-web-test.ts:184
182 | );
183 | await page.goto("/");
> 184 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
| ^
185 |
186 | await use(credentials);
187 | },
at Object.user (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts:184: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.5m
|
Slow Test:
[Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 4.2m
|
Slow Test:
[Legacy Crypto] › read-receipts/high-level.spec.ts#L1
[Legacy Crypto] › read-receipts/high-level.spec.ts took 4.0m
|
Slow Test:
[Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.9m
|
🎭 Playwright Run Summary
8 flaky
[Legacy Crypto] › presence/presence.spec.ts:26:13 › Presence tests › bob unreachable › renders unreachable presence state correctly
[Legacy Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant, the room is read
[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] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
[Rust Crypto] › read-receipts/high-level.spec.ts:94:13 › Read receipts › Ignored events › If all events after receipt are unimportant, the room is read
[Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
[Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line
114 skipped
626 passed (16.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
35.2 MB |
|
html-report--attempt-1
Expired
|
45.5 MB |
|