feat(CustomScrollView): refactor CustomScrollView to the native approach #5711
Annotations
4 errors and 1 notice
packages/vkui/src/testing/e2e/index.playwright.ts#L58
1) [vkcom (chromium) • light] › components/CustomScrollView/CustomScrollView.e2e.tsx:10:7 › CustomScrollView › with vertical scroll
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 239px by 454px, received 139px by 216px. 23657 pixels (ratio 0.22 of all image pixels) are different.
Expected: /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/__image_snapshots__/customscrollview-with-vertical-scroll-vkcom-chromium-light-1-snap.png
Received: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-4c961-llView-with-vertical-scroll-vkcom-chromium-•-light-retry1/customscrollview-with-vert-30d45-m-chromium-light-1-snap-actual.png
Diff: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-4c961-llView-with-vertical-scroll-vkcom-chromium-•-light-retry1/customscrollview-with-vert-30d45-m-chromium-light-1-snap-diff.png
at testing/e2e/index.playwright.ts:58
56 | expectCallCount,
57 | );
> 58 | expect(await screenshotWithClipToContent(page, options, browserName)).toMatchSnapshot(
| ^
59 | customScreenshotName,
60 | toMatchSnapshot,
61 | );
at result (/__w/VKUI/VKUI/packages/vkui/src/testing/e2e/index.playwright.ts:58:77)
at /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/CustomScrollView.e2e.tsx:16:5
|
packages/vkui/src/testing/e2e/index.playwright.ts#L58
2) [vkcom (chromium) • light] › components/CustomScrollView/CustomScrollView.e2e.tsx:19:7 › CustomScrollView › with vertical and horizontal scroll
Error: Screenshot comparison failed:
Expected an image 638px by 357px, received 638px by 338px. 41759 pixels (ratio 0.19 of all image pixels) are different.
Expected: /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/__image_snapshots__/customscrollview-with-vertical-and-horizontal-scroll-vkcom-chromium-light-1-snap.png
Received: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-bef3a-tical-and-horizontal-scroll-vkcom-chromium-•-light/customscrollview-with-vert-0327a-m-chromium-light-1-snap-actual.png
Diff: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-bef3a-tical-and-horizontal-scroll-vkcom-chromium-•-light/customscrollview-with-vert-0327a-m-chromium-light-1-snap-diff.png
at testing/e2e/index.playwright.ts:58
56 | expectCallCount,
57 | );
> 58 | expect(await screenshotWithClipToContent(page, options, browserName)).toMatchSnapshot(
| ^
59 | customScreenshotName,
60 | toMatchSnapshot,
61 | );
at result (/__w/VKUI/VKUI/packages/vkui/src/testing/e2e/index.playwright.ts:58:77)
at /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/CustomScrollView.e2e.tsx:25:5
|
packages/vkui/src/testing/e2e/index.playwright.ts#L58
2) [vkcom (chromium) • light] › components/CustomScrollView/CustomScrollView.e2e.tsx:19:7 › CustomScrollView › with vertical and horizontal scroll
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 638px by 357px, received 638px by 338px. 41759 pixels (ratio 0.19 of all image pixels) are different.
Expected: /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/__image_snapshots__/customscrollview-with-vertical-and-horizontal-scroll-vkcom-chromium-light-1-snap.png
Received: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-bef3a-tical-and-horizontal-scroll-vkcom-chromium-•-light-retry1/customscrollview-with-vert-0327a-m-chromium-light-1-snap-actual.png
Diff: /__w/VKUI/VKUI/packages/vkui/__diff_output__/components-CustomScrollVie-bef3a-tical-and-horizontal-scroll-vkcom-chromium-•-light-retry1/customscrollview-with-vert-0327a-m-chromium-light-1-snap-diff.png
at testing/e2e/index.playwright.ts:58
56 | expectCallCount,
57 | );
> 58 | expect(await screenshotWithClipToContent(page, options, browserName)).toMatchSnapshot(
| ^
59 | customScreenshotName,
60 | toMatchSnapshot,
61 | );
at result (/__w/VKUI/VKUI/packages/vkui/src/testing/e2e/index.playwright.ts:58:77)
at /__w/VKUI/VKUI/packages/vkui/src/components/CustomScrollView/CustomScrollView.e2e.tsx:25:5
|
|
2 failed
[vkcom (chromium) • light] › components/CustomScrollView/CustomScrollView.e2e.tsx:10:7 › CustomScrollView › with vertical scroll
[vkcom (chromium) • light] › components/CustomScrollView/CustomScrollView.e2e.tsx:19:7 › CustomScrollView › with vertical and horizontal scroll
26 skipped
130 passed (1.3m)
|
The logs for this run have expired and are no longer available.
Loading