This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
End to End Tests #6416
Annotations
7 errors, 5 warnings, and 1 notice
[Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A:
matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
1) [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
98 | // The timeline should display the first message
99 | // The previous position before switching to Room B should be remembered
> 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport();
| ^
101 | });
102 | });
103 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
|
[Legacy Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain:
matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1013
2) [Legacy Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain
Error: Screenshot comparison failed:
103 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/timeline/timeline.spec.ts/event-tile-reply-chains-bubble-layout-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 103 pixels (ratio 0.01 of all image pixels) are different.
1011 |
1012 | // Take a snapshot on bubble layout
> 1013 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot(
| ^
1014 | "event-tile-reply-chains-bubble-layout.png",
1015 | screenshotOptions,
1016 | );
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1013:62
|
[Rust Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read:
matrix-react-sdk/playwright/e2e/read-receipts/editing-messages.spec.ts#L1
3) [Rust Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read
Test timeout of 30000ms exceeded.
|
[Rust Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read:
matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L90
3) [Rust Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read
Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded.
at read-receipts/index.ts:90
88 | }
89 |
> 90 | const promise = room.evaluateHandle(
| ^
91 | async (room, { message, includeThreads }) => {
92 | let ev = room.timeline.find((e) => e.getContent().body === message);
93 | if (!ev && includeThreads) {
at MessageBuilder.getMessage (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:90:30)
at MessageContentSpec.getContent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:189:53)
at Helpers.sendMessageAsClient (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:351:61)
at Helpers.receiveMessages (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:591:9)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/editing-messages.spec.ts:345:17
|
[Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart:
matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L454
4) [Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot')
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
- locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div>
- unexpected value "visible"
at read-receipts/index.ts:454
452 | async assertRead(room: string | { name: string }) {
453 | const tile = this.getRoomListTile(room);
> 454 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible();
| ^
455 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible();
456 | }
457 |
at Helpers.assertRead (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:454:69)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/redactions.spec.ts:721:28
|
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line:
matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L587
5) [Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line
Error: Screenshot comparison failed:
28 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/timeline/timeline.spec.ts/hidden-event-line-zero-padding-irc-layout-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-layout-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-layout-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 28 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 28 pixels (ratio 0.01 of all image pixels) are different.
585 | };
586 |
> 587 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot(
| ^
588 | "hidden-event-line-zero-padding-irc-layout.png",
589 | screenshotOptions,
590 | );
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:587:57
|
[Rust Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain:
matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1013
6) [Rust Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain
Error: Screenshot comparison failed:
103 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/timeline/timeline.spec.ts/event-tile-reply-chains-bubble-layout-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Rust-Crypto/event-tile-reply-chains-bubble-layout-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Rust-Crypto/event-tile-reply-chains-bubble-layout-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 103 pixels (ratio 0.01 of all image pixels) are different.
1011 |
1012 | // Take a snapshot on bubble layout
> 1013 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot(
| ^
1014 | "event-tile-reply-chains-bubble-layout.png",
1015 | screenshotOptions,
1016 | );
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1013:62
|
🎭 Playwright Run Summary
6 flaky
[Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
[Legacy Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain
[Rust Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read
[Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line
[Rust Crypto] › timeline/timeline.spec.ts:906:13 › Timeline › message sending › should display a reply chain
113 skipped
611 passed (16.3m)
|
Slow Test:
[Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 6.4m
|
Slow Test:
[Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.3m
|
Slow Test:
[Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.9m
|
Slow Test:
[Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.8m
|
Slow Test:
[Rust Crypto] › read-receipts/editing-messages.spec.ts#L1
[Rust Crypto] › read-receipts/editing-messages.spec.ts took 3.8m
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
31.4 MB |
|
html-report--attempt-1
Expired
|
41.4 MB |
|