End to End Tests #3837
Annotations
9 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts#L17
1) [Chrome] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts:42:13 › Appearance user settings tab › Message Layout Panel › should enable compact layout when the modern layout is selected
Test timeout of 30000ms exceeded while running "beforeEach" hook.
15 |
16 | test.describe("Message Layout Panel", () => {
> 17 | test.beforeEach(async ({ app, user, util }) => {
| ^
18 | await util.createAndDisplayRoom();
19 | await util.assertModernLayout();
20 | await util.openAppearanceTab();
at /home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts:17:14
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L96
1) [Chrome] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts:42:13 › Appearance user settings tab › Message Layout Panel › should enable compact layout when the modern layout is selected
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 Helpers.createAndDisplayRoom (/home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/index.ts:155:24)
at /home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/message-layout-panel.spec.ts:18:13
|
Run Playwright tests:
playwright/e2e/settings/general-room-settings-tab.spec.ts#L47
2) [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}:localhost`);
| ^
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#L313
3) [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:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L313
4) [Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
Error: expect.toHaveScreenshot(share-dialog-user.png): Target page, context or browser has been closed
at ../element-web-test.ts:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L313
5) [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:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L86
6) [Chrome] › sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites
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
6) [Chrome] › sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites
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#L383
7) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: expect(received).not.toHaveProperty(path)
Matcher error: received value must not be null nor undefined
Received has value: undefined
381 | }
382 | expect(body.unsubscribe_rooms).toEqual([unsubRoomId]);
> 383 | expect(body.room_subscriptions).not.toHaveProperty(unsubRoomId);
| ^
384 | expect(body.room_subscriptions).toHaveProperty(subRoomId);
385 | };
386 |
at assertUnsubExists (/home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:383:49)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:404:9
|
Run Playwright tests:
[Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.6m
|
Run Playwright tests:
[Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.2m
|
Run Playwright tests:
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.5m
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.0m
|
Run Playwright tests:
[Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 35.3s
|
Run Playwright tests
7 flaky
[Chrome] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts:42:13 › Appearance user settings tab › Message Layout Panel › should enable compact layout when the modern layout is selected
[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] › sliding-sync/sliding-sync.spec.ts:225:5 › Sliding Sync › should show and be able to accept/reject/rescind invites
[Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
4 skipped
104 passed (17.4m)
|
Loading