matrix-react-sdk End to End Tests #2093
Annotations
1 error, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/pinned-messages/pinned-messages.spec.ts#L115
1) pinned-messages/pinned-messages.spec.ts:109:9 › Pinned messages › should display 2 messages in the banner
Error: Screenshot comparison failed:
617 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-message-banner-2-Msg2-linux.png
Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/pinned-messages-pinned-mes-4b2e4-ay-2-messages-in-the-banner/pinned-message-banner-2-Msg2-actual.png
Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/pinned-messages-pinned-mes-4b2e4-ay-2-messages-in-the-banner/pinned-message-banner-2-Msg2-diff.png
Call log:
- expect.toHaveScreenshot(pinned-message-banner-2-Msg2.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('pinned-message-banner')
- locator resolved to <div data-single-message="true" class="mx_PinnedMessageBanner" data-testid="pinned-message-banner" aria-label="This room has pinned messages. Click to view them.">…</div>
- 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
- 617 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('pinned-message-banner')
- locator resolved to <div data-single-message="true" class="mx_PinnedMessageBanner" data-testid="pinned-message-banner" aria-label="This room has pinned messages. Click to view them.">…</div>
- 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
- 617 pixels (ratio 0.02 of all image pixels) are different.
113 |
114 | await util.assertMessageInBanner("Msg2");
> 115 | await expect(util.getBanner()).toMatchScreenshot("pinned-message-banner-2-Msg2.png");
| ^
116 |
117 | await util.getBanner().click();
118 | await util.assertMessageInBanner("Msg1");
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:115:40
|
Run Playwright tests:
messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.5m
|
Run Playwright tests:
login/login.spec.ts#L1
login/login.spec.ts took 1.1m
|
Run Playwright tests:
knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 41.0s
|
Run Playwright tests:
integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 39.4s
|
Run Playwright tests:
polls/polls.spec.ts#L1
polls/polls.spec.ts took 37.8s
|
Run Playwright tests
1 flaky
pinned-messages/pinned-messages.spec.ts:109:9 › Pinned messages › should display 2 messages in the banner
1 skipped
77 passed (11.6m)
|
Loading