From da3bc3b38eeaad0fb8419a08e31d878efdd7be5a Mon Sep 17 00:00:00 2001 From: Niraj Date: Wed, 18 Dec 2024 12:09:29 +0545 Subject: [PATCH] chore: replace viewFirstDRepVoteEnabledGovAction with viewFirstGovAction --- .../4-proposal-visibility/proposalVisibility.dRep.spec.ts | 2 +- .../proposalFunctionality.dRep.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 68daefeb..c4977378 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 @@ -63,7 +63,7 @@ test.describe("Logged in DRep", () => { ? await govActionsPage.viewFirstProposalByGovernanceAction( GovernanceActionType.InfoAction ) - : await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction(); + : await govActionsPage.viewFirstProposal(); await govActionDetailsPage.contextBtn.click(); await govActionDetailsPage.contextInput.fill(faker.lorem.sentence(200)); diff --git a/tests/govtool-frontend/playwright/tests/5-proposal-functionality/proposalFunctionality.dRep.spec.ts b/tests/govtool-frontend/playwright/tests/5-proposal-functionality/proposalFunctionality.dRep.spec.ts index 1fb3059d..505ddcb8 100644 --- a/tests/govtool-frontend/playwright/tests/5-proposal-functionality/proposalFunctionality.dRep.spec.ts +++ b/tests/govtool-frontend/playwright/tests/5-proposal-functionality/proposalFunctionality.dRep.spec.ts @@ -45,7 +45,7 @@ test.describe("Proposal checks", () => { ? await govActionsPage.viewFirstProposalByGovernanceAction( GovernanceActionType.InfoAction ) - : await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction(); + : await govActionsPage.viewFirstProposal(); }); test("5A. Should show relevant details about governance action as DRep", async () => { @@ -157,7 +157,7 @@ test.describe("Perform voting", () => { ? await govActionsPage.viewFirstProposalByGovernanceAction( GovernanceActionType.InfoAction ) - : await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction(); + : await govActionsPage.viewFirstProposal(); }); test("5E. Should re-vote with new data on a already voted governance action", async ({}, testInfo) => {