From c8d3653ef3745dd8ab7f1b3ca7bfcd3e370a4270 Mon Sep 17 00:00:00 2001 From: softsimon Date: Sat, 17 Jun 2023 00:32:58 +0200 Subject: [PATCH] Updating tests --- frontend/cypress/e2e/mainnet/mainnet.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/cypress/e2e/mainnet/mainnet.spec.ts b/frontend/cypress/e2e/mainnet/mainnet.spec.ts index da9e00b9f..b12b93cf1 100644 --- a/frontend/cypress/e2e/mainnet/mainnet.spec.ts +++ b/frontend/cypress/e2e/mainnet/mainnet.spec.ts @@ -537,7 +537,7 @@ describe('Mainnet', () => { cy.get('.container-xl > :nth-child(3)').invoke('css', 'width').should('equal', alertWidth); }); - cy.get('.btn-danger').then(getRectangle).then((rectA) => { + 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; }); @@ -582,7 +582,7 @@ describe('Mainnet', () => { cy.get(alertLocator).invoke('css', 'width').should('equal', firstWidth); }); - cy.get('.btn-danger').then(getRectangle).then((rectA) => { + 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; });