Additional difThreshold tweaks for UI tests comparison

This commit is contained in:
Gabe Kangas
2023-03-08 17:13:43 -08:00
parent 6214f2543d
commit a3e10152c8
2 changed files with 4 additions and 1 deletions

View File

@@ -109,6 +109,9 @@ const Template: ComponentStory<typeof Main> = ({
); );
export const OfflineDesktop: typeof Template = Template.bind({}); export const OfflineDesktop: typeof Template = Template.bind({});
OfflineDesktop.parameters = {
chromatic: { diffThreshold: 0.88 },
};
export const OfflineMobile: typeof Template = Template.bind({}); export const OfflineMobile: typeof Template = Template.bind({});
OfflineMobile.args = { OfflineMobile.args = {

View File

@@ -262,7 +262,7 @@ export default {
title: 'owncast/Components/Followers/Followers collection', title: 'owncast/Components/Followers/Followers collection',
component: FollowerCollection, component: FollowerCollection,
parameters: { parameters: {
chromatic: { diffThreshold: 0.83 }, chromatic: { diffThreshold: 0.86 },
}, },
} as ComponentMeta<typeof FollowerCollection>; } as ComponentMeta<typeof FollowerCollection>;