From f1d60ab471d789706015f197faf71b272199a66e Mon Sep 17 00:00:00 2001 From: Christophe Date: Tue, 3 Sep 2024 17:17:40 +0000 Subject: [PATCH] Add wait before confirming transaction --- .../arb-token-bridge-ui/tests/e2e/specs/depositCctp.cy.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/arb-token-bridge-ui/tests/e2e/specs/depositCctp.cy.ts b/packages/arb-token-bridge-ui/tests/e2e/specs/depositCctp.cy.ts index 0304dca277..777ceafc74 100644 --- a/packages/arb-token-bridge-ui/tests/e2e/specs/depositCctp.cy.ts +++ b/packages/arb-token-bridge-ui/tests/e2e/specs/depositCctp.cy.ts @@ -120,12 +120,10 @@ describe('Deposit USDC through CCTP', () => { cy.wait(40_000) cy.confirmMetamaskTransaction(undefined) const txData = { amount: USDCAmountToSend, symbol: 'USDC' } + cy.wait(15_000) cy.findTransactionInTransactionHistory({ duration: 'a minute', - ...txData, - options: { - timeout: 60_000 - } + ...txData }) cy.openTransactionDetails(txData) cy.findTransactionDetailsCustomDestinationAddress(