From 2c2266e13ddc660b78f5869fabc49f52757aa0ce Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Thu, 1 Dec 2022 13:38:24 +0300 Subject: [PATCH] Adding hard wait for debugging Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index cea929587c..abaad4bb21 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -194,6 +194,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { expect(lineBoundingBox?.height).toBeLessThan(30); await frame.click("[data-testid='log-controls'] .wrap-logs"); + await frame.waitForTimeout(1000); const wrappedLogLine = await frame.waitForSelector("[data-testid=pod-log-list] [data-index='0']"); const wrappedLineBoundingBox = await wrappedLogLine.boundingBox();