Stabilise playwright tests using createRoom util (#28802) #3608
Annotations
5 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L89
1) [Chrome] › spotlight/spotlight.spec.ts:201:9 › Spotlight › should find known people ───────────
Error: expect.not.toBeAttached: Error: strict mode violation: locator('.mx_RoomSublist_skeletonUI') resolved to 8 elements:
1) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('.mx_RoomSublist_skeletonUI').first()
2) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(2) > .mx_RoomSublist_skeletonUI')
3) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(3) > .mx_RoomSublist_skeletonUI')
4) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(4) > .mx_RoomSublist_skeletonUI')
5) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(5) > .mx_RoomSublist_skeletonUI')
6) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(6) > .mx_RoomSublist_skeletonUI')
7) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(7) > .mx_RoomSublist_skeletonUI')
8) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(8) > .mx_RoomSublist_skeletonUI')
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.mx_RoomSublist_skeletonUI')
87 |
88 | await page.goto("/#/room/" + room1Id);
> 89 | await expect(page.locator(".mx_RoomSublist_skeletonUI")).not.toBeAttached();
| ^
90 | });
91 |
92 | test("should be able to add and remove filters via keyboard", async ({ page, app }) => {
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:89:70
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L89
2) [Chrome] › spotlight/spotlight.spec.ts:339:9 › Spotlight › should close spotlight after starting a DM
Error: expect.not.toBeAttached: Error: strict mode violation: locator('.mx_RoomSublist_skeletonUI') resolved to 8 elements:
1) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('.mx_RoomSublist_skeletonUI').first()
2) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(2) > .mx_RoomSublist_skeletonUI')
3) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(3) > .mx_RoomSublist_skeletonUI')
4) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(4) > .mx_RoomSublist_skeletonUI')
5) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(5) > .mx_RoomSublist_skeletonUI')
6) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(6) > .mx_RoomSublist_skeletonUI')
7) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(7) > .mx_RoomSublist_skeletonUI')
8) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(8) > .mx_RoomSublist_skeletonUI')
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.mx_RoomSublist_skeletonUI')
87 |
88 | await page.goto("/#/room/" + room1Id);
> 89 | await expect(page.locator(".mx_RoomSublist_skeletonUI")).not.toBeAttached();
| ^
90 | });
91 |
92 | test("should be able to add and remove filters via keyboard", async ({ page, app }) => {
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:89:70
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L89
3) [Chrome] › spotlight/spotlight.spec.ts:357:9 › Spotlight › should be able to navigate results via keyboard
Error: expect.not.toBeAttached: Error: strict mode violation: locator('.mx_RoomSublist_skeletonUI') resolved to 8 elements:
1) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('.mx_RoomSublist_skeletonUI').first()
2) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(2) > .mx_RoomSublist_skeletonUI')
3) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(3) > .mx_RoomSublist_skeletonUI')
4) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(4) > .mx_RoomSublist_skeletonUI')
5) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(5) > .mx_RoomSublist_skeletonUI')
6) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(6) > .mx_RoomSublist_skeletonUI')
7) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(7) > .mx_RoomSublist_skeletonUI')
8) <div class="mx_RoomSublist_skeletonUI"></div> aka locator('div:nth-child(8) > .mx_RoomSublist_skeletonUI')
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.mx_RoomSublist_skeletonUI')
87 |
88 | await page.goto("/#/room/" + room1Id);
> 89 | await expect(page.locator(".mx_RoomSublist_skeletonUI")).not.toBeAttached();
| ^
90 | });
91 |
92 | test("should be able to add and remove filters via keyboard", async ({ page, app }) => {
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:89:70
|
Run Playwright tests:
playwright/e2e/widgets/layout.spec.ts#L33
4) [Chrome] › widgets/layout.spec.ts:89:9 › Widget Layout › programmatically resize the height of the top container layout
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | let roomId: string;
32 | let widgetUrl: string;
> 33 | test.beforeEach(async ({ webserver, app, user }) => {
| ^
34 | widgetUrl = webserver.start(WIDGET_HTML);
35 |
36 | roomId = await app.client.createRoom({ name: ROOM_NAME });
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/layout.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
4) [Chrome] › widgets/layout.spec.ts:89:9 › Widget Layout › programmatically resize the height of the top container layout
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/layout.spec.ts:70:19
|
Run Playwright tests:
[Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.6m
|
Run Playwright tests:
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
|
Run Playwright tests:
[Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 34.9s
|
Run Playwright tests:
[Chrome] › threads/threads.spec.ts#L1
[Chrome] › threads/threads.spec.ts took 33.8s
|
Run Playwright tests:
[Chrome] › widgets/widget-pip-close.spec.ts#L1
[Chrome] › widgets/widget-pip-close.spec.ts took 21.5s
|
Run Playwright tests
4 flaky
[Chrome] › spotlight/spotlight.spec.ts:201:9 › Spotlight › should find known people ────────────
[Chrome] › spotlight/spotlight.spec.ts:339:9 › Spotlight › should close spotlight after starting a DM
[Chrome] › spotlight/spotlight.spec.ts:357:9 › Spotlight › should be able to navigate results via keyboard
[Chrome] › widgets/layout.spec.ts:89:9 › Widget Layout › programmatically resize the height of the top container layout
3 skipped
65 passed (10.6m)
|
Loading