From 436c010d9216cdfb6d7f4634e1b4fcaf76c06d5d Mon Sep 17 00:00:00 2001 From: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:28:03 -0400 Subject: [PATCH] fix: `AppSelect.test.tsx` test flake (#11104) * add timeout to flakey test * Added changeset: Fix `AppSelect.test.tsx` test flake --------- Co-authored-by: Banks Nussman --- packages/manager/.changeset/pr-11104-tests-1729020207783.md | 5 +++++ .../Linodes/LinodeCreate/Tabs/Marketplace/AppSelect.test.tsx | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 packages/manager/.changeset/pr-11104-tests-1729020207783.md diff --git a/packages/manager/.changeset/pr-11104-tests-1729020207783.md b/packages/manager/.changeset/pr-11104-tests-1729020207783.md new file mode 100644 index 00000000000..4bb1c860164 --- /dev/null +++ b/packages/manager/.changeset/pr-11104-tests-1729020207783.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Tests +--- + +Fix `AppSelect.test.tsx` test flake ([#11104](https://github.com/linode/manager/pull/11104)) diff --git a/packages/manager/src/features/Linodes/LinodeCreate/Tabs/Marketplace/AppSelect.test.tsx b/packages/manager/src/features/Linodes/LinodeCreate/Tabs/Marketplace/AppSelect.test.tsx index 182f7ec02fe..ed272f47f61 100644 --- a/packages/manager/src/features/Linodes/LinodeCreate/Tabs/Marketplace/AppSelect.test.tsx +++ b/packages/manager/src/features/Linodes/LinodeCreate/Tabs/Marketplace/AppSelect.test.tsx @@ -60,7 +60,9 @@ describe('Marketplace', () => { await waitFor(() => { expect(getByPlaceholderText('Select category')).not.toBeDisabled(); - }); + }, + { timeout: 5_000 } + ); const select = getByPlaceholderText('Select category');