@@ -273,70 +273,3 @@ test.describe("Check voting power", () => {
273273 expect ( balance , "Retirement deposit not returned" ) . toBeGreaterThan ( 500 ) ;
274274 } ) ;
275275} ) ;
276-
277- test . describe ( "Bootstrap phase" , ( ) => {
278- test ( "5L. Should restrict dRep votes to Info Governance actions During Bootstrapping Phase" , async ( {
279- browser,
280- } ) => {
281- await allure . description (
282- "Skipping this test as bootstrapping is no longer applicable."
283- ) ;
284- test . skip ( ) ;
285- const voteBlacklistOptions = Object . keys (
286- BootstrapGovernanceActionType
287- ) . filter ( ( option ) => option !== GovernanceActionType . InfoAction ) ;
288-
289- await Promise . all (
290- voteBlacklistOptions . map ( async ( voteBlacklistOption ) => {
291- const dRepPage = await createNewPageWithWallet ( browser , {
292- storageState : ".auth/dRep01.json" ,
293- wallet : dRep01Wallet ,
294- } ) ;
295-
296- await dRepPage . route ( "**/epoch/params" , async ( route ) => {
297- // Fetch the original response from the server
298- const response = await route . fetch ( ) ;
299- const json = await response . json ( ) ;
300-
301- // update protocol major version
302- json [ "protocol_major" ] = 9 ;
303- await route . fulfill ( {
304- status : 200 ,
305- contentType : "application/json" ,
306- body : JSON . stringify ( json ) ,
307- } ) ;
308- } ) ;
309-
310- const governanceActionsPage = new GovernanceActionsPage ( dRepPage ) ;
311- await governanceActionsPage . goto ( ) ;
312-
313- // assert to wait until proposal cards are visible
314- await expect ( dRepPage . getByTestId ( "voting-power-chips" ) ) . toBeVisible ( {
315- timeout : 60_000 ,
316- } ) ;
317- // wait until the loading button is hidden
318- await expect ( dRepPage . getByTestId ( "to-vote-tab" ) ) . toBeVisible ( {
319- timeout : 60_000 ,
320- } ) ;
321-
322- const governanceActionDetailsPage =
323- await governanceActionsPage . viewFirstProposalByGovernanceAction (
324- voteBlacklistOption as GovernanceActionType
325- ) ;
326-
327- if ( governanceActionDetailsPage ) {
328- await expect (
329- dRepPage . getByTestId ( "governance-action-details-card-header" )
330- ) . toBeVisible ( { timeout : 60_000 } ) ;
331- await expect (
332- governanceActionDetailsPage . yesVoteRadio
333- ) . not . toBeVisible ( ) ;
334- await expect (
335- governanceActionDetailsPage . contextBtn
336- ) . not . toBeVisible ( ) ;
337- await expect ( governanceActionDetailsPage . voteBtn ) . not . toBeVisible ( ) ;
338- }
339- } )
340- ) ;
341- } ) ;
342- } ) ;
0 commit comments