1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Use click instead of check

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-02 15:28:52 +03:00
parent f957eb0902
commit 5f660bbb4a

View File

@ -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");