@@ -33,7 +33,6 @@ describe('Text PROPFIND extension ', function() {
3333
3434 beforeEach ( function ( ) {
3535 cy . login ( user )
36- cy . visit ( '/apps/files' )
3736 } )
3837
3938 describe ( 'with workspaces enabled' , function ( ) {
@@ -45,7 +44,9 @@ describe('Text PROPFIND extension ', function() {
4544 // Android app relies on this to detect rich workspace availability
4645 it ( 'always adds rich workspace property' , function ( ) {
4746 cy . uploadFile ( 'empty.md' , 'text/markdown' , '/Readme.md' )
48- cy . visit ( '/apps/files' )
47+ // FIXME: Ideally we do not need a page context for those tests at all
48+ // For now the dashboard avoids that we have failing requests due to conflicts when updating the file
49+ cy . visit ( '/apps/dashboard' )
4950 cy . propfindFolder ( '/' )
5051 . should ( 'have.property' , richWorkspace , '' )
5152 cy . uploadFile ( 'test.md' , 'text/markdown' , '/Readme.md' )
@@ -59,7 +60,9 @@ describe('Text PROPFIND extension ', function() {
5960 // Android app relies on this when navigating nested folders
6061 it ( 'adds rich workspace property to nested folders' , function ( ) {
6162 cy . createFolder ( '/workspace' )
62- cy . visit ( '/apps/files' )
63+ // FIXME: Ideally we do not need a page context for those tests at all
64+ // For now the dashboard avoids that we have failing requests due to conflicts when updating the file
65+ cy . visit ( '/apps/dashboard' )
6366 cy . propfindFolder ( '/' , 1 )
6467 . then ( results => results . pop ( ) . propStat [ 0 ] . properties )
6568 . should ( 'have.property' , richWorkspace , '' )
@@ -78,7 +81,9 @@ describe('Text PROPFIND extension ', function() {
7881 } )
7982
8083 it ( 'does not return a rich workspace property' , function ( ) {
81- cy . visit ( '/apps/files' )
84+ // FIXME: Ideally we do not need a page context for those tests at all
85+ // For now the dashboard avoids that we have failing requests due to conflicts when updating the file
86+ cy . visit ( '/apps/dashboard' )
8287 cy . propfindFolder ( '/' )
8388 . should ( 'not.have.property' , richWorkspace )
8489 cy . uploadFile ( 'test.md' , 'text/markdown' , '/Readme.md' )
0 commit comments