Update tests - Replace button click blocks -> pools

This commit is contained in:
nymkappa
2022-01-24 18:26:36 +09:00
parent 647f12ffaa
commit 73019b485f
3 changed files with 100 additions and 4 deletions

View File

@@ -44,10 +44,10 @@ describe('Testnet', () => {
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.waitForSkeletonGone();
cy.get('#btn-blocks').click().then(() => {
cy.get('#btn-pools').click().then(() => {
cy.wait(1000);
});
});