@@ -7,7 +7,8 @@ class MenuMainPopup {
77  private  NFTS_BUTTON  =  '//button[@data-testid="main-footer-nfts"]' ; 
88  private  TRANSACTIONS_BUTTON  =  '//button[@data-testid="main-footer-activity"]' ; 
99  private  STAKING_BUTTON  =  '//button[@data-testid="main-footer-staking"]' ; 
10-   private  DAPP_EXPLORER_BUTTON  =  '//button[@data-testid="main-footer-dapp-explorer"]' ; 
10+   private  DAPPS_BUTTON  =  '//button[@data-testid="main-footer-dapp-explorer"]' ; 
11+   private  VOTING_BUTTON  =  '//button[@data-testid="main-footer-voting"]' ; 
1112
1213  get  tokensButton ( ) : ChainablePromiseElement < WebdriverIO . Element >  { 
1314    return  $ ( `${ this . CONTAINER } ${ this . TOKENS_BUTTON }  ) ; 
@@ -25,8 +26,12 @@ class MenuMainPopup {
2526    return  $ ( `${ this . CONTAINER } ${ this . STAKING_BUTTON }  ) ; 
2627  } 
2728
28-   get  dappExplorerButton ( ) : ChainablePromiseElement < WebdriverIO . Element >  { 
29-     return  $ ( `${ this . CONTAINER } ${ this . DAPP_EXPLORER_BUTTON }  ) ; 
29+   get  dappsButton ( ) : ChainablePromiseElement < WebdriverIO . Element >  { 
30+     return  $ ( `${ this . CONTAINER } ${ this . DAPPS_BUTTON }  ) ; 
31+   } 
32+ 
33+   get  votingButton ( ) : ChainablePromiseElement < WebdriverIO . Element >  { 
34+     return  $ ( `${ this . CONTAINER } ${ this . VOTING_BUTTON }  ) ; 
3035  } 
3136
3237  async  clickOnTokensButton ( )  { 
@@ -49,9 +54,14 @@ class MenuMainPopup {
4954    await  this . stakingButton . click ( ) ; 
5055  } 
5156
52-   async  clickOnDAppExplorerButton ( )  { 
53-     await  this . dappExplorerButton . waitForClickable ( ) ; 
54-     await  this . dappExplorerButton . click ( ) ; 
57+   async  clickOnDAppsButton ( )  { 
58+     await  this . dappsButton . waitForClickable ( ) ; 
59+     await  this . dappsButton . click ( ) ; 
60+   } 
61+ 
62+   async  clickOnVotingButton ( )  { 
63+     await  this . votingButton . waitForClickable ( ) ; 
64+     await  this . votingButton . click ( ) ; 
5565  } 
5666} 
5767
0 commit comments