diff --git a/apps/trading-e2e/src/integration/home.cy.ts b/apps/trading-e2e/src/integration/home.cy.ts index f9eeb4937..7307a4ae4 100644 --- a/apps/trading-e2e/src/integration/home.cy.ts +++ b/apps/trading-e2e/src/integration/home.cy.ts @@ -304,4 +304,11 @@ describe('home', { tags: '@regression' }, () => { }); }); }); + + describe('footer', () => { + it('shows current block height', () => { + cy.visit('/'); + cy.getByTestId('app-footer').contains('Operational').contains('100'); + }); + }); }); diff --git a/apps/trading/components/footer/footer.tsx b/apps/trading/components/footer/footer.tsx index 41dfa6d73..0d055ad97 100644 --- a/apps/trading/components/footer/footer.tsx +++ b/apps/trading/components/footer/footer.tsx @@ -13,7 +13,10 @@ export const Footer = () => { const { blockDiff, datanodeBlockHeight } = useNodeHealth(); return ( -