diff --git a/src/__tests__/__snapshots__/test-utils-selectors.test.tsx.snap b/src/__tests__/__snapshots__/test-utils-selectors.test.tsx.snap index 6ec6aa69ea..ea13fb73e6 100644 --- a/src/__tests__/__snapshots__/test-utils-selectors.test.tsx.snap +++ b/src/__tests__/__snapshots__/test-utils-selectors.test.tsx.snap @@ -482,6 +482,7 @@ exports[`test-utils selectors 1`] = ` "awsui_browse-button_1vtzr", "awsui_layout-uri_1vtzr", "awsui_layout-version_1vtzr", + "awsui_modal-root_rkh1e", "awsui_root_1u0yw", "awsui_root_1vtzr", "awsui_submit-button_12hyz", diff --git a/src/s3-resource-selector/s3-modal/index.tsx b/src/s3-resource-selector/s3-modal/index.tsx index b87f496b4f..646531253e 100644 --- a/src/s3-resource-selector/s3-modal/index.tsx +++ b/src/s3-resource-selector/s3-modal/index.tsx @@ -16,6 +16,7 @@ import { BucketsTable } from './buckets-table'; import { ObjectsTable } from './objects-table'; import { VersionsTable } from './versions-table'; +import testUtilStyles from '../test-classes/styles.css.js'; import styles from './styles.css.js'; export interface S3ModalProps { @@ -125,6 +126,7 @@ export function S3Modal({ return (