From 5129a7e2a33f340420288a1062cbdaae51c484cb Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Mon, 25 Mar 2024 12:40:32 +0000 Subject: [PATCH] All test fail monitoring-istio as the latest chart does not have matching crd chart - pin it for the moment to 03.0.2%2Bup45.31.1 --- cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts b/cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts index b985b9798b1..9c3eaf36f8c 100644 --- a/cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts +++ b/cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts @@ -15,7 +15,10 @@ describe('Charts', { tags: ['@charts', '@adminUser'] }, () => { const chartsPageUrl = '/c/local/apps/charts/chart?repo-type=cluster&repo=rancher-charts'; describe('Monitoring', () => { - const chartsMonitoringPage = `${ chartsPageUrl }&chart=rancher-monitoring`; + // Ideally we should not specify this, older versions can disappear / have issues. + // However it seems the latest can also have issues (like no matching CRD chart) + const monitoringVersion = '103.0.2%2Bup45.31.1'; + const chartsMonitoringPage = `${ chartsPageUrl }&chart=rancher-monitoring&version=${ monitoringVersion }`; const chartsPage: ChartsPage = new ChartsPage(chartsMonitoringPage);