From c8843e9880faed2c9956d4bce305412dbc4e5901 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Wed, 13 Apr 2022 17:19:59 +0300 Subject: [PATCH] Fixing tests Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 29550ee2ef..72efd5b99d 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -40,8 +40,8 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { }); it("opens cluster settings by clicking link in no-metrics area", async () => { - await frame.click(`[data-testid="no-metrics-message"]`); - await frame.waitForSelector(`[data-testid="general-header"]`); + await frame.locator("text=Open cluster settings >> nth=0").click(); + await window.waitForSelector(`[data-testid="general-header"]`); }); it(