diff --git a/src/components/Button/__tests__/Button.spec.tsx b/src/components/Button/__tests__/Button.spec.tsx index 0f02e074d..0b37cd3a3 100644 --- a/src/components/Button/__tests__/Button.spec.tsx +++ b/src/components/Button/__tests__/Button.spec.tsx @@ -8,10 +8,10 @@ import { propTests, } from '../../../../tests/playwright'; import { - ButtonForTest, ButtonForRefTest, - ButtonInVerticalFormLayoutForTest, + ButtonForTest, ButtonInHorizontalFormLayoutForTest, + ButtonInVerticalFormLayoutForTest, } from './Button.story'; test.describe('Button', () => { diff --git a/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-horizontal-1-chromium-linux.png b/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-horizontal-1-chromium-linux.png index 7fa11110d..4e0c75d56 100644 Binary files a/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-horizontal-1-chromium-linux.png and b/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-horizontal-1-chromium-linux.png differ diff --git a/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-vertical-1-chromium-linux.png b/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-vertical-1-chromium-linux.png index 80576606b..bd46d12c0 100644 Binary files a/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-vertical-1-chromium-linux.png and b/src/components/Button/__tests__/Button.spec.tsx-snapshots/Button-formLayout-visual-vertical-1-chromium-linux.png differ diff --git a/src/components/Button/__tests__/Button.story.tsx b/src/components/Button/__tests__/Button.story.tsx index b511a077d..b95963fa4 100644 --- a/src/components/Button/__tests__/Button.story.tsx +++ b/src/components/Button/__tests__/Button.story.tsx @@ -4,6 +4,7 @@ import React, { } from 'react'; import type { ButtonHTMLAttributes } from 'react'; import { FormLayout } from '../../FormLayout'; +import { TextField } from '../../TextField'; import { Button } from '..'; // Types for story component will be improved when we have full TypeScript support @@ -46,6 +47,7 @@ export const ButtonInVerticalFormLayoutForTest = ({ ...props }: ButtonForTestProps) => ( +