From bd1a37b8efab22fbc734d877eae418c1a200c67a Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 25 Aug 2021 18:41:35 +0300 Subject: [PATCH] Correcting keypress arrow left test. --- frontend/cypress/integration/mainnet/mainnet.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }); });