From 860ca9698fbc7115200e7f15a2223ac0f0b4e003 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Mon, 31 Mar 2025 22:47:14 +0900 Subject: [PATCH] Fix failing RBF test on mobile --- frontend/cypress/e2e/mainnet/mainnet.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/cypress/e2e/mainnet/mainnet.spec.ts b/frontend/cypress/e2e/mainnet/mainnet.spec.ts index 08a4741b3..70c3a1cb1 100644 --- a/frontend/cypress/e2e/mainnet/mainnet.spec.ts +++ b/frontend/cypress/e2e/mainnet/mainnet.spec.ts @@ -495,8 +495,8 @@ describe('Mainnet', () => { }); }); - describe('RBF transactions', () => { - it('shows RBF transactions properly (mobile)', () => { + describe.only('RBF transactions', () => { + it('shows RBF transactions properly (mobile - details)', () => { cy.intercept('/api/v1/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f/cached', { fixture: 'mainnet_tx_cached.json' }).as('cached_tx'); @@ -507,7 +507,7 @@ describe('Mainnet', () => { cy.viewport('iphone-xr'); cy.mockMempoolSocket(); - cy.visit('/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f'); + cy.visit('/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f?mode=details'); cy.waitForSkeletonGone(); @@ -525,7 +525,7 @@ describe('Mainnet', () => { } }); - cy.get('.alert-replaced').should('be.visible'); + cy.get('.alert-mempool').should('be.visible'); }); it('shows RBF transactions properly (desktop)', () => {