From 95598f4fd5aa8b005414896de68f2d74bf1409bb Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 6 May 2022 14:30:36 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @testing-library/user-event to v14 Signed-off-by: Renovate Bot --- .changeset/renovate-9008399.md | 5 +++++ plugins/codescene/package.json | 2 +- yarn.lock | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/renovate-9008399.md diff --git a/.changeset/renovate-9008399.md b/.changeset/renovate-9008399.md new file mode 100644 index 0000000000..64e1dd07a8 --- /dev/null +++ b/.changeset/renovate-9008399.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-codescene': patch +--- + +Updated dependency `@testing-library/user-event` to `^14.0.0`. diff --git a/plugins/codescene/package.json b/plugins/codescene/package.json index a28973c9c4..a6a3f8f130 100644 --- a/plugins/codescene/package.json +++ b/plugins/codescene/package.json @@ -44,7 +44,7 @@ "@backstage/test-utils": "^1.1.0-next.1", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^12.1.3", - "@testing-library/user-event": "^13.1.8", + "@testing-library/user-event": "^14.0.0", "@types/jest": "*", "@types/node": "*", "msw": "^0.35.0", diff --git a/yarn.lock b/yarn.lock index fe194f4114..dc5095dd1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4014,7 +4014,7 @@ react-beautiful-dnd "^13.0.0" react-double-scrollbar "0.0.15" -"@material-ui/core@^4.11.0", "@material-ui/core@^4.11.3", "@material-ui/core@^4.12.1", "@material-ui/core@^4.12.2", "@material-ui/core@^4.9.13": +"@material-ui/core@^4.11.0", "@material-ui/core@^4.11.3", "@material-ui/core@^4.12.1", "@material-ui/core@^4.12.2", "@material-ui/core@^4.9.10", "@material-ui/core@^4.9.13": version "4.12.4" resolved "https://registry.npmjs.org/@material-ui/core/-/core-4.12.4.tgz#4ac17488e8fcaf55eb6a7f5efb2a131e10138a73" integrity sha512-tr7xekNlM9LjA6pagJmL8QCgZXaubWUwkJnoYcMKd4gw/t4XiyvnTkjdGrUVicyB2BsdaAv1tvow45bPM4sSwQ== @@ -4061,7 +4061,7 @@ prop-types "^15.7.2" react-is "^16.8.0 || ^17.0.0" -"@material-ui/lab@^4.0.0-alpha.60": +"@material-ui/lab@^4.0.0-alpha.57", "@material-ui/lab@^4.0.0-alpha.60": version "4.0.0-alpha.61" resolved "https://registry.npmjs.org/@material-ui/lab/-/lab-4.0.0-alpha.61.tgz#9bf8eb389c0c26c15e40933cc114d4ad85e3d978" integrity sha512-rSzm+XKiNUjKegj8bzt5+pygZeckNLOr+IjykH8sYdVk7dE9y2ZuUSofiMV2bJk3qU+JHwexmw+q0RyNZB9ugg== 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 2/2] 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 })); });