This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add Pin/Unpin action in quick access of the message action bar #11587
Annotations
1 error, 5 warnings, and 1 notice
matrix-react-sdk/playwright/e2e/pinned-messages/index.ts#L186
1) pinned-messages/pinned-messages.spec.ts:53: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-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-messages-2-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-messages-2-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-messages-2-diff.png
Call log:
- expect.toHaveScreenshot(pinned-messages-list-messages-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.
at pinned-messages/index.ts:186
184 | `${messages.length} Pinned messages`,
185 | );
> 186 | await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-messages-${messages.length}.png`);
| ^
187 |
188 | const list = rightPanel.getByRole("list");
189 | await expect(list.getByRole("listitem")).toHaveCount(messages.length);
at Helpers.assertPinnedMessagesList (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/index.ts:186:34)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:61:9
|
matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 1.7m
|
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.1m
|
matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 40.9s
|
matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 38.3s
|
matrix-react-sdk/integration-manager/send_event.spec.ts#L1
matrix-react-sdk/integration-manager/send_event.spec.ts took 37.3s
|
|
This job succeeded
Loading