Skip to content

Commit

Permalink
fix: change swap test timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo authored and kyranjamie committed Jan 17, 2025
1 parent 060fd66 commit 43bd1b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/specs/swap/swap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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');
Expand Down

0 comments on commit 43bd1b2

Please sign in to comment.