@@ -22,7 +22,7 @@ export const clickOnBreadcumbs = (label: string) => {
2222function assertVersionsContent ( filePath : string ) {
2323 const path = filePath . split ( '/' ) . slice ( 0 , - 1 ) . join ( '/' )
2424
25- clickOnBreadcumbs ( 'All files')
25+ cy . visit ( '/apps/ files')
2626
2727 if ( path !== '' ) {
2828 navigateToFolder ( path )
@@ -103,7 +103,7 @@ describe('Versions cross storage move', () => {
103103 randomCopiedSubFolderName = randomString + ' (copy)'
104104
105105 randomSubSubFolderName = Math . random ( ) . toString ( 36 ) . replace ( / [ ^ a - z ] + / g, '' ) . substring ( 0 , 10 )
106- clickOnBreadcumbs ( 'All files')
106+ cy . visit ( '/apps/ files')
107107 cy . mkdir ( user , `/${ randomGroupFolderName } /${ randomSubFolderName } ` )
108108 cy . mkdir ( user , `/${ randomGroupFolderName } /${ randomSubFolderName } /${ randomSubSubFolderName } ` )
109109 cy . login ( user )
@@ -116,7 +116,7 @@ describe('Versions cross storage move', () => {
116116
117117 assertVersionsContent ( `${ randomSubFolderName } /${ randomSubSubFolderName } /${ randomFileName } ` )
118118
119- clickOnBreadcumbs ( 'All files')
119+ cy . visit ( '/apps/ files')
120120 moveFile ( randomSubFolderName , randomGroupFolderName )
121121
122122 assertVersionsContent ( `${ randomGroupFolderName } /${ randomSubFolderName } /${ randomSubSubFolderName } /${ randomFileName } ` )
@@ -129,7 +129,7 @@ describe('Versions cross storage move', () => {
129129
130130 assertVersionsContent ( `${ randomSubFolderName } /${ randomSubSubFolderName } /${ randomFileName } ` )
131131
132- clickOnBreadcumbs ( 'All files')
132+ cy . visit ( '/apps/ files')
133133 copyFile ( randomSubFolderName , randomGroupFolderName )
134134
135135 assertVersionsContent ( `${ randomGroupFolderName } /${ randomCopiedSubFolderName } /${ randomSubSubFolderName } /${ randomFileName } ` )
0 commit comments