From a17b82acf6a9d25982bbb3b05f10d513bb13ff2c Mon Sep 17 00:00:00 2001 From: Jim Ehrismann Date: Wed, 14 Oct 2020 23:35:40 -0400 Subject: [PATCH] fix cluster page integration test (make it independent of prometheus metrics install) Signed-off-by: Jim Ehrismann --- integration/__tests__/app.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/__tests__/app.tests.ts b/integration/__tests__/app.tests.ts index 492f02d1e6..eeef7a01f1 100644 --- a/integration/__tests__/app.tests.ts +++ b/integration/__tests__/app.tests.ts @@ -166,8 +166,8 @@ describe("Lens integration tests", () => { pages: [{ name: "Cluster", href: "cluster", - expectedSelector: "div.ClusterNoMetrics p", - expectedText: "Metrics are not available due" + expectedSelector: "div.Cluster div.label", + expectedText: "Master" }] }, {