Auto Collapse Behaviour - Collapse left panel on window resize #18567
end-to-end-tests.yaml
on: pull_request
Build Element-Web
2m 18s
Matrix: playwright
Downstream Playwright tests [element-modules]
/
Run Playwright end-to-end tests & upload html report
end-to-end-tests
47s
Annotations
3 errors and 6 notices
|
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:320:9 › Room list › Avatar decoration › should be a video room @screenshot:
apps/web/playwright/e2e/left-panel/room-list-panel/room-list.spec.ts#L336
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:320:9 › Room list › Avatar decoration › should be a video room @screenshot
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('room-list').getByRole('option', { name: 'video room' })
283 pixels (ratio 0.02 of all image pixels) are different.
Snapshot: room-list-item-video.png
Call log:
- Expect "toHaveScreenshot(room-list-item-video.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('room-list').getByRole('option', { name: 'video room' })
- locator resolved to <button type="button" tabindex="-1" role="option" aria-setsize="1" aria-posinset="1" data-state="closed" aria-haspopup="menu" aria-selected="false" aria-label="Open room video room" class="_flex_4dswl_9 _roomListItem_rtaba_8 mx_RoomListItemView _firstItem_rtaba_123 _lastItem_rtaba_127">…</button>
- 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
- 283 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('room-list').getByRole('option', { name: 'video room' })
- locator resolved to <button type="button" tabindex="-1" role="option" aria-setsize="1" aria-posinset="1" data-state="closed" aria-haspopup="menu" aria-selected="false" aria-label="Open room video room" class="_flex_4dswl_9 _roomListItem_rtaba_8 mx_RoomListItemView _firstItem_rtaba_123 _lastItem_rtaba_127">…</button>
- 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
- captured a stable screenshot
- 283 pixels (ratio 0.02 of all image pixels) are different.
334 |
335 | await expect(videoRoom).toBeVisible();
> 336 | await expect(videoRoom).toMatchScreenshot("room-list-item-video.png");
| ^
337 | });
338 | });
339 |
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:336:37
|
|
[Chrome] › playwright/e2e/crypto/toasts.spec.ts:45:5 › Key storage out of sync toast › should prompt for recovery key if 'enter recovery key' pressed @screenshot:
apps/web/playwright/e2e/crypto/toasts.spec.ts#L50
1) [Chrome] › playwright/e2e/crypto/toasts.spec.ts:45:5 › Key storage out of sync toast › should prompt for recovery key if 'enter recovery key' pressed @screenshot
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByRole('alert').first()
Timeout: 5000ms
Timeout 5000ms exceeded.
Snapshot: key-storage-out-of-sync-toast.png
Call log:
- Expect "toHaveScreenshot(key-storage-out-of-sync-toast.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('alert').first()
- locator resolved to <div role="alert" class="mx_NonUrgentToastContainer"></div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
2 × waiting for element to be stable
- element is not visible
- retrying scroll into view action
- waiting 20ms
2 × waiting for element to be stable
- element is not visible
- retrying scroll into view action
- waiting 100ms
9 × waiting for element to be stable
- element is not visible
- retrying scroll into view action
- waiting 500ms
- Timeout 5000ms exceeded.
48 | // it would always be checking the same toast, even if another one is now the first.
49 | await expect(page.getByRole("alert")).toHaveCount(2);
> 50 | await expect(page.getByRole("alert").first()).toMatchScreenshot(
| ^
51 | "key-storage-out-of-sync-toast.png",
52 | screenshotOptions,
53 | );
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/crypto/toasts.spec.ts:50:55
|
|
[Chrome] › playwright/e2e/timeline/media-preview-settings.spec.ts:38:5 › Media preview settings › should be able to hide avatars of inviters @screenshot:
apps/web/playwright/e2e/timeline/media-preview-settings.spec.ts#L68
1) [Chrome] › playwright/e2e/timeline/media-preview-settings.spec.ts:38:5 › Media preview settings › should be able to hide avatars of inviters @screenshot
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByRole('complementary').filter({ hasText: 'Do you want to join Test room' })
Timeout: 5000ms
Timeout 5000ms exceeded.
Snapshot: invite-with-avatar.png
Call log:
- Expect "toHaveScreenshot(invite-with-avatar.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('complementary').filter({ hasText: 'Do you want to join Test room' })
- Timeout 5000ms exceeded.
66 | await expect(
67 | page.getByRole("complementary").filter({ hasText: "Do you want to join Test room" }),
> 68 | ).toMatchScreenshot("invite-with-avatar.png", {
| ^
69 | // Hide the mxid, which is not stable.
70 | css: `
71 | .mx_RoomPreviewBar_inviter_mxid {
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/timeline/media-preview-settings.spec.ts:68:11
|
|
🎭 Playwright Run Summary
3 skipped
84 passed (5.8m)
|
|
🎭 Playwright Run Summary
80 passed (6.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list.spec.ts:320:9 › Room list › Avatar decoration › should be a video room @screenshot
83 passed (8.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/crypto/toasts.spec.ts:45:5 › Key storage out of sync toast › should prompt for recovery key if 'enter recovery key' pressed @screenshot
89 passed (9.2m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/timeline/media-preview-settings.spec.ts:38:5 › Media preview settings › should be able to hide avatars of inviters @screenshot
2 skipped
93 passed (9.3m)
|
|
🎭 Playwright Run Summary
73 passed (9.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
all-blob-reports-Chrome-1
Expired
|
10.8 MB |
sha256:91267d1c3f585ee060ed9017bac5b0c38ebbc3afb0843bbcf633abb56dda66e7
|
|
|
all-blob-reports-Chrome-2
Expired
|
4.48 MB |
sha256:2d227518ebfda91b6a1a8e8cc05072c4b7c31d73fd730c9daf7a0d8788a6ff7d
|
|
|
all-blob-reports-Chrome-3
Expired
|
629 KB |
sha256:8b0c79c73a3d23ac5d8f5c456f8be944cd6b2b930bd52d15fb243d7ef9305eaa
|
|
|
all-blob-reports-Chrome-4
Expired
|
611 KB |
sha256:c89752cce26f8f800e4c39f4be2845723d6ba9ecb4279c03ee599c8dad3f73c9
|
|
|
all-blob-reports-Chrome-5
Expired
|
5.51 MB |
sha256:e1da8ff19f852540aa1b87145d5222f6080f5f9aa7441147691dbd56923a5398
|
|
|
all-blob-reports-Chrome-6
Expired
|
557 KB |
sha256:68e58b543c8f0f73846c0231ab295a0d9b26115d00a967a39e96e66eeee83c9d
|
|
|
html-report
Expired
|
22.1 MB |
sha256:ffbb8d4dbe04e3116bf1dfd8882c84f4752408979ee2382211d41a13f12421f2
|
|
|
webapp
Expired
|
41.3 MB |
sha256:62d9602be8ee5758400c58a63a54176516724476217dfb44d37c56f54442cca4
|
|