End to End Tests #3836
Annotations
9 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L383
1) [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:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L382
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: ["!MPRabjwyhrgLHDYYam: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:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L382
1) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: ["!DhusOmjehqInAzgZrR: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:
playwright/e2e/room_options/marked_unread.spec.ts#L51
2) [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/e2e/room-directory/room-directory.spec.ts#L34
3) [Chrome] › room-directory/room-directory.spec.ts:18: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')
32 | await localAddresses.getByRole("textbox").fill("gaming");
33 | await localAddresses.getByRole("button", { name: "Add" }).click();
> 34 | await expect(localAddresses.getByText("#gaming:localhost")).toHaveClass("mx_EditableItem_item");
| ^
35 |
36 | // Publish into the public rooms directory
37 | 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:34:73
|
Run Playwright tests:
playwright/element-web-test.ts#L313
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: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: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: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
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: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
Process completed with exit code 1.
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.0m
|
Run Playwright tests:
[Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 53.0s
|
Run Playwright tests:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 42.6s
|
Run Playwright tests:
[Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 37.3s
|
Run Playwright tests:
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 30.4s
|
Run Playwright tests
1 failed
[Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
5 flaky
[Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread
[Chrome] › room-directory/room-directory.spec.ts:18:9 › Room Directory › should allow admin to add alias & publish room to directory @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
1 skipped
73 passed (11.8m)
|
Loading