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

Set viewport size for the tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-01 11:48:52 +03:00
parent f1810813a1
commit 13257f03b2

View File

@ -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);