From b7efb997565a7322580d2516b0cf3f04dbc52d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Tue, 10 May 2022 15:27:02 +0200 Subject: [PATCH] fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- .../components/CatalogGraphPage/SelectedKindsFilter.test.tsx | 2 +- .../CatalogGraphPage/SelectedRelationsFilter.test.tsx | 2 +- .../PreparePullRequestForm.test.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 })); });