matrix-react-sdk End to End Tests #3347
Annotations
3 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:279:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/e2e/timeline/timeline.spec.ts#L297
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:279:13 › Timeline › configure room › should add inline start margin to an event line 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
295 |
296 | // Click "expand" link button
> 297 | await page.locator(".mx_GenericEventListSummary").getByRole("button", { name: "Expand" }).click();
| ^
298 |
299 | // Check the event line has margin instead of inset property
300 | // cf. _EventTile.pcss
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/timeline/timeline.spec.ts:297:107
|
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:279:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot
81 passed (9.5m)
|
Loading