Skip to content

Commit

Permalink
Enable graph tests in OSSMC
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhoyos committed Oct 23, 2024
1 parent 8231189 commit 5479810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5479810

Please sign in to comment.