Specify Synapse ui_auth.session_timeout only on tests which require i… #3926
Annotations
10 errors, 3 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/room_options/marked_unread.spec.ts#L51
1) [Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread
Error: expect(locator).toBeVisible()
Locator: getByLabel('The mark unread test room Unread messages.')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('The mark unread test room Unread messages.')
49 | await page.getByRole("menuitem", { name: "Mark as unread" }).click();
50 |
> 51 | expect(page.getByLabel(TEST_ROOM_NAME + " Unread messages.")).toBeVisible();
| ^
52 | });
53 | });
54 |
at /home/runner/work/element-web/element-web/playwright/e2e/room_options/marked_unread.spec.ts:51:71
|
Run Playwright tests:
playwright/element-web-test.ts#L314
2) [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:314
312 |
313 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 314 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
315 |
316 | await style.evaluate((tag) => tag.remove());
317 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:314:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L309
3) [Chrome] › 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:309
307 |
308 | // We add a custom style tag before taking screenshots
> 309 | const style = (await page.addStyleTag({
| ^
310 | content: css,
311 | })) as ElementHandle<Element>;
312 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:309:35)
at /home/runner/work/element-web/element-web/playwright/e2e/share-dialog/share-dialog.spec.ts:43:24
|
Run Playwright tests:
playwright/element-web-test.ts#L314
4) [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:314
312 |
313 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 314 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
315 |
316 | await style.evaluate((tag) => tag.remove());
317 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:314:9)
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L86
5) [Chrome] › sliding-sync/sliding-sync.spec.ts:88:5 › Sliding Sync › should render the Rooms list in reverse chronological order by default and allowing sorting A-Z
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#L184
5) [Chrome] › sliding-sync/sliding-sync.spec.ts:88:5 › Sliding Sync › should render the Rooms list in reverse chronological order by default and allowing sorting A-Z
Error: page.waitForSelector: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_MatrixChat') to be visible
at ../element-web-test.ts:184
182 | user: async ({ pageWithCredentials: page, credentials }, use) => {
183 | await page.goto("/");
> 184 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
| ^
185 | await use(credentials);
186 | },
187 |
at Object.user (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:184:20)
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
6) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L407
6) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: page.waitForRequest: Test timeout of 30000ms exceeded.
405 | await Promise.all([
406 | page.waitForRequest(matchRoomSubRequest(roomOId)),
> 407 | page.waitForRequest(matchRoomUnsubRequest(roomPId)),
| ^
408 | page.getByRole("treeitem", { name: "Orange", exact: true }).click(),
409 | ]);
410 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:407:18
|
Run Playwright tests:
playwright/e2e/spaces/threads-activity-centre/index.ts#L294
7) [Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts:152:9 › Threads Activity Centre › should mark all threads as read @no-firefox @screenshot
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'success\']')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'success\']')
at spaces/threads-activity-centre/index.ts:294
292 | */
293 | assertNotificationTac() {
> 294 | return expect(this.getTacButton().locator("[data-indicator='success']")).toBeVisible();
| ^
295 | }
296 |
297 | /**
at Helpers.assertNotificationTac (/home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/index.ts:294:82)
at /home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts:155:20
|
Run Playwright tests:
playwright/e2e/spotlight/spotlight.spec.ts#L138
8) [Chrome] › spotlight/spotlight.spec.ts:132: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"
136 | await spotlight.search(room1Name);
137 | const resultLocator = spotlight.results;
> 138 | await expect(resultLocator).toHaveCount(1);
| ^
139 | await expect(resultLocator.first()).toContainText(room1Name);
140 | await expect(resultLocator.first()).toContainText("View");
141 | await resultLocator.first().click();
at /home/runner/work/element-web/element-web/playwright/e2e/spotlight/spotlight.spec.ts:138:37
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 31.2s
|
Run Playwright tests:
[Chrome] › room/room-header.spec.ts#L1
[Chrome] › room/room-header.spec.ts took 29.3s
|
Run Playwright tests:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 17.7s
|
Run Playwright tests
15 flaky
[Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread
[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:88:5 › Sliding Sync › should render the Rooms list in reverse chronological order by default and allowing sorting A-Z
[Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts:152:9 › Threads Activity Centre › should mark all threads as read @no-firefox @screenshot
[Chrome] › spotlight/spotlight.spec.ts:132:9 › Spotlight › should find known public rooms ──────
[Chrome] › spotlight/spotlight.spec.ts:146:9 › Spotlight › should find unknown public rooms ────
[Chrome] › spotlight/spotlight.spec.ts:161:9 › Spotlight › should find unknown public world readable rooms
[Chrome] › spotlight/spotlight.spec.ts:220:9 › Spotlight › should find unknown people ──────────
[Chrome] › spotlight/spotlight.spec.ts:321:9 › Spotlight › should allow opening group chat dialog
[Chrome] › spotlight/spotlight.spec.ts:339:9 › Spotlight › should close spotlight after starting a DM
[Chrome] › spotlight/spotlight.spec.ts:344:9 › Spotlight › should show the same user only once ─
[Chrome] › spotlight/spotlight.spec.ts:357:9 › Spotlight › should be able to navigate results via keyboard
2 skipped
66 passed (10.8m)
|
Loading