From 178c1f03c5373d59f1d00504606c5d9f1fce81b4 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 2 Dec 2022 14:22:51 +0300 Subject: [PATCH] More testing of bounding box Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 141d4c827c..bdb36e744c 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -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);