matrix-react-sdk End to End Tests #3339
Annotations
2 errors and 1 notice
Run Playwright tests:
playwright/e2e/timeline/media-preview-settings.spec.ts#L42
1) [Chrome] › playwright/e2e/timeline/media-preview-settings.spec.ts:35:9 › Media preview settings › should be able to hide avatars of inviters @screenshot
Error: expect(locator).toHaveScreenshot(expected)
1343 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/snapshots/timeline/media-preview-settings.spec.ts/invite-no-avatar-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/timeline-media-preview-set-66157-to-hide-avatars-of-inviters-Chrome/invite-no-avatar-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/timeline-media-preview-set-66157-to-hide-avatars-of-inviters-Chrome/invite-no-avatar-diff.png
Call log:
- expect.toHaveScreenshot(invite-no-avatar.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('complementary').filter({ hasText: 'Do you want to join Test room' })
- locator resolved to <div role="complementary" class="mx_RoomPreviewBar mx_RoomPreviewBar_Invite mx_RoomPreviewBar_dialog">…</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
- 1343 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('complementary').filter({ hasText: 'Do you want to join Test room' })
- locator resolved to <div role="complementary" class="mx_RoomPreviewBar mx_RoomPreviewBar_Invite mx_RoomPreviewBar_dialog">…</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
- captured a stable screenshot
- 1343 pixels (ratio 0.01 of all image pixels) are different.
40 | await expect(
41 | page.getByRole("complementary").filter({ hasText: "Do you want to join Test room" }),
> 42 | ).toMatchScreenshot("invite-no-avatar.png");
| ^
43 | await expect(
44 | page.getByRole("tree", { name: "Rooms" }).getByRole("treeitem", { name: "Test room" }),
45 | ).toMatchScreenshot("invite-room-tree-no-avatar.png");
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/timeline/media-preview-settings.spec.ts:42:11
|
Run Playwright tests:
playwright/e2e/timeline/timeline.spec.ts#L408
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:345:13 › Timeline › message displaying › should align generic event list summary with messages and emote on IRC layout @screenshot
Error: expect(locator).toHaveScreenshot(expected)
252 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/snapshots/timeline/timeline.spec.ts/collapsed-gels-and-messages-irc-layout-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/timeline-timeline-Timeline-5dcf4-ges-and-emote-on-IRC-layout-Chrome/collapsed-gels-and-messages-irc-layout-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/timeline-timeline-Timeline-5dcf4-ges-and-emote-on-IRC-layout-Chrome/collapsed-gels-and-messages-irc-layout-diff.png
Call log:
- expect.toHaveScreenshot(collapsed-gels-and-messages-irc-layout.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</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
- 40 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</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
- 212 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</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
- captured a stable screenshot
- 252 pixels (ratio 0.01 of all image pixels) are different.
406 | }
407 | // Record alignment of collapsed GELS and messages on messagePanel
> 408 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot(
| ^
409 | "collapsed-gels-and-messages-irc-layout.png",
410 | {
411 | // Exclude timestamp from snapshot of mx_MainSplit
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/timeline/timeline.spec.ts:408:61
|
Run Playwright tests
2 flaky
[Chrome] › playwright/e2e/timeline/media-preview-settings.spec.ts:35:9 › Media preview settings › should be able to hide avatars of inviters @screenshot
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:345:13 › Timeline › message displaying › should align generic event list summary with messages and emote on IRC layout @screenshot
81 passed (9.0m)
|
Loading