From a8e2e4aa3c3e47818cd163d185d75cf82687476b Mon Sep 17 00:00:00 2001 From: Anastasios Date: Fri, 17 Jan 2025 17:23:07 +0400 Subject: [PATCH] fix: change swap test timeout time --- tests/specs/swap/swap.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/specs/swap/swap.spec.ts b/tests/specs/swap/swap.spec.ts index 1798f4bd77..09d569c4cf 100644 --- a/tests/specs/swap/swap.spec.ts +++ b/tests/specs/swap/swap.spec.ts @@ -5,6 +5,8 @@ import { test } from '../../fixtures/fixtures'; test.describe('Swaps', () => { test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, swapPage }) => { + test.setTimeout(60_000); + await globalPage.setupAndUseApiCalls(extensionId); await mockStacksBroadcastTransaction(globalPage.page); await onboardingPage.signInWithTestAccount(extensionId); @@ -19,7 +21,7 @@ test.describe('Swaps', () => { test('that it shows swap review details correctly', async ({ swapPage }) => { await swapPage.inputSwapAmountBase(); await swapPage.selectAssetToReceive(); - await swapPage.swapReviewBtn.click({ delay: 2000 }); + await swapPage.swapReviewBtn.click(); const swapProtocol = await swapPage.swapDetailsProtocol.innerText(); test.expect(swapProtocol).toContain('Bitflow');