diff --git a/frontend/cypress/integration/mainnet/mainnet.spec.ts b/frontend/cypress/integration/mainnet/mainnet.spec.ts index 59f8518d5..1d4b67c72 100644 --- a/frontend/cypress/integration/mainnet/mainnet.spec.ts +++ b/frontend/cypress/integration/mainnet/mainnet.spec.ts @@ -82,7 +82,7 @@ describe('Mainnet', () => { cy.get('[ngbtooltip="Next Block"] > .ng-fa-icon > .svg-inline--fa').should('not.exist'); cy.get('[ngbtooltip="Previous Block"] > .ng-fa-icon > .svg-inline--fa').should('be.visible'); cy.document().left(); - cy.get('h1').invoke('.title-block h1').should('equal', 'Next block'); + cy.get('.title-block h1').invoke('text').should('equal', 'Next block'); }); });