From a3e10152c88aa55095f4bae56369d3fd59266721 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 8 Mar 2023 17:13:43 -0800 Subject: [PATCH] Additional difThreshold tweaks for UI tests comparison --- web/components/layouts/Main/Main.stories.tsx | 3 +++ .../FollowerCollection/FollowerCollection.stories.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/components/layouts/Main/Main.stories.tsx b/web/components/layouts/Main/Main.stories.tsx index 75ca53691..054847050 100644 --- a/web/components/layouts/Main/Main.stories.tsx +++ b/web/components/layouts/Main/Main.stories.tsx @@ -109,6 +109,9 @@ const Template: ComponentStory = ({ ); export const OfflineDesktop: typeof Template = Template.bind({}); +OfflineDesktop.parameters = { + chromatic: { diffThreshold: 0.88 }, +}; export const OfflineMobile: typeof Template = Template.bind({}); OfflineMobile.args = { diff --git a/web/components/ui/followers/FollowerCollection/FollowerCollection.stories.tsx b/web/components/ui/followers/FollowerCollection/FollowerCollection.stories.tsx index fb5bceea6..19c920287 100644 --- a/web/components/ui/followers/FollowerCollection/FollowerCollection.stories.tsx +++ b/web/components/ui/followers/FollowerCollection/FollowerCollection.stories.tsx @@ -262,7 +262,7 @@ export default { title: 'owncast/Components/Followers/Followers collection', component: FollowerCollection, parameters: { - chromatic: { diffThreshold: 0.83 }, + chromatic: { diffThreshold: 0.86 }, }, } as ComponentMeta;