@@ -147,9 +147,9 @@ describe('Test all image insertion methods', () => {
147147 } )
148148
149149 it ( 'See test files in the list and display hidden files' , ( ) => {
150- cy . get ( '.fileList tr[data-file="test.md"]' , { timeout : 10000 } )
150+ cy . get ( '.files- fileList tr[data-file="test.md"]' , { timeout : 10000 } )
151151 . should ( 'contain' , 'test.md' )
152- cy . get ( '.fileList tr[data-file="github.png"]' , { timeout : 10000 } )
152+ cy . get ( '.files- fileList tr[data-file="github.png"]' , { timeout : 10000 } )
153153 . should ( 'contain' , 'github.png' )
154154
155155 cy . get ( '#app-settings-header' , { timeout : 10000 } )
@@ -228,7 +228,7 @@ describe('Test all image insertion methods', () => {
228228 it ( 'test if image files are in the attachment folder' , ( ) => {
229229 // check we stored the image names/ids
230230
231- cy . get ( '.fileList tr[data-file="test.md"]' , { timeout : 10000 } )
231+ cy . get ( '.files- fileList tr[data-file="test.md"]' , { timeout : 10000 } )
232232 . should ( 'have.attr' , 'data-id' )
233233 . then ( ( documentId ) => {
234234 const files = attachmentFileNameToId [ documentId ]
@@ -239,7 +239,7 @@ describe('Test all image insertion methods', () => {
239239 cy . wait ( '@chdir' )
240240 cy . screenshot ( )
241241 for ( const name in files ) {
242- cy . get ( `.fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
242+ cy . get ( `.files- fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
243243 . should ( 'exist' )
244244 . should ( 'have.attr' , 'data-id' )
245245 . should ( 'eq' , String ( files [ name ] ) )
@@ -263,7 +263,7 @@ describe('Test all image insertion methods', () => {
263263 cy . openFile ( 'subFolder' )
264264 cy . wait ( '@chdir' )
265265
266- cy . get ( '.fileList tr[data-file="test.md"]' , { timeout : 10000 } )
266+ cy . get ( '.files- fileList tr[data-file="test.md"]' , { timeout : 10000 } )
267267 . should ( 'exist' )
268268 . should ( 'have.attr' , 'data-id' )
269269 . then ( ( documentId ) => {
@@ -273,7 +273,7 @@ describe('Test all image insertion methods', () => {
273273 cy . wait ( '@chdir' )
274274 cy . screenshot ( )
275275 for ( const name in files ) {
276- cy . get ( `.fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
276+ cy . get ( `.files- fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
277277 . should ( 'exist' )
278278 . should ( 'have.attr' , 'data-id' )
279279 . should ( 'eq' , String ( files [ name ] ) )
@@ -289,7 +289,7 @@ describe('Test all image insertion methods', () => {
289289 cy . reloadFileList ( )
290290 cy . wait ( '@reload2' )
291291
292- cy . get ( '.fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
292+ cy . get ( '.files- fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
293293 . should ( 'exist' )
294294 . should ( 'have.attr' , 'data-id' )
295295 . then ( ( documentId ) => {
@@ -300,7 +300,7 @@ describe('Test all image insertion methods', () => {
300300 cy . wait ( '@chdir' )
301301 cy . screenshot ( )
302302 for ( const name in files ) {
303- cy . get ( `.fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
303+ cy . get ( `.files- fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
304304 . should ( 'exist' )
305305 . should ( 'have.attr' , 'data-id' )
306306 // these are new copied attachment files
@@ -311,7 +311,7 @@ describe('Test all image insertion methods', () => {
311311 } )
312312
313313 it ( 'test if attachment folder is deleted after having deleted a markdown file' , ( ) => {
314- cy . get ( '.fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
314+ cy . get ( '.files- fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
315315 . should ( 'exist' )
316316 . should ( 'have.attr' , 'data-id' )
317317 . then ( ( documentId ) => {
@@ -324,7 +324,7 @@ describe('Test all image insertion methods', () => {
324324 cy . wait ( '@reload3' )
325325
326326 // cy.wait(2000)
327- cy . get ( `.fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
327+ cy . get ( `.files- fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
328328 . should ( 'not.exist' )
329329 } )
330330 // change the current user for next tests
@@ -333,9 +333,9 @@ describe('Test all image insertion methods', () => {
333333
334334 it ( '[share] check everything behaves correctly on the share target user side' , ( ) => {
335335 // check the file list
336- cy . get ( '.fileList tr[data-file="test.md"]' , { timeout : 10000 } )
336+ cy . get ( '.files- fileList tr[data-file="test.md"]' , { timeout : 10000 } )
337337 . should ( 'contain' , 'test.md' )
338- cy . get ( '.fileList tr[data-file="github.png"]' ) . should ( 'not.exist' )
338+ cy . get ( '.files- fileList tr[data-file="github.png"]' ) . should ( 'not.exist' )
339339
340340 // show hidden files
341341 cy . get ( '#app-settings-header' , { timeout : 10000 } )
@@ -346,11 +346,11 @@ describe('Test all image insertion methods', () => {
346346 cy . wait ( '@showHidden' )
347347
348348 // check the attachment folder is not there
349- cy . get ( '.fileList tr[data-file="test.md"]' , { timeout : 10000 } )
349+ cy . get ( '.files- fileList tr[data-file="test.md"]' , { timeout : 10000 } )
350350 . should ( 'exist' )
351351 . should ( 'have.attr' , 'data-id' )
352352 . then ( ( documentId ) => {
353- cy . get ( `.fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
353+ cy . get ( `.files- fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
354354 . should ( 'not.exist' )
355355 } )
356356
@@ -363,11 +363,11 @@ describe('Test all image insertion methods', () => {
363363 cy . reloadFileList ( )
364364 cy . wait ( '@reload' )
365365
366- cy . get ( '.fileList tr[data-file="testMoved.md"]' , { timeout : 10000 } )
366+ cy . get ( '.files- fileList tr[data-file="testMoved.md"]' , { timeout : 10000 } )
367367 . should ( 'exist' )
368368 . should ( 'have.attr' , 'data-id' )
369369 . then ( ( documentId ) => {
370- cy . get ( `.fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
370+ cy . get ( `.files- fileList tr[data-file=".attachments.${ documentId } "]` , { timeout : 10000 } )
371371 . should ( 'not.exist' )
372372 } )
373373
@@ -379,7 +379,7 @@ describe('Test all image insertion methods', () => {
379379 cy . reloadFileList ( )
380380 cy . wait ( '@reload2' )
381381
382- cy . get ( '.fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
382+ cy . get ( '.files- fileList tr[data-file="testCopied.md"]' , { timeout : 10000 } )
383383 . should ( 'exist' )
384384 . should ( 'have.attr' , 'data-id' )
385385 . then ( ( documentId ) => {
@@ -390,7 +390,7 @@ describe('Test all image insertion methods', () => {
390390 cy . wait ( '@chdir' )
391391 cy . screenshot ( )
392392 for ( const name in files ) {
393- cy . get ( `.fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
393+ cy . get ( `.files- fileList tr[data-file="${ name } "]` , { timeout : 10000 } )
394394 . should ( 'exist' )
395395 . should ( 'have.attr' , 'data-id' )
396396 // these are new copied attachment files
0 commit comments