From 1e4724fc3f4e832f7d4eb3cea31bb5e5b689b75d Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Wed, 13 Apr 2022 16:22:32 +0300 Subject: [PATCH] Add test for clicking Open Settings link Signed-off-by: Alex Andreev --- integration/__tests__/cluster-pages.tests.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 48767c8de2..29550ee2ef 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -39,6 +39,11 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { await frame.waitForSelector(`.Menu >> text="Remove"`); }); + 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"]`); + }); + it( "should navigate around common cluster pages",