From 3ec08eaf241929373fac790d111bdacfda2f2693 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 18 Jun 2021 15:49:47 +0300 Subject: [PATCH] Waiting for hotbar catalog entity Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 24ad38dcfc..c1f3e6c632 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -45,7 +45,7 @@ describe("Lens cluster pages", () => { utils.describeIf(ready)("test common pages", () => { let clusterAdded = false; const addCluster = async () => { - await app.client.waitUntilTextExists("div", "Catalog"); + await app.client.waitForExist("#hotbarIcon-catalog-entity"); await waitForMinikubeDashboard(app); await app.client.click('a[href="/nodes"]'); await app.client.waitUntilTextExists("div.TableCell", "Ready");