11import { volViewPage } from '../pageobjects/volview.page' ;
2+ import { MINIMAL_DICOM } from './configTestUtils' ;
23import { downloadFile , writeManifestToFile , openVolViewPage } from './utils' ;
3- import { ANOTHER_DICOM } from './configTestUtils' ;
44
55describe ( 'VolView loading of remoteManifest.json' , ( ) => {
66 it ( 'should show error when there is no name and URL is malformed' , async ( ) => {
@@ -9,18 +9,16 @@ describe('VolView loading of remoteManifest.json', () => {
99 } ;
1010 const fileName = 'remoteFilesBadUrl.json' ;
1111 await writeManifestToFile ( manifest , fileName ) ;
12-
13- const urlParams = `?urls=[tmp/${ fileName } ]` ;
14- await volViewPage . open ( urlParams ) ;
12+ await openVolViewPage ( fileName ) ;
1513
1614 await volViewPage . waitForNotification ( ) ;
1715 } ) ;
1816
19- it ( 'should load relative URI with no name property' , async ( ) => {
20- await downloadFile ( ANOTHER_DICOM . url , ANOTHER_DICOM . name ) ;
17+ it . skip ( 'should load relative URI with no name property' , async ( ) => {
18+ await downloadFile ( MINIMAL_DICOM . url , MINIMAL_DICOM . name ) ;
2119
2220 const manifest = {
23- resources : [ { url : `/tmp/${ ANOTHER_DICOM . name } ` } ] ,
21+ resources : [ { url : `/tmp/${ MINIMAL_DICOM . name } ` } ] ,
2422 } ;
2523 const fileName = 'remoteFilesRelativeURI.json' ;
2624 await writeManifestToFile ( manifest , fileName ) ;
0 commit comments