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

More testing of bounding box

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-02 14:22:51 +03:00
parent 59d07907ee
commit 178c1f03c5

View File

@ -191,8 +191,8 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
const logLine = await frame.waitForSelector("[data-testid=pod-log-list] [data-index='0']");
const lineBoundingBox = await logLine.boundingBox();
expect(lineBoundingBox?.height).toBeLessThan(20);
expect(lineBoundingBox?.width).toBeLessThan(30);
expect(lineBoundingBox?.width).toBeLessThan(20);
expect(lineBoundingBox?.height).toBeLessThan(30);
await frame.click("[data-testid='log-controls'] .wrap-logs");
await frame.waitForTimeout(3000);