This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add timezone to user profile #11930
Annotations
4 errors, 5 warnings, and 1 notice
Run Playwright tests:
matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts#L31
1) user-view/user-view.spec.ts:25:9 › UserView › should render the user view as expected ─────────
Error: Screenshot comparison failed:
7427 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/user-view/user-view.spec.ts/user-info-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected/user-info-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected/user-info-diff.png
Call log:
- expect.toHaveScreenshot(user-info.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
29 | await expect(rightPanel.getByRole("heading", { name: bot.credentials.displayName, exact: true })).toBeVisible();
30 | await expect(rightPanel.getByText("1 session")).toBeVisible();
> 31 | await expect(rightPanel).toMatchScreenshot("user-info.png", {
| ^
32 | mask: [page.locator(".mx_UserInfo_profile_mxid")],
33 | css: `
34 | /* Use monospace font for consistent mask width */
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts:31:34
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts#L31
1) user-view/user-view.spec.ts:25:9 › UserView › should render the user view as expected ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
7427 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/user-view/user-view.spec.ts/user-info-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected-retry1/user-info-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected-retry1/user-info-diff.png
Call log:
- expect.toHaveScreenshot(user-info.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
29 | await expect(rightPanel.getByRole("heading", { name: bot.credentials.displayName, exact: true })).toBeVisible();
30 | await expect(rightPanel.getByText("1 session")).toBeVisible();
> 31 | await expect(rightPanel).toMatchScreenshot("user-info.png", {
| ^
32 | mask: [page.locator(".mx_UserInfo_profile_mxid")],
33 | css: `
34 | /* Use monospace font for consistent mask width */
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts:31:34
|
Run Playwright tests:
matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts#L31
1) user-view/user-view.spec.ts:25:9 › UserView › should render the user view as expected ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
7427 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/user-view/user-view.spec.ts/user-info-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected-retry2/user-info-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-view-user-view-UserVi-3a259-r-the-user-view-as-expected-retry2/user-info-diff.png
Call log:
- expect.toHaveScreenshot(user-info.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#mx_RightPanel')
- locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside>
- 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
- 7427 pixels (ratio 0.03 of all image pixels) are different.
29 | await expect(rightPanel.getByRole("heading", { name: bot.credentials.displayName, exact: true })).toBeVisible();
30 | await expect(rightPanel.getByText("1 session")).toBeVisible();
> 31 | await expect(rightPanel).toMatchScreenshot("user-info.png", {
| ^
32 | mask: [page.locator(".mx_UserInfo_profile_mxid")],
33 | css: `
34 | /* Use monospace font for consistent mask width */
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-view/user-view.spec.ts:31:34
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests:
matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.9m
|
Run Playwright tests:
matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.1m
|
Run Playwright tests:
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.7m
|
Run Playwright tests:
matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 39.4s
|
Run Playwright tests:
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 31.5s
|
Run Playwright tests
1 failed
user-view/user-view.spec.ts:25:9 › UserView › should render the user view as expected ──────────
4 skipped
66 passed (10.4m)
|
Loading