From 667e5483bdb6281571bda04e54bb75ef5eec58ce Mon Sep 17 00:00:00 2001 From: mike10ca Date: Tue, 12 Mar 2024 15:26:23 +0100 Subject: [PATCH] tests: add waiters --- cypress/e2e/happypath/recovery_hp_2.cy.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/cypress/e2e/happypath/recovery_hp_2.cy.js b/cypress/e2e/happypath/recovery_hp_2.cy.js index c9283bc417..d7eec871c7 100644 --- a/cypress/e2e/happypath/recovery_hp_2.cy.js +++ b/cypress/e2e/happypath/recovery_hp_2.cy.js @@ -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() @@ -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)