Run Playwright tests against Dendrite & Pinecone periodically #3824
Annotations
6 errors and 1 notice
Run Playwright tests:
playwright/e2e/settings/general-room-settings-tab.spec.ts#L47
1) [Dendrite] › 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#L315
2) [Dendrite] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
Error: expect.toMatchScreenshot: Test ended.
at ../element-web-test.ts:315
313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
314 |
> 315 | await style.evaluate((tag) => tag.remove());
| ^
316 |
317 | testInfo.annotations.push({
318 | // `_` prefix hides it from the HTML reporter
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:315:21)
|
Run Playwright tests:
playwright/element-web-test.ts#L308
3) [Dendrite] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
Error: expect.toMatchScreenshot: Test ended.
at ../element-web-test.ts:308
306 |
307 | // We add a custom style tag before taking screenshots
> 308 | const style = (await page.addStyleTag({
| ^
309 | content: css,
310 | })) as ElementHandle<Element>;
311 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:308:35)
at /home/runner/work/element-web/element-web/playwright/e2e/share-dialog/share-dialog.spec.ts:43:24
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L86
4) [Dendrite] › sliding-sync/sliding-sync.spec.ts:192:5 › Sliding Sync › should not show unread indicators
Test timeout of 30000ms exceeded while running "beforeEach" hook.
84 |
85 | // Load the user fixture for all tests
> 86 | test.beforeEach(({ user }) => {});
| ^
87 |
88 | test("should render the Rooms list in reverse chronological order by default and allowing sorting A-Z", async ({
89 | page,
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:86:10
|
Run Playwright tests:
playwright/element-web-test.ts#L183
4) [Dendrite] › sliding-sync/sliding-sync.spec.ts:192:5 › Sliding Sync › should not show unread indicators
Error: page.waitForSelector: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_MatrixChat') to be visible
at ../element-web-test.ts:183
181 | user: async ({ pageWithCredentials: page, credentials }, use) => {
182 | await page.goto("/");
> 183 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
| ^
184 | await use(credentials);
185 | },
186 |
at Object.user (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:183:20)
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L382
5) [Dendrite] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: expect(received).toEqual(expected) // deep equality
Expected: ["!tGT2TIZ4GWlwRwKZ:localhost"]
Received: undefined
380 | return;
381 | }
> 382 | expect(body.unsubscribe_rooms).toEqual([unsubRoomId]);
| ^
383 | expect(body.room_subscriptions).not.toHaveProperty(unsubRoomId);
384 | expect(body.room_subscriptions).toHaveProperty(subRoomId);
385 | };
at assertUnsubExists (/home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:382:44)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:404:9
|
Run Playwright tests
5 flaky
[Dendrite] › settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow @no-webkit
[Dendrite] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
[Dendrite] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
[Dendrite] › sliding-sync/sliding-sync.spec.ts:192:5 › Sliding Sync › should not show unread indicators
[Dendrite] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
34 skipped
17 passed (3.6m)
|
Loading