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

Fix logline selector

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-11-29 14:07:29 +03:00
parent 85513859f8
commit 5a41265255

View File

@ -188,7 +188,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
await frame.click(".MenuItem >> text=Logs"); await frame.click(".MenuItem >> text=Logs");
await frame.waitForSelector(".Dock.isOpen"); await frame.waitForSelector(".Dock.isOpen");
const logLine = await frame.waitForSelector("[data-testid=pod-log-list] [data-index=0]"); const logLine = await frame.waitForSelector("[data-testid=pod-log-list] [data-index='0']");
let boundingBox = await logLine.boundingBox(); let boundingBox = await logLine.boundingBox();
expect(boundingBox?.height).toBeLessThan(30); expect(boundingBox?.height).toBeLessThan(30);