Merge pull request #1282 from knorrium/fix_footer_test

This commit is contained in:
wiz
2022-02-23 06:30:34 +00:00
committed by GitHub

View File

@@ -66,7 +66,7 @@ describe('Mainnet', () => {
cy.get('[id^="bitcoin-block-"]').should('have.length', 8);
cy.get('.footer').should('be.visible');
cy.get('.row > :nth-child(1)').invoke('text').then((text) => {
expect(text).to.match(/Tx vBytes per second:.* vB\/s/);
expect(text).to.match(/Incoming transactions.* vB\/s/);
});
cy.get('.row > :nth-child(2)').invoke('text').then((text) => {
expect(text).to.match(/Unconfirmed:(.*)/);