mirror of
https://github.com/mempool/mempool.git
synced 2025-09-23 05:00:37 +02:00
Fix failing RBF test on mobile
This commit is contained in:
@@ -495,8 +495,8 @@ describe('Mainnet', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('RBF transactions', () => {
|
describe.only('RBF transactions', () => {
|
||||||
it('shows RBF transactions properly (mobile)', () => {
|
it('shows RBF transactions properly (mobile - details)', () => {
|
||||||
cy.intercept('/api/v1/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f/cached', {
|
cy.intercept('/api/v1/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f/cached', {
|
||||||
fixture: 'mainnet_tx_cached.json'
|
fixture: 'mainnet_tx_cached.json'
|
||||||
}).as('cached_tx');
|
}).as('cached_tx');
|
||||||
@@ -507,7 +507,7 @@ describe('Mainnet', () => {
|
|||||||
|
|
||||||
cy.viewport('iphone-xr');
|
cy.viewport('iphone-xr');
|
||||||
cy.mockMempoolSocket();
|
cy.mockMempoolSocket();
|
||||||
cy.visit('/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f');
|
cy.visit('/tx/21518a98d1aa9df524865d2f88c578499f524eb1d0c4d3e70312ab863508692f?mode=details');
|
||||||
|
|
||||||
cy.waitForSkeletonGone();
|
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)', () => {
|
it('shows RBF transactions properly (desktop)', () => {
|
||||||
|
Reference in New Issue
Block a user