Re-apply test updates from bogus commit 73019b485fefda0be8e5b6e0fc0e0569721879b5

This commit is contained in:
nymkappa 2022-02-15 16:19:58 +09:00
parent 1c928582a2
commit e9ba38755c
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
3 changed files with 16 additions and 14 deletions

View File

@ -287,6 +287,8 @@ describe('Mainnet', () => {
cy.get('[ngbtooltip="Previous Block"] > .ng-fa-icon > .svg-inline--fa').should('be.visible'); cy.get('[ngbtooltip="Previous Block"] > .ng-fa-icon > .svg-inline--fa').should('be.visible');
}); });
}); });
});
});
it('loads skeleton when changes between networks', () => { it('loads skeleton when changes between networks', () => {
cy.visit('/'); cy.visit('/');

View File

@ -44,10 +44,10 @@ describe('Signet', () => {
cy.get(':nth-child(3) > #bitcoin-block-0').should('not.exist'); cy.get(':nth-child(3) > #bitcoin-block-0').should('not.exist');
}); });
it('loads the blocks screen', () => { it('loads the pools screen', () => {
cy.visit('/signet'); cy.visit('/signet');
cy.waitForSkeletonGone(); cy.waitForSkeletonGone();
cy.get('#btn-blocks').click().then(() => { cy.get('#btn-pools').click().then(() => {
cy.wait(1000); cy.wait(1000);
}); });
}); });

View File

@ -44,10 +44,10 @@ describe('Testnet', () => {
cy.get(':nth-child(3) > #bitcoin-block-0').should('not.exist'); cy.get(':nth-child(3) > #bitcoin-block-0').should('not.exist');
}); });
it('loads the blocks screen', () => { it('loads the pools screen', () => {
cy.visit('/testnet'); cy.visit('/testnet');
cy.waitForSkeletonGone(); cy.waitForSkeletonGone();
cy.get('#btn-blocks').click().then(() => { cy.get('#btn-pools').click().then(() => {
cy.wait(1000); cy.wait(1000);
}); });
}); });