Skip to content

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

Increase diff threshold for UI tests: #2292 #2630 #2629

Gabe Kangas2952a787f22c
diff --git a/web/components/chat/ChatContainer/ChatContainer.stories.tsx b/web/components/chat/ChatContainer/ChatContainer.stories.tsx
index f12616e28e..1d3cee7b01 100644
--- a/web/components/chat/ChatContainer/ChatContainer.stories.tsx
+++ b/web/components/chat/ChatContainer/ChatContainer.stories.tsx
@@ -8,7 +8,7 @@ export default {
title: 'owncast/Chat/Chat messages container',
component: ChatContainer,
parameters: {
- chromatic: { diffThreshold: 0.2 },
+ chromatic: { diffThreshold: 0.8 },
docs: {
description: {
component: `
diff --git a/web/components/chat/ChatTextField/ChatTextField.stories.tsx b/web/components/chat/ChatTextField/ChatTextField.stories.tsx
index 5586eb2ddf..f2e6ac5d01 100644
--- a/web/components/chat/ChatTextField/ChatTextField.stories.tsx
+++ b/web/components/chat/ChatTextField/ChatTextField.stories.tsx
@@ -33,7 +33,7 @@ export default {
component: ChatTextField,
parameters: {
fetchMock: mocks,
- chromatic: { diffThreshold: 0.2 },
+ chromatic: { diffThreshold: 0.8 },
design: {
type: 'image',
diff --git a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.stories.tsx b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.stories.tsx
index 1da8f0bb29..9182b8b520 100644
--- a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.stories.tsx
+++ b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.stories.tsx
@@ -14,6 +14,7 @@ export default {
title: 'owncast/Modals/Browser Notifications',
component: BrowserNotifyModal,
parameters: {
+ chromatic: { diffThreshold: 0.7 },
design: {
type: 'image',
url: BrowserNotifyModalMock,
diff --git a/web/stories/ReadwriteChat.stories.tsx b/web/stories/ReadwriteChat.stories.tsx
index adc0b6d234..0faef5facb 100644
--- a/web/stories/ReadwriteChat.stories.tsx
+++ b/web/stories/ReadwriteChat.stories.tsx
@@ -14,7 +14,7 @@ export default {
title: 'owncast/Chat/Embeds/Read-write chat',
component: ReadWritePage,
parameters: {
- chromatic: { diffThreshold: 0.2 },
+ chromatic: { diffThreshold: 0.8 },
},
} as ComponentMeta<typeof ReadWritePage>;