End to End Tests #7243
Annotations
7 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/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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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')
7 × 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/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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
35 × 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/roles-permissions-room-settings-tab.spec.ts#L57
3) [WebKit] › playwright/e2e/settings/roles-permissions-room-settings-tab.spec.ts:28:9 › Roles & Permissions room settings tab › should be able to change the role of a user
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('.mx_SettingsFieldset').first().getByRole('combobox', { name: '@user_7cbf6cc164255d861be6-2f2b688ba0be616b37b3:localhost' })
Expected string: "50"
Received string: "100"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('.mx_SettingsFieldset').first().getByRole('combobox', { name: '@user_7cbf6cc164255d861be6-2f2b688ba0be616b37b3:localhost' })
9 × locator resolved to <select type="text" id="mx_Field_5" data-testid="power-level-select-element" label="@user_7cbf6cc164255d861be6-2f2b688ba0be616b37b3:localhost" placeholder="@user_7cbf6cc164255d861be6-2f2b688ba0be616b37b3:localhost">…</select>
- unexpected value "100"
55 | settings = await app.settings.openRoomSettings("Roles & Permissions");
56 | combobox = privilegedUserSection.getByRole("combobox", { name: user.userId });
> 57 | await expect(combobox).toHaveValue("50");
| ^
58 | });
59 | });
60 |
at /home/runner/work/element-web/element-web/playwright/e2e/settings/roles-permissions-room-settings-tab.spec.ts:57:32
|
|
|
|
1 failed
[WebKit] › playwright/e2e/room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
2 flaky
[WebKit] › playwright/e2e/room_options/marked_unread.spec.ts:25:9 › Mark as Unread › should mark a room as unread
[WebKit] › playwright/e2e/settings/roles-permissions-room-settings-tab.spec.ts:28:9 › Roles & Permissions room settings tab › should be able to change the role of a user
11 skipped
117 passed (14.5m)
|
The logs for this run have expired and are no longer available.
Loading