Remove MatrixClient.getDehydratedDevice
call
#1738
Annotations
1 error, 5 warnings, and 1 notice
playwright/e2e/pinned-messages/pinned-messages.spec.ts#L32
1) pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline
Error: Screenshot comparison failed:
41 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-message-Msg1-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-diff.png
Call log:
- expect.toHaveScreenshot(pinned-message-Msg1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' })
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" data-event-id="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M">…</li>
- 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
- 4506 pixels (ratio 0.06 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' })
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" class="mx_EventTile mx_EventTile_lastInSection" data-event-id="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M" data-scroll-tokens="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M">…</li>
- 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
- 4472 pixels (ratio 0.06 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' })
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" class="mx_EventTile mx_EventTile_lastInSection" data-event-id="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M" data-scroll-tokens="$44R5ixf4Gfl_wwVwEdnFzJ9P-gLgkaX2Uk8XUPAF91M">…</li>
- 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
- 41 pixels (ratio 0.01 of all image pixels) are different.
30 |
31 | const tile = util.getEventTile("Msg1");
> 32 | await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", {
| ^
33 | mask: [tile.locator(".mx_MessageTimestamp")],
34 | });
35 | });
at /home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/pinned-messages.spec.ts:32:28
|
messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.2m
|
login/login.spec.ts#L1
login/login.spec.ts took 1.0m
|
integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 36.6s
|
polls/polls.spec.ts#L1
polls/polls.spec.ts took 35.8s
|
knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 35.5s
|
|
This job succeeded
Loading