From 40bca3b14a55576645e428b417db27ad0cac7df9 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 31 May 2023 15:07:53 -0400 Subject: [PATCH] chore: Fix integration test because of new behaviour Signed-off-by: Sebastian Malton --- open-lens/integration/__tests__/cluster-pages.tests.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/open-lens/integration/__tests__/cluster-pages.tests.ts b/open-lens/integration/__tests__/cluster-pages.tests.ts index 0b36193ea8..b5c7244661 100644 --- a/open-lens/integration/__tests__/cluster-pages.tests.ts +++ b/open-lens/integration/__tests__/cluster-pages.tests.ts @@ -110,8 +110,9 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { await namespacesSelector.click(); await namespacesSelector.type(TEST_NAMESPACE); - await namespacesSelector.press("Enter"); - await namespacesSelector.click(); + await frame.page().keyboard.press("Tab", { delay: 10 }); + await frame.page().keyboard.press("Tab", { delay: 10 }); + await frame.page().keyboard.press("Enter", { delay: 10 }); await frame.click(".Icon.new-dock-tab");