Skip to content

Commit

Permalink
up to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Sep 12, 2023
1 parent cf168e9 commit 4640a46
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('Watched Accounts', () => {
it('can add an account to the watch list', () => {
cy.visit(localHost)
landingPage.watchAccountButton().click()
cy.wait(200)
cy.wait(500)
settingsPage.accountAddressInput().type(`${addresses.Alice}{enter}`)
// autocomplete on the input seems to affect reliability so we wait a bit
settingsPage.accountNameInput().type('{selectall}{del}Alice')
Expand Down Expand Up @@ -41,7 +41,7 @@ describe('Watched Accounts', () => {
})
cy.visit(localHost)
landingPage.watchAccountButton().click()
cy.wait(200)
cy.wait(500)
// attempt to add the same account again
settingsPage.accountAddressInput().type(`${addresses.Alice}{enter}`)
settingsPage.accountNameInput().type('{selectall}{del}Alice')
Expand All @@ -53,7 +53,7 @@ describe('Watched Accounts', () => {
it('can see error when attempting to add an invalid address', () => {
cy.visit(localHost)
landingPage.watchAccountButton().click()
cy.wait(200)
cy.wait(500)
settingsPage.accountAddressInput().type('123{enter}')
settingsPage.addButton().click()
settingsPage.errorLabel().should('be.visible')
Expand Down

0 comments on commit 4640a46

Please sign in to comment.