diff --git a/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedKindsFilter.test.tsx b/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedKindsFilter.test.tsx index 233553620a..e7bf10216f 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedKindsFilter.test.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedKindsFilter.test.tsx @@ -109,7 +109,7 @@ describe('', () => { ); await userEvent.click(getByRole('combobox')); - userEvent.tab(); + await userEvent.tab(); await waitFor(() => { expect(onChange).toBeCalledWith(undefined); diff --git a/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedRelationsFilter.test.tsx b/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedRelationsFilter.test.tsx index 8d5acf282c..6bd740ac9e 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedRelationsFilter.test.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphPage/SelectedRelationsFilter.test.tsx @@ -101,7 +101,7 @@ describe('', () => { ); await userEvent.click(getByRole('combobox')); - userEvent.tab(); + await userEvent.tab(); await waitFor(() => { expect(onChange).toBeCalledWith(undefined); diff --git a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/PreparePullRequestForm.test.tsx b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/PreparePullRequestForm.test.tsx index 20b4bc986e..90a2987958 100644 --- a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/PreparePullRequestForm.test.tsx +++ b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/PreparePullRequestForm.test.tsx @@ -67,7 +67,7 @@ describe('', () => { ); await act(async () => { - userEvent.clear(getByLabelText('Main Field')); + await userEvent.clear(getByLabelText('Main Field')); await userEvent.type(getByLabelText('Main Field'), 'My Text'); await userEvent.click(getByRole('button', { name: /submit/i })); });