Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Increase change threshold for Chromatic UI tests

Gabe Kangas811be68a4a7a
diff --git a/web/components/common/OwncastLogo/OwncastLogo.stories.tsx b/web/components/common/OwncastLogo/OwncastLogo.stories.tsx
index 7d831eaabe..3ceaabb4e7 100644
--- a/web/components/common/OwncastLogo/OwncastLogo.stories.tsx
+++ b/web/components/common/OwncastLogo/OwncastLogo.stories.tsx
@@ -5,7 +5,9 @@ import { OwncastLogo } from './OwncastLogo';
export default {
title: 'owncast/Components/Header Logo',
component: OwncastLogo,
- parameters: {},
+ parameters: {
+ chromatic: { diffThreshold: 0.8 },
+ },
} as ComponentMeta<typeof OwncastLogo>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
diff --git a/web/stories/PageLogo.stories.tsx b/web/stories/PageLogo.stories.tsx
index fc4ea276bc..79782e00e6 100644
--- a/web/stories/PageLogo.stories.tsx
+++ b/web/stories/PageLogo.stories.tsx
@@ -5,7 +5,9 @@ import { Logo } from '../components/ui/Logo/Logo';
export default {
title: 'owncast/Components/Page Logo',
component: Logo,
- parameters: {},
+ parameters: {
+ chromatic: { diffThreshold: 0.8 },
+ },
} as ComponentMeta<typeof Logo>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars