Skip to content

Commit

Permalink
Fix e2e issue
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Aug 14, 2023
1 parent c3170b5 commit e8155f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static_report/cypress/e2e/comparison-report.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});
1 change: 1 addition & 0 deletions static_report/src/components/Common/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function Main({ children, isSingleReport, ...props }: Props) {
<Box position={'sticky'} top={0} bg={bgColor[colorMode]} zIndex="banner">
<ReportContextBar
data={isSingleReport ? (rawData.base as any) : (rawData as any)}
singleOnly={isSingleReport}
></ReportContextBar>
</Box>

Expand Down

0 comments on commit e8155f9

Please sign in to comment.