matrix-react-sdk End to End Tests #3348
Annotations
4 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#L1
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/e2e/timeline/timeline.spec.ts#L179
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_GenericEventListSummary').getByRole('button', { name: 'Expand' })
- locator resolved to <div tabindex="0" role="button" aria-expanded="false" class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline">Expand</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
53 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
177 | const gels = page.locator(".mx_GenericEventListSummary");
178 | // Click "expand" link button
> 179 | await gels.getByRole("button", { name: "Expand" }).click();
| ^
180 | // Assert that the "expand" link button worked
181 | await expect(gels.getByRole("button", { name: "Collapse" })).toBeVisible();
182 |
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/timeline/timeline.spec.ts:179:68
|
Run Playwright tests:
playwright/e2e/timeline/timeline.spec.ts#L408
3) [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
3 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:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @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
80 passed (9.4m)
|
Loading