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

This commit is contained in:
Gabe Kangas
2023-01-30 14:29:25 -08:00
parent e8c9868102
commit de20b2cc11
4 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ export default {
title: 'owncast/Chat/Chat messages container', title: 'owncast/Chat/Chat messages container',
component: ChatContainer, component: ChatContainer,
parameters: { parameters: {
chromatic: { diffThreshold: 0.2 }, chromatic: { diffThreshold: 0.8 },
docs: { docs: {
description: { description: {
component: ` component: `

View File

@@ -33,7 +33,7 @@ export default {
component: ChatTextField, component: ChatTextField,
parameters: { parameters: {
fetchMock: mocks, fetchMock: mocks,
chromatic: { diffThreshold: 0.2 }, chromatic: { diffThreshold: 0.8 },
design: { design: {
type: 'image', type: 'image',

View File

@@ -14,6 +14,7 @@ export default {
title: 'owncast/Modals/Browser Notifications', title: 'owncast/Modals/Browser Notifications',
component: BrowserNotifyModal, component: BrowserNotifyModal,
parameters: { parameters: {
chromatic: { diffThreshold: 0.7 },
design: { design: {
type: 'image', type: 'image',
url: BrowserNotifyModalMock, url: BrowserNotifyModalMock,

View File

@@ -14,7 +14,7 @@ export default {
title: 'owncast/Chat/Embeds/Read-write chat', title: 'owncast/Chat/Embeds/Read-write chat',
component: ReadWritePage, component: ReadWritePage,
parameters: { parameters: {
chromatic: { diffThreshold: 0.2 }, chromatic: { diffThreshold: 0.8 },
}, },
} as ComponentMeta<typeof ReadWritePage>; } as ComponentMeta<typeof ReadWritePage>;