diff --git a/src/react/ui-elements/SelectAccountIAMRole.tsx b/src/react/ui-elements/SelectAccountIAMRole.tsx
index d41e04047..7bd335070 100644
--- a/src/react/ui-elements/SelectAccountIAMRole.tsx
+++ b/src/react/ui-elements/SelectAccountIAMRole.tsx
@@ -21,6 +21,8 @@ import {
import { AccountsLocationsEndpointsAdapterProvider } from '../next-architecture/ui/AccountsLocationsEndpointsAdapterProvider';
import { getListRolesQuery } from '../queries';
import { regexArn } from '../utils/hooks';
+import { AuthProvider } from '../next-architecture/ui/AuthProvider';
+import { ConfigProvider } from '../next-architecture/ui/ConfigProvider';
class NoOpMetricsAdapter implements IMetricsAdapter {
async listBucketsLatestUsedCapacity(
@@ -289,10 +291,22 @@ export const _SelectAccountIAMRole = (props: SelectAccountIAMRoleProps) => {
}
};
-export const SelectAccountIAMRole = (props: SelectAccountIAMRoleProps) => {
+export const SelectAccountIAMRoleInternal = (
+ props: SelectAccountIAMRoleProps,
+) => {
return (
<_SelectAccountIAMRole {...props} />
);
};
+
+export default function SelectAccountIAMRole(props: SelectAccountIAMRoleProps) {
+ return (
+
+
+
+
+
+ );
+}
diff --git a/src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx b/src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx
index aed481d40..cb11ae4b9 100644
--- a/src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx
+++ b/src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx
@@ -4,7 +4,7 @@ import { setupServer } from 'msw/node';
import { QueryClient, QueryClientProvider } from 'react-query';
import { TEST_API_BASE_URL } from '../../../react/utils/testUtil';
import {
- SelectAccountIAMRole,
+ SelectAccountIAMRoleInternal as SelectAccountIAMRole,
extractAccountIdFromARN,
} from '../SelectAccountIAMRole';
diff --git a/src/react/workflow/__tests__/ReplicationForm.test.tsx b/src/react/workflow/__tests__/ReplicationForm.test.tsx
index cf5a7f13f..116c21cff 100644
--- a/src/react/workflow/__tests__/ReplicationForm.test.tsx
+++ b/src/react/workflow/__tests__/ReplicationForm.test.tsx
@@ -202,6 +202,6 @@ describe('ReplicationForm', () => {
//V
await waitFor(()=>{
expect(screen.queryByRole('status')).not.toBeInTheDocument();
- }, {timeout: 2000})
+ }, {timeout: 8000})
});
});