From 5f660bbb4a1c0b8c7f3004a2d07955a34580881a Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 2 Dec 2022 15:28:52 +0300 Subject: [PATCH] Use click instead of check Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index a9610aba3f..56b3679308 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -127,11 +127,11 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { await showPreviousCheckbox.click(); - const showWrapLogsCheckbox = await frame.waitForSelector( + await frame.waitForSelector( "[data-testid='log-controls'] .wrap-logs", ); - await showWrapLogsCheckbox.click(); + // await showWrapLogsCheckbox.click(); }, 10 * 60 * 1000, ); @@ -193,7 +193,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { expect(lineBoundingBox?.height).toBeLessThan(30); - await frame.check(".wrap-logs input") + await frame.click(".wrap-logs") await frame.waitForTimeout(5000); const wrappedLogLine = await frame.waitForSelector("[data-testid=pod-log-list] [data-index='0'] > div");