@@ -317,12 +317,14 @@ const testSuites: TestSuite[] = [
317317 ] ,
318318 }
319319
320- const specParam = JSON . stringify ( sessionSpec )
320+ const specParam = encodeURIComponent ( JSON . stringify ( sessionSpec ) )
321321 const url = `http://localhost:${ PORT } /?config=test_data/volvox/config.json&session=spec-${ specParam } `
322+ console . log ( { url } )
322323 await page . goto ( url , { waitUntil : 'networkidle0' , timeout : 60000 } )
323324
324325 await findByText ( page , 'ctgA' )
325- await findByTestId ( page , 'stack-canvas' , 60000 )
326+ // The UMD plugin adds LinearReadCloudDisplay with drawCloud:true for _sv tracks
327+ await findByTestId ( page , 'cloud-canvas' , 60000 )
326328 await waitForLoadingToComplete ( page )
327329 await delay ( 1000 )
328330 await snapshot ( page , 'session-spec-display-snapshot-type' )
@@ -678,6 +680,17 @@ const testSuites: TestSuite[] = [
678680 await snapshot ( page , 'alignments-bam' )
679681 } ,
680682 } ,
683+ {
684+ name : 'volvox_sv track screenshot' ,
685+ fn : async page => {
686+ await navigateToApp ( page )
687+ await openTrack ( page , 'volvox_sv' )
688+ // The UMD plugin adds LinearReadCloudDisplay with drawCloud:true for _sv tracks
689+ await findByTestId ( page , 'cloud-canvas' , 60000 )
690+ await waitForLoadingToComplete ( page )
691+ await snapshot ( page , 'alignments-volvox-sv' )
692+ } ,
693+ } ,
681694 ] ,
682695 } ,
683696 {
0 commit comments