Merge pull request from mempool/simon/fix-mobile-rbf-test

fix mobile rbf test
This commit is contained in:
softsimon 2024-08-03 19:07:49 +02:00 committed by GitHub
commit ab4a258be3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -543,16 +543,7 @@ describe('Mainnet', () => {
}
});
cy.get('.alert').should('be.visible');
cy.get('.alert').invoke('css', 'width').then((alertWidth) => {
cy.get('.container-xl > :nth-child(3)').invoke('css', 'width').should('equal', alertWidth);
});
cy.get('.btn-warning').then(getRectangle).then((rectA) => {
cy.get('.alert').then(getRectangle).then((rectB) => {
expect(areOverlapping(rectA, rectB), 'Confirmations box and RBF alert are overlapping').to.be.false;
});
});
cy.get('.alert-replaced').should('be.visible');
});
it('shows RBF transactions properly (desktop)', () => {