diff --git a/playwright/playwright/index.tsx b/playwright/playwright/index.tsx index 8c35b071..ad541b50 100644 --- a/playwright/playwright/index.tsx +++ b/playwright/playwright/index.tsx @@ -1,15 +1,23 @@ import React from 'react'; -import {MobileProvider, ThemeProvider, ToasterComponent, ToasterProvider} from '@gravity-ui/uikit'; +import { + MobileProvider, + ThemeProvider, + Toaster, + ToasterComponent, + ToasterProvider, +} from '@gravity-ui/uikit'; import {beforeMount} from '@playwright/experimental-ct-react/hooks'; import './index.scss'; +const toaster = new Toaster(); + beforeMount(async ({App}) => { return ( - + diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-chromium-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-chromium-linux.png index 85eec537..6a3b1912 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-chromium-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-chromium-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-webkit-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-webkit-linux.png index fd43280a..73dc8a17 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-webkit-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-dark-webkit-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-chromium-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-chromium-linux.png index 88fa8b78..9448aa44 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-chromium-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-chromium-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-webkit-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-webkit-linux.png index 67847a18..a3f11103 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-webkit-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-ManyItems-light-webkit-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-chromium-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-chromium-linux.png index 21ed84ce..6fb54640 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-chromium-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-chromium-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-webkit-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-webkit-linux.png index b59d7ba1..be42b96f 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-webkit-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-dark-webkit-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-chromium-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-chromium-linux.png index 27f3039c..2203259e 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-chromium-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-chromium-linux.png differ diff --git a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-webkit-linux.png b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-webkit-linux.png index 3ba9aa39..30e5825c 100644 Binary files a/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-webkit-linux.png and b/src/components/Footer/desktop/__snapshots__/Footer.visual.test.tsx-snapshots/Footer-render-story-Showcase-light-webkit-linux.png differ diff --git a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-chromium-linux.png b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-chromium-linux.png index a54b4dd6..2e2ebefe 100644 Binary files a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-chromium-linux.png and b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-chromium-linux.png differ diff --git a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-webkit-linux.png b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-webkit-linux.png index f4c35ef2..f1d8e035 100644 Binary files a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-webkit-linux.png and b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-dark-webkit-linux.png differ diff --git a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-chromium-linux.png b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-chromium-linux.png index ea698539..12b628af 100644 Binary files a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-chromium-linux.png and b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-chromium-linux.png differ diff --git a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-webkit-linux.png b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-webkit-linux.png index e27bd21c..b23d7487 100644 Binary files a/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-webkit-linux.png and b/src/components/Settings/__snapshots__/BurgerMenu.visual.test.tsx-snapshots/Settings-render-story-ViewMobile-light-webkit-linux.png differ