diff --git a/tests/govtool-frontend/playwright/lib/pages/dRepRegistrationPage.ts b/tests/govtool-frontend/playwright/lib/pages/dRepRegistrationPage.ts index 766c95534..124f2e560 100644 --- a/tests/govtool-frontend/playwright/lib/pages/dRepRegistrationPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/dRepRegistrationPage.ts @@ -27,7 +27,7 @@ export default class DRepRegistrationPage { await this.continueBtn.click(); // BUG: testId -> continue-register-button } - async register(dRepInfo: IDRepInfo) { + async register(dRepInfo: IDRepInfo = { name: "Test_dRep" }) { await this.nameInput.fill(dRepInfo.name); if (dRepInfo.email != null) { 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 d31e2a91a..e54e1c838 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 @@ -147,7 +147,7 @@ test.describe("Temporary DReps", () => { const res = await kuberService.transferADA( [wallet.addressBech32(environments.networkId)], - 600, + 600 ); await pollTransaction(res.txId, res.lockInfo); @@ -166,7 +166,7 @@ test.describe("Temporary DReps", () => { .click(); await expect( - dRepPage.locator("span").filter({ hasText: "In Progress" }), + dRepPage.locator("span").filter({ hasText: "In Progress" }) ).toBeVisible(); // BUG add proper testId for dRep registration card }); });