Skip to content

Commit

Permalink
tests: add waiters
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca committed Mar 12, 2024
1 parent 443397a commit 667e548
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions cypress/e2e/happypath/recovery_hp_2.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ describe('Recovery happy path tests 2', () => {

// Check that recoverer can start and complete the process if not cancelled by the owner
it('Recovery setup happy path 2', { defaultCommandTimeout: 300000 }, () => {
cy.on('uncaught:exception', (e, runnable) => {
console.log('error', e)
console.log('runnable', runnable)
console.log('error', e.message)
return false
})

owner.waitForConnectionStatus()
recovery.postponeRecovery()

Expand All @@ -33,9 +26,13 @@ describe('Recovery happy path tests 2', () => {
recovery.clickOnStartRecoveryBtn()
recovery.enterOwnerAddress(owner)
recovery.clickOnNextBtn()
cy.wait(1000)
recovery.clickOnRecoveryExecuteBtn()
cy.wait(1000)
recovery.clickOnGoToQueueBtn()
cy.wait(1000)
recovery.clickOnRecoveryExecuteBtn()
cy.wait(1000)
recovery.verifyTxNotInQueue()
cy.visit(constants.setupUrl + constants.SEPOLIA_TEST_SAFE_24_RECOVERY_2)
main.verifyElementsCount(addressbook.tableContainer, 1)
Expand Down

0 comments on commit 667e548

Please sign in to comment.