This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
End to End Tests #6663
Annotations
5 errors, 5 warnings, and 1 notice
Merge into HTML Report:
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
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/threads/threads.spec.ts#L410
2) [Legacy Crypto] › threads/threads.spec.ts:361:9 › Threads › should send location and reply to the location on ThreadView
Error: Screenshot comparison failed:
10954 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/threads-threads-Threads-should-send-location-and-reply-to-the-location-on-ThreadView-Legacy-Crypto/Reply-to-the-location-on-ThreadView-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/threads-threads-Threads-should-send-location-and-reply-to-the-location-on-ThreadView-Legacy-Crypto/Reply-to-the-location-on-ThreadView-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_ThreadView')
- locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 10953 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_ThreadView')
- locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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
- 10954 pixels (ratio 0.04 of all image pixels) are different.
408 | // Take a snapshot of reply to the shared location
409 | await page.addStyleTag({ content: css });
> 410 | await expect(page.locator(".mx_ThreadView")).toMatchScreenshot("Reply_to_the_location_on_ThreadView.png");
| ^
411 | });
412 |
413 | test("right panel behaves correctly", async ({ page, app, user }) => {
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/threads/threads.spec.ts:410:54
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L462
3) [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:462
460 | async assertRead(room: string | { name: string }) {
461 | const tile = this.getRoomListTile(room);
> 462 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible();
| ^
463 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible();
464 | }
465 |
at Helpers.assertRead (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:462:69)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/redactions.spec.ts:721:28
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
4) [Rust 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
|
Merge into HTML Report:
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
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 6.2m
|
Merge into HTML Report:
[Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.4m
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.8m
|
Merge into HTML Report:
[Legacy Crypto] › read-receipts/high-level.spec.ts#L1
[Legacy Crypto] › read-receipts/high-level.spec.ts took 3.5m
|
Merge into HTML Report
5 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] › threads/threads.spec.ts:361:9 › Threads › should send location and reply to the location on ThreadView
[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] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line
114 skipped
629 passed (16.8m)
|
The logs for this run have expired and are no longer available.
Loading