From e8155f97e8ff3e7cf827f969cd4bde25548fd9e8 Mon Sep 17 00:00:00 2001 From: popcorny Date: Mon, 14 Aug 2023 16:33:12 +0800 Subject: [PATCH] Fix e2e issue Signed-off-by: popcorny --- static_report/cypress/e2e/comparison-report.cy.ts | 4 ++-- static_report/src/components/Common/Main.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/static_report/cypress/e2e/comparison-report.cy.ts b/static_report/cypress/e2e/comparison-report.cy.ts index c4112bc04..ccc587501 100644 --- a/static_report/cypress/e2e/comparison-report.cy.ts +++ b/static_report/cypress/e2e/comparison-report.cy.ts @@ -3,9 +3,9 @@ describe('Comparison Report [table-list-page, table-detail-page]', () => { cy.visit('http://localhost:3001'); }); it('should navigate to assertions list page', () => { - cy.visit('http://localhost:3000/#/assertions'); + cy.visit('http://localhost:3001/#/assertions'); }); it('should navigate to BM page ', () => { - cy.visit('http://localhost:3000/#/metrics'); + cy.visit('http://localhost:3001/#/metrics'); }); }); diff --git a/static_report/src/components/Common/Main.tsx b/static_report/src/components/Common/Main.tsx index 8f2de622a..22afd0404 100644 --- a/static_report/src/components/Common/Main.tsx +++ b/static_report/src/components/Common/Main.tsx @@ -39,6 +39,7 @@ export function Main({ children, isSingleReport, ...props }: Props) {