From 780d25dfe7cdfc26ecb61eac0222bb791c404568 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 20 Nov 2020 08:01:46 +0300 Subject: [PATCH] Split workspace tests to smaller ones Signed-off-by: Alex Andreev --- integration/__tests__/app.tests.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration/__tests__/app.tests.ts b/integration/__tests__/app.tests.ts index 7663d9cca2..fcd523a40a 100644 --- a/integration/__tests__/app.tests.ts +++ b/integration/__tests__/app.tests.ts @@ -82,7 +82,7 @@ describe("Lens integration tests", () => { } }); - it('switches between workspaces', async () => { + it('creates new workspace', async () => { await clickWhatsNew(app); await app.client.click('#current-workspace .Icon'); await app.client.click('a[href="/workspaces"]'); @@ -92,6 +92,9 @@ describe("Lens integration tests", () => { await app.client.keys("test description"); await app.client.click('.Workspaces .workspace.editing .Icon'); await app.client.waitUntilTextExists(".workspace .name a", "test-workspace"); + }); + + it('switches between workspaces', async () => { await addMinikubeCluster(app); await app.client.waitForExist(`iframe[name="minikube"]`); await app.client.waitForVisible(".ClustersMenu .ClusterIcon.active");