Element Web End to End Tests #3293
Annotations
1 error and 1 notice
|
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/matrix-js-sdk/matrix-js-sdk/playwright/snapshots/timeline/timeline.spec.ts/code-block-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/timeline-timeline-Timeline-0ac37--should-render-a-code-block-Chrome/code-block-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/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="~!gvxrsOhfmWdaZXxQMd:localhost:m1744644973238.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="$uHBRdtaNcN4-4xL83sXLIN-S7q8eIDVE8vM8zh_zYAk" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$uHBRdtaNcN4-4xL83sXLIN-S7q8eIDVE8vM8zh_zYAk">…</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/matrix-js-sdk/matrix-js-sdk/playwright/e2e/timeline/timeline.spec.ts:895:32
|
|
1 flaky
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:877:13 › Timeline › message displaying › should render a code block @screenshot
76 passed (8.1m)
|
The logs for this run have expired and are no longer available.
Loading