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

Adding hard wait for debugging

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-01 13:38:24 +03:00
parent d19e65bf23
commit 2c2266e13d

View File

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