End to End Tests #8885
Annotations
4 errors and 1 notice
|
playwright/pages/client.ts#L130
3) [Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:93:9 › Pinned messages › should be able to pin and unpin from the quick actions
Error: jsHandle.evaluate: Cannot serialize result: object reference chain is too long.
at ../pages/client.ts:130
128 |
129 | const client = await this.prepareClient();
> 130 | return client.evaluate(
| ^
131 | (client, { roomId, content, threadId }) => {
132 | return client.sendMessage(roomId, threadId, content as RoomMessageEventContent);
133 | },
at Bot.sendMessage (/home/runner/work/element-web/element-web/playwright/pages/client.ts:130:23)
at Helpers.sendMessageAsClient (/home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/index.ts:64:13)
at Helpers.receiveMessages (/home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/index.ts:53:9)
at /home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/pinned-messages.spec.ts:95:9
|
|
playwright/e2e/left-panel/room-list-panel/room-list.spec.ts#L150
2) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:142:13 › Room list › Room list › should scroll to the current room
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('room-list').getByRole('gridcell', { name: 'Open room room0' })
148 |
149 | await expect(roomListView.getByRole("gridcell", { name: "Open room room0" })).toBeVisible();
> 150 | await roomListView.getByRole("gridcell", { name: "Open room room0" }).click();
| ^
151 |
152 | const filters = page.getByRole("listbox", { name: "Room list filters" });
153 | await filters.getByRole("option", { name: "People" }).click();
at /home/runner/work/element-web/element-web/playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:150:83
|
|
playwright/e2e/left-panel/room-list-panel/room-list.spec.ts#L0
2) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:142:13 › Room list › Room list › should scroll to the current room
Test timeout of 30000ms exceeded.
|
|
playwright/e2e/left-panel/room-list-panel/room-list.spec.ts#L54
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:44:13 › Room list › Room list › should render the room list @screenshot
Error: expect(locator).toHaveScreenshot(expected)
9210 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/left-panel/room-list-panel/room-list.spec.ts/room-list-scrolled-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/left-panel-room-list-panel-b32ce-should-render-the-room-list-Chrome/room-list-scrolled-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/left-panel-room-list-panel-b32ce-should-render-the-room-list-Chrome/room-list-scrolled-diff.png
Call log:
- Expect "toHaveScreenshot(room-list-scrolled.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('room-list')
- locator resolved to <div class="mx_RoomList" data-testid="room-list">…</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
- 9210 pixels (ratio 0.05 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('room-list')
- locator resolved to <div class="mx_RoomList" data-testid="room-list">…</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
- 9210 pixels (ratio 0.05 of all image pixels) are different.
52 | await page.mouse.wheel(0, 1000);
53 | await expect(roomListView.getByRole("gridcell", { name: "Open room room0" })).toBeVisible();
> 54 | await expect(roomListView).toMatchScreenshot("room-list-scrolled.png");
| ^
55 | });
56 |
57 | test("should open the room when it is clicked", async ({ page, app, user }) => {
at /home/runner/work/element-web/element-web/playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:54:40
|
|
3 flaky
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:44:13 › Room list › Room list › should render the room list @screenshot
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:142:13 › Room list › Room list › should scroll to the current room
[Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts:93:9 › Pinned messages › should be able to pin and unpin from the quick actions
1 skipped
95 passed (9.7m)
|
The logs for this run have expired and are no longer available.
Loading