Set viewport size for the tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-12-01 11:48:52 +03:00
1 parent f1810813a1
commit 13257f03b2
1 file changed
+2 -1
+2 -1
View File
@@ -25,6 +25,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
beforeEach(async () => { beforeEach(async () => {
({ window, cleanup } = await utils.start()); ({ window, cleanup } = await utils.start());
window.setViewportSize({ width: 1200, height: 850 });
await utils.clickWelcomeButton(window); await utils.clickWelcomeButton(window);
frame = await utils.lauchMinikubeClusterFromCatalog(window); frame = await utils.lauchMinikubeClusterFromCatalog(window);
@@ -136,7 +137,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
10 * 60 * 1000, 10 * 60 * 1000,
); );
it( it.only(
"should create a pod with logs and wrap log lines", "should create a pod with logs and wrap log lines",
async () => { async () => {
await navigateToPods(frame); await navigateToPods(frame);