diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts b/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts index 1caa1108bd6..0f6e1f243e8 100644 --- a/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts +++ b/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts @@ -45,6 +45,7 @@ describe.each(['ui', 'sbanken'])('Upload for %s', (themeName) => { it('have to match disabled file max size', async () => { const screenshot = await makeScreenshot({ + style: { height: '14rem' }, selector: '[data-visual-test="upload-disabled-file-max-size"]', }) expect(screenshot).toMatchImageSnapshot() diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png index 1a7ee72711c..84df27d45da 100644 Binary files a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png and b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png differ diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png new file mode 100644 index 00000000000..6dfd78b71f3 Binary files /dev/null and b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png differ