From 4a15e65feafd43d7e8373767bedbe99eb78bb275 Mon Sep 17 00:00:00 2001 From: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com> Date: Sat, 17 Oct 2020 02:36:48 -0400 Subject: [PATCH] fix cluster page integration test (#1088) (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" }] }, {