From e6acd02749c4b6f58f9f2035be100787bf602d58 Mon Sep 17 00:00:00 2001 From: Victoria Zhizhonkova Date: Fri, 8 Nov 2024 15:56:50 +0700 Subject: [PATCH] fix(Gallery): try to fix flaky test --- .../src/components/Gallery/Gallery.e2e-playground.tsx | 8 +++++--- .../gallery-show-arrows-vkcom-chromium-dark-1-snap.png | 4 ++-- .../gallery-show-arrows-vkcom-chromium-light-1-snap.png | 4 ++-- .../gallery-show-arrows-vkcom-firefox-dark-1-snap.png | 4 ++-- .../gallery-show-arrows-vkcom-firefox-light-1-snap.png | 4 ++-- .../gallery-show-arrows-vkcom-webkit-dark-1-snap.png | 4 ++-- .../gallery-show-arrows-vkcom-webkit-light-1-snap.png | 4 ++-- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/packages/vkui/src/components/Gallery/Gallery.e2e-playground.tsx b/packages/vkui/src/components/Gallery/Gallery.e2e-playground.tsx index c36e503e37..226ce88e4d 100644 --- a/packages/vkui/src/components/Gallery/Gallery.e2e-playground.tsx +++ b/packages/vkui/src/components/Gallery/Gallery.e2e-playground.tsx @@ -59,9 +59,11 @@ export const GalleryWithArrowsPlayground = (props: ComponentPlaygroundProps) => return ( {(props: GalleryProps) => ( - - {getItems()} - +
+ + {getItems()} + +
)}
); diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-dark-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-dark-1-snap.png index 817fadb3a5..bd16394e6f 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-dark-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-dark-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c9357e997163e6c43b1ad672ea20481cda49584a6fd059b25fc7d6b88520492 -size 4518 +oid sha256:123b9a3143ef6559a23e1bb9d2acfa864cc3158277e1be98687c812686e3e1d8 +size 3645 diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-light-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-light-1-snap.png index a8ce9b9d80..1a11620325 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-light-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-chromium-light-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c9b42b1e5fb92f60ca06a8a170c05d44b0edf22086e52167578959a8a52c609 -size 3675 +oid sha256:65bda56865c26ecfb291d5d40deb4aad7450f7df936a05247fa858c856101039 +size 3105 diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-dark-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-dark-1-snap.png index 3cb1efb5db..fc42ea4a83 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-dark-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-dark-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:321b595d2a6f5e251d89eb0add0251530dad0d79884b9d2996c315ee399730dd -size 5627 +oid sha256:ce1da670fdf5405189964de1596f00b15ac515835083aad68a1e5aae163f5823 +size 4848 diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-light-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-light-1-snap.png index 1106451d3b..fc8963e4e4 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-light-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-firefox-light-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5789b02daa0818ae9d62d089dea67a6714f79a178ef4313cbecb7dcd059b29c -size 4463 +oid sha256:83521271e1d51c34678ae22ccd8c8cf7938fbac930ec40cd16a73123e7fb44ff +size 4062 diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-dark-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-dark-1-snap.png index 1c6bcdbfdf..18a3f458b2 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-dark-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-dark-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c8e138899e1437a21463048bb2491d139df128368a2f60fe5cdbbe1955631619 -size 4049 +oid sha256:ec3931c93d0a57c2676ec08fc424b7f4a22a655b48ab80ca39dc84edd046a1d3 +size 3588 diff --git a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-light-1-snap.png b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-light-1-snap.png index 4786b8104c..7cb95601e0 100644 --- a/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-light-1-snap.png +++ b/packages/vkui/src/components/Gallery/__image_snapshots__/gallery-show-arrows-vkcom-webkit-light-1-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c479f46324306088fda63dc3e5acaaab16fd3e871282d08ee7433f663626952c -size 3378 +oid sha256:a87448af84f1d4964bc550ff7599c07639edc543ca73fcff7fd468e96f465bda +size 3178