From f27ce68ffb470860cc509a8333e9671fa3ca9b9a Mon Sep 17 00:00:00 2001 From: Nabin Kawan Date: Wed, 5 Jun 2024 16:34:04 +0545 Subject: [PATCH] fix: Resolve Wallet Popup Timeout Issue --- .../tests/3-drep-registration/dRepRegistration.dRep.spec.ts | 6 +++++- .../4-proposal-visibility/proposalVisibility.dRep.spec.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/govtool-frontend/playwright/tests/3-drep-registration/dRepRegistration.dRep.spec.ts b/tests/govtool-frontend/playwright/tests/3-drep-registration/dRepRegistration.dRep.spec.ts index 0b2d1f12d..10f0601cb 100644 --- a/tests/govtool-frontend/playwright/tests/3-drep-registration/dRepRegistration.dRep.spec.ts +++ b/tests/govtool-frontend/playwright/tests/3-drep-registration/dRepRegistration.dRep.spec.ts @@ -75,7 +75,9 @@ test.describe("Temporary DReps", () => { test("3G. Should show confirmation message with link to view transaction, when DRep registration txn is submitted", async ({ page, browser, - }) => { + }, testInfo) => { + test.setTimeout(testInfo.timeout + environments.txTimeOut); + const wallet = await walletManager.popWallet("registerDRep"); const tempDRepAuth = await createTempDRepAuth(page, wallet); @@ -96,6 +98,8 @@ test.describe("Temporary DReps", () => { }); test("3J. Should verify retire as DRep", async ({ page, browser }) => { + test.slow(); // Due to queue in pop wallets + const wallet = await walletManager.popWallet("registeredDRep"); const tempDRepAuth = await createTempDRepAuth(page, wallet); diff --git a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts index 8850fa85e..87917d374 100644 --- a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts +++ b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts @@ -122,6 +122,8 @@ test("4F. Should Disable DRep functionality upon wallet disconnection on governa page, browser, }) => { + test.slow(); // Due to queue in pop wallets + const wallet = await walletManager.popWallet("registeredDRep"); const tempDRepAuth = await createTempDRepAuth(page, wallet);