From 5479810e52a3b8b35c06a829e10bb2fcea1d7d3b Mon Sep 17 00:00:00 2001 From: Fernando Hoyos Date: Tue, 22 Oct 2024 09:29:44 +0200 Subject: [PATCH] Enable graph tests in OSSMC --- plugin/cypress/support/commands.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/cypress/support/commands.ts b/plugin/cypress/support/commands.ts index 2cc6d5a6..c734b876 100644 --- a/plugin/cypress/support/commands.ts +++ b/plugin/cypress/support/commands.ts @@ -165,10 +165,10 @@ Cypress.Commands.overwrite('visit', (originalFn, visitUrl) => { visitUrl.url = `/k8s/ns/${namespace}${istioUrl}/ossmconsole${webParams}`; } } else { - if (targetPage === 'graph') { + if (targetPage === 'graphpf') { visitUrl.url = visitUrl.url - .replace('/console/graph/namespaces', '/ossmconsole/graph') - .replace('/console/graph/node/namespaces', '/ossmconsole/graph/ns'); + .replace('/console/graphpf/namespaces', '/ossmconsole/graph') + .replace('/console/graphpf/node/namespaces', '/ossmconsole/graph/ns'); } else if (targetPage === 'istio') { visitUrl.url = '/k8s/all-namespaces/istio'; } else {