Run Playwright tests against Dendrite & Pinecone periodically #3993
Annotations
10 errors, 4 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/room/room-header.spec.ts#L1
1) [Chrome] › room/room-header.spec.ts:23:13 › Room Header › with feature_notifications enabled › should render default buttons properly @screenshot
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L96
1) [Chrome] › room/room-header.spec.ts:23:13 › Room Header › with feature_notifications enabled › should render default buttons properly @screenshot
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:96
94 | .locator(`[title="${name}"],[aria-label="${name}"]`)
95 | .first()
> 96 | .click();
| ^
97 | }
98 |
99 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:96:14)
at /home/runner/work/element-web/element-web/playwright/e2e/room/room-header.spec.ts:25:23
|
Run Playwright tests:
playwright/e2e/room-directory/room-directory.spec.ts#L35
2) [Chrome] › room-directory/room-directory.spec.ts:19:9 › Room Directory › should allow admin to add alias & publish room to directory @no-webkit
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#gaming:localhost')
Expected string: "mx_EditableItem_item"
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#gaming:localhost')
33 | await localAddresses.getByRole("textbox").fill("gaming");
34 | await localAddresses.getByRole("button", { name: "Add" }).click();
> 35 | await expect(localAddresses.getByText(`#gaming:${user.homeServer}`)).toHaveClass("mx_EditableItem_item");
| ^
36 |
37 | // Publish into the public rooms directory
38 | const publishedAddresses = page.locator(".mx_SettingsFieldset", { hasText: "Published Addresses" });
at /home/runner/work/element-web/element-web/playwright/e2e/room-directory/room-directory.spec.ts:35:82
|
Run Playwright tests:
playwright/e2e/settings/general-room-settings-tab.spec.ts#L47
3) [Chrome] › settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow @no-webkit
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias')
Expected string: "#abcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksd:localhost"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias')
9 × locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select>
- unexpected value ""
45 |
46 | // 2. wait for the new setting to apply ...
> 47 | await expect(settings.locator("#canonicalAlias")).toHaveValue(`#${longString}:${user.homeServer}`);
| ^
48 |
49 | // 3. Check if the dialog overflows
50 | const dialogBoundingBox = await page.locator(".mx_Dialog").boundingBox();
at /home/runner/work/element-web/element-web/playwright/e2e/settings/general-room-settings-tab.spec.ts:47:59
|
Run Playwright tests:
playwright/element-web-test.ts#L332
4) [Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
Error: expect.toHaveScreenshot(share-dialog-room.png): Test ended.
Call log:
- expect.toHaveScreenshot(share-dialog-room.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('dialog', { name: 'Share room' })
at ../element-web-test.ts:332
330 |
331 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 332 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
333 |
334 | await style.evaluate((tag) => tag.remove());
335 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:332:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L332
5) [Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
Error: expect.toHaveScreenshot(share-dialog-user.png): Test ended.
Call log:
- expect.toHaveScreenshot(share-dialog-user.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('dialog', { name: 'Share User' })
at ../element-web-test.ts:332
330 |
331 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 332 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
333 |
334 | await style.evaluate((tag) => tag.remove());
335 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:332:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L332
6) [Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
Error: expect.toHaveScreenshot(share-dialog-event.png): Test ended.
Call log:
- expect.toHaveScreenshot(share-dialog-event.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('dialog', { name: 'Share Room Message' })
- locator resolved to <div role="dialog" class="mx_ShareDialog" data-focus-lock-disabled="false" aria-describedby="mx_Dialog_content" aria-labelledby="mx_BaseDialog_title">…</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
at ../element-web-test.ts:332
330 |
331 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 332 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
333 |
334 | await style.evaluate((tag) => tag.remove());
335 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:332:9)
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L141
7) [Chrome] › spotlight/spotlight.spec.ts:135:9 › Spotlight › should find known public rooms ─────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
Expected: 1
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
2 × locator resolved to 0 elements
- unexpected value "0"
7 × locator resolved to 3 elements
- unexpected value "3"
139 | await spotlight.search(room1Name);
140 | const resultLocator = spotlight.results;
> 141 | await expect(resultLocator).toHaveCount(1);
| ^
142 | await expect(resultLocator.first()).toContainText(room1Name);
143 | await expect(resultLocator.first()).toContainText("View");
144 | await resultLocator.first().click();
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:141:37
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L155
8) [Chrome] › spotlight/spotlight.spec.ts:149:9 › Spotlight › should find unknown public rooms ───
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
2 × locator resolved to 0 elements
- unexpected value "0"
7 × locator resolved to 2 elements
- unexpected value "2"
153 | await spotlight.search(room2Name);
154 | const resultLocator = spotlight.results;
> 155 | await expect(resultLocator).toHaveCount(1);
| ^
156 | await expect(resultLocator.first()).toContainText(room2Name);
157 | await expect(resultLocator.first()).toContainText("Join");
158 | await resultLocator.first().click();
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:155:37
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L170
9) [Chrome] › spotlight/spotlight.spec.ts:164:9 › Spotlight › should find unknown public world readable rooms
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option')
2 × locator resolved to 0 elements
- unexpected value "0"
7 × locator resolved to 2 elements
- unexpected value "2"
168 | await spotlight.search(room3Name);
169 | const resultLocator = spotlight.results;
> 170 | await expect(resultLocator).toHaveCount(1);
| ^
171 | await expect(resultLocator.first()).toContainText(room3Name);
172 | await expect(resultLocator.first()).toContainText("View");
173 | await resultLocator.first().click();
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:170:37
|
Run Playwright tests:
[Chrome] › sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › sliding-sync/sliding-sync.spec.ts took 56.6s
|
Run Playwright tests:
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 48.4s
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 31.6s
|
Run Playwright tests:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 17.4s
|
Run Playwright tests
14 flaky
[Chrome] › room/room-header.spec.ts:23:13 › Room Header › with feature_notifications enabled › should render default buttons properly @screenshot
[Chrome] › room-directory/room-directory.spec.ts:19:9 › Room Directory › should allow admin to add alias & publish room to directory @no-webkit
[Chrome] › settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow @no-webkit
[Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
[Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
[Chrome] › spotlight/spotlight.spec.ts:135:9 › Spotlight › should find known public rooms ──────
[Chrome] › spotlight/spotlight.spec.ts:149:9 › Spotlight › should find unknown public rooms ────
[Chrome] › spotlight/spotlight.spec.ts:164:9 › Spotlight › should find unknown public world readable rooms
[Chrome] › spotlight/spotlight.spec.ts:223:9 › Spotlight › should find unknown people ──────────
[Chrome] › spotlight/spotlight.spec.ts:324:9 › Spotlight › should allow opening group chat dialog
[Chrome] › spotlight/spotlight.spec.ts:342:9 › Spotlight › should close spotlight after starting a DM
[Chrome] › spotlight/spotlight.spec.ts:347:9 › Spotlight › should show the same user only once ─
[Chrome] › spotlight/spotlight.spec.ts:360:9 › Spotlight › should be able to navigate results via keyboard
2 skipped
67 passed (10.1m)
|
Loading