File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
tests/govtool-frontend/playwright/lib/pages Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 11import removeAllSpaces from "@helpers/removeAllSpaces" ;
22import { Locator , Page , expect } from "@playwright/test" ;
3- import {
4- GovernanceActionType ,
5- IProposal ,
6- } from "@types" ;
3+ import { GovernanceActionType , IProposal } from "@types" ;
74import environments from "lib/constants/environments" ;
85import GovernanceActionDetailsPage from "./governanceActionDetailsPage" ;
96import { getEnumKeyByValue } from "@helpers/enum" ;
@@ -50,20 +47,6 @@ export default class GovernanceActionsPage {
5047 return new GovernanceActionDetailsPage ( this . page ) ;
5148 }
5249
53- async viewFirstDRepVoteEnabledGovernanceAction ( ) : Promise < GovernanceActionDetailsPage > {
54- for ( const governanceAction of Object . keys (
55- GovernanceActionType
56- ) ) {
57- const result = await this . viewFirstProposalByGovernanceAction (
58- governanceAction as GovernanceActionType
59- ) ;
60- if ( result ) {
61- return result ;
62- }
63- }
64- return null ;
65- }
66-
6750 async viewFirstProposalByGovernanceAction (
6851 governanceAction : GovernanceActionType
6952 ) : Promise < GovernanceActionDetailsPage > {
You can’t perform that action at this time.
0 commit comments