diff --git a/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-chromium-linux.png b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-chromium-linux.png new file mode 100644 index 0000000000..45d40ecffd Binary files /dev/null and b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-chromium-linux.png differ diff --git a/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-webkit-linux.png b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-webkit-linux.png new file mode 100644 index 0000000000..ae79506d9d Binary files /dev/null and b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-dark-webkit-linux.png differ diff --git a/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-chromium-linux.png b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-chromium-linux.png new file mode 100644 index 0000000000..b820409953 Binary files /dev/null and b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-chromium-linux.png differ diff --git a/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-webkit-linux.png b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-webkit-linux.png new file mode 100644 index 0000000000..04c500af53 Binary files /dev/null and b/src/components/Select/__snapshots__/Select.visual.test.tsx-snapshots/Select-control-with-parent-flex-basis-0-light-webkit-linux.png differ diff --git a/src/components/Select/__tests__/Select.visual.test.tsx b/src/components/Select/__tests__/Select.visual.test.tsx new file mode 100644 index 0000000000..5ef9a5e027 --- /dev/null +++ b/src/components/Select/__tests__/Select.visual.test.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +import {test} from '~playwright/core'; + +import {Select} from '../index'; +import type {SelectOption} from '../index'; + +test.describe('Select', {tag: '@Select'}, () => { + test('control-with-parent-flex-basis-0', async ({mount, expectScreenshot}) => { + const options: SelectOption[] = [{value: '1', content: 'Value 1'}]; + await mount( +
+
+