Skip to content

Commit da3bc3b

Browse files
committed
chore: replace viewFirstDRepVoteEnabledGovAction with viewFirstGovAction
1 parent da05827 commit da3bc3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test.describe("Logged in DRep", () => {
6363
? await govActionsPage.viewFirstProposalByGovernanceAction(
6464
GovernanceActionType.InfoAction
6565
)
66-
: await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction();
66+
: await govActionsPage.viewFirstProposal();
6767

6868
await govActionDetailsPage.contextBtn.click();
6969
await govActionDetailsPage.contextInput.fill(faker.lorem.sentence(200));

tests/govtool-frontend/playwright/tests/5-proposal-functionality/proposalFunctionality.dRep.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test.describe("Proposal checks", () => {
4545
? await govActionsPage.viewFirstProposalByGovernanceAction(
4646
GovernanceActionType.InfoAction
4747
)
48-
: await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction();
48+
: await govActionsPage.viewFirstProposal();
4949
});
5050

5151
test("5A. Should show relevant details about governance action as DRep", async () => {
@@ -157,7 +157,7 @@ test.describe("Perform voting", () => {
157157
? await govActionsPage.viewFirstProposalByGovernanceAction(
158158
GovernanceActionType.InfoAction
159159
)
160-
: await govActionsPage.viewFirstDRepVoteEnabledGovernanceAction();
160+
: await govActionsPage.viewFirstProposal();
161161
});
162162

163163
test("5E. Should re-vote with new data on a already voted governance action", async ({}, testInfo) => {

0 commit comments

Comments
 (0)