From 13257f03b2522652f89c29b0cdd0fa429f21648b Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Thu, 1 Dec 2022 11:48:52 +0300 Subject: [PATCH] Set viewport size for the tests Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 72928079c0..3c4b8a441d 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -25,6 +25,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { beforeEach(async () => { ({ window, cleanup } = await utils.start()); + window.setViewportSize({ width: 1200, height: 850 }); await utils.clickWelcomeButton(window); frame = await utils.lauchMinikubeClusterFromCatalog(window); @@ -136,7 +137,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { 10 * 60 * 1000, ); - it( + it.only( "should create a pod with logs and wrap log lines", async () => { await navigateToPods(frame);