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:
parent
f1810813a1
commit
13257f03b2
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user