element-web-notify #7912
Annotations
1 error and 1 notice
Run Playwright tests:
playwright/e2e/timeline/timeline.spec.ts#L895
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:877:13 › Timeline › message displaying › should render a code block @screenshot
Error: expect(locator).toHaveScreenshot(expected)
16 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/timeline/timeline.spec.ts/code-block-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-0ac37--should-render-a-code-block-Chrome/code-block-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-0ac37--should-render-a-code-block-Chrome/code-block-diff.png
Call log:
- expect.toHaveScreenshot(code-block.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" data-layout="irc" aria-atomic="true" data-has-reply="false" data-event-id="~!goXjvgbhUpmdBKjroA:localhost:m1748014564588.0" class="mx_EventTile mx_EventTile_sending mx_EventTile_last mx_EventTile_lastInSection">…</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
- 16 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" data-layout="irc" aria-atomic="true" data-has-reply="false" data-event-id="$TRAN7xMGnCosIbmj6tNzO9euie-HdXOko80NJbBxM7Y" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$TRAN7xMGnCosIbmj6tNzO9euie-HdXOko80NJbBxM7Y">…</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
- 16 pixels (ratio 0.01 of all image pixels) are different.
893 | const tile = page.locator(".mx_EventTile");
894 | await expect(tile).toBeVisible();
> 895 | await expect(tile).toMatchScreenshot("code-block.png", { mask: [page.locator(".mx_MessageTimestamp")] });
| ^
896 |
897 | // Edit a code block and assert the edited code block has been correctly rendered
898 | await tile.hover();
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:895:32
|
Run Playwright tests
1 flaky
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:877:13 › Timeline › message displaying › should render a code block @screenshot
83 passed (9.2m)
|
Loading