Tweak Chromatic diffThreshold to reduce false negative tests
This commit is contained in:
parent
fd54846f69
commit
4cdbcc642d
@ -8,6 +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 },
|
||||||
docs: {
|
docs: {
|
||||||
description: {
|
description: {
|
||||||
component: `
|
component: `
|
||||||
|
@ -33,6 +33,7 @@ export default {
|
|||||||
component: ChatTextField,
|
component: ChatTextField,
|
||||||
parameters: {
|
parameters: {
|
||||||
fetchMock: mocks,
|
fetchMock: mocks,
|
||||||
|
chromatic: { diffThreshold: 0.2 },
|
||||||
|
|
||||||
design: {
|
design: {
|
||||||
type: 'image',
|
type: 'image',
|
||||||
|
@ -13,7 +13,9 @@ import { ClientConfig } from '../interfaces/client-config.model';
|
|||||||
export default {
|
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 },
|
||||||
|
},
|
||||||
} as ComponentMeta<typeof ReadWritePage>;
|
} as ComponentMeta<typeof ReadWritePage>;
|
||||||
|
|
||||||
const testMessages =
|
const testMessages =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user