End to End Tests #6704
Annotations
4 errors and 1 notice
playwright/e2e/room/room.spec.ts#L96
1) [WebKit] › playwright/e2e/room/room.spec.ts:56: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: viewport ratio 0
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
6 × locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div>
- unexpected value "viewport ratio 0"
94 | // The timeline should display the first message
95 | // The previous position before switching to Room B should be remembered
> 96 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport();
| ^
97 | });
98 | });
99 |
at /home/runner/work/element-web/element-web/playwright/e2e/room/room.spec.ts:96:91
|
playwright/e2e/room_options/marked_unread.spec.ts#L1
2) [WebKit] › playwright/e2e/room_options/marked_unread.spec.ts:25:9 › Mark as Unread › should mark a room as unread
Test timeout of 30000ms exceeded.
|
playwright/e2e/room_options/marked_unread.spec.ts#L51
2) [WebKit] › playwright/e2e/room_options/marked_unread.spec.ts:25:9 › Mark as Unread › should mark a room as unread
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('The mark unread test room').getByRole('button', { name: 'Room options' })
- locator resolved to <div tabindex="0" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Room options" class="mx_AccessibleButton mx_RoomTile_menuButton"></div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
47 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
49 | const roomTile = page.getByLabel(TEST_ROOM_NAME);
50 | await roomTile.focus();
> 51 | await roomTile.getByRole("button", { name: "Room options" }).click();
| ^
52 | await page.getByRole("menuitem", { name: "Mark as unread" }).click();
53 |
54 | await expect(page.getByLabel(TEST_ROOM_NAME + " Unread messages.")).toBeVisible();
at /home/runner/work/element-web/element-web/playwright/e2e/room_options/marked_unread.spec.ts:51:70
|
playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts#L1
3) [WebKit] › playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts:23:13 › Appearance user settings tab › Message Layout Panel › should change the message layout from modern to bubble @screenshot
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
- waiting for locator('.mx_MatrixChat') to be visible
at Object.user (/home/runner/work/element-web/element-web/node_modules/@element-hq/element-web-playwright-common/lib/fixtures/user.js:44:20)
|
3 flaky
[WebKit] › playwright/e2e/room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
[WebKit] › playwright/e2e/room_options/marked_unread.spec.ts:25:9 › Mark as Unread › should mark a room as unread
[WebKit] › playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts:23:13 › Appearance user settings tab › Message Layout Panel › should change the message layout from modern to bubble @screenshot
11 skipped
110 passed (13.4m)
|
The logs for this run have expired and are no longer available.
Loading