Browse Source

Continue to bump diff threshold so UI tests do not register as changed

pull/2786/head
Gabe Kangas 4 years ago
parent
commit
b5cc183a3c
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      web/components/chat/ChatTextField/ChatTextField.stories.tsx
  2. 3
      web/components/layouts/Main/Main.stories.tsx

2
web/components/chat/ChatTextField/ChatTextField.stories.tsx

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

3
web/components/layouts/Main/Main.stories.tsx

@ -133,6 +133,9 @@ export const Online: typeof Template = Template.bind({}); @@ -133,6 +133,9 @@ export const Online: typeof Template = Template.bind({});
Online.args = {
ServerStatusServiceMock: OnlineServerStatusServiceMock,
};
Online.parameters = {
chromatic: { diffThreshold: 0.88 },
};
export const OnlineMobile: typeof Template = Online.bind({});
OnlineMobile.args = {

Loading…
Cancel
Save