matrix-react-sdk End to End Tests #1522
Annotations
2 errors, 5 warnings, and 1 notice
Run Playwright tests:
matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L51
1) pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel
Error: Screenshot comparison failed:
360 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-pin-3-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-diff.png
Call log:
- expect.toHaveScreenshot(pinned-messages-list-pin-3.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 360 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 360 pixels (ratio 0.01 of all image pixels) are different.
49 | await util.openPinnedMessagesList();
50 | await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]);
> 51 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`);
| ^
52 | });
53 |
54 | test("should unpin one message", async ({ page, app, room1, util }) => {
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:51:44
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L63
2) pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message ─────
Error: Screenshot comparison failed:
314 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-unpin-2-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-diff.png
Call log:
- expect.toHaveScreenshot(pinned-messages-list-unpin-2.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 314 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 314 pixels (ratio 0.01 of all image pixels) are different.
61 | await util.unpinMessageFromMessageList("Msg2");
62 | await util.assertPinnedMessagesList(["Msg1", "Msg4"]);
> 63 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`);
| ^
64 | await util.backPinnedMessagesList();
65 | await util.assertPinnedCountInRoomInfo(2);
66 | });
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:63:44
|
Run Playwright tests:
matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.2m
|
Run Playwright tests:
matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 42.1s
|
Run Playwright tests:
matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 38.1s
|
Run Playwright tests:
matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 37.9s
|
Run Playwright tests:
matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 36.4s
|
Run Playwright tests
2 flaky
pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel
pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message ──────
2 skipped
72 passed (10.7m)
|
Loading