0

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
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
4 changed files with 4 additions and 3 deletions

View File

@ -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: `

View File

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

View File

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

View File

@ -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>;