@@ -30,7 +30,6 @@ export class FileActions {
3030 // drive locators
3131 this . passwordPlaceholderSettings = this . mainFrame . getByPlaceholder ( 'Password' , { exact : true } )
3232
33- << < << << HEAD
3433 // file actions
3534 this . filemenu = page . frameLocator ( '#sbox-iframe' ) . getByRole ( 'button' , { name : ' File' } ) ;
3635 this . filemenuMobile = page . frameLocator ( '#sbox-iframe' ) . locator ( '.cp-toolbar-file' ) ;
@@ -45,8 +44,6 @@ export class FileActions {
4544 this . deletebutton = page . frameLocator ( '#sbox-iframe' ) . getByRole ( 'button' , { name : 'Delete' } ) ;
4645 // this.trash = page.frameLocator('#sbox-iframe').getByRole('listitem').filter({ hasText: 'Move to trash' });
4746 this . trash = page . frameLocator ( '#sbox-iframe' ) . getByText ( 'Move to trash' )
48- === = ===
49- >>> > >>> main
5047
5148 this . loginLinkDrive = this . mainFrame . getByRole ( 'link' , { name : 'Log in' } ) ;
5249 this . registerLinkDrive = this . mainFrame . getByRole ( 'link' , { name : 'Sign up' } ) ;
@@ -361,14 +358,12 @@ export class FileActions {
361358
362359 }
363360
364- < << << << HEAD
365361 async moveToTrash ( ) {
366- await this . trash . click ( )
367- === = ===
362+ await this . trash . click ( )
363+ }
368364 newDriveFile ( file ) {
369365 return this . mainFrame . getByRole ( 'listitem' ) . filter ( { hasText : file } ) . locator ( 'span' ) . first ( )
370366
371- >>> > >>> main
372367 }
373368
374369
@@ -593,8 +588,6 @@ export class FileActions {
593588
594589 }
595590
596- < << << << HEAD
597- = === ===
598591 async clearFormQuestions ( ) {
599592 await this . deleteButton . first ( ) . waitFor ( ) ;
600593 await this . deleteButton . first ( ) . click ( ) ;
@@ -633,7 +626,6 @@ export class FileActions {
633626 return this . secureFrame . locator ( 'span' ) . filter ( { hasText : templateName } ) . nth ( 1 )
634627
635628 }
636- > >>> >>> main
637629
638630 async clickTags ( local ) {
639631 await this . mainFrame . getByRole ( 'menuitem' , { name : ' Tags' } ) . locator ( 'a' ) . click ( ) ;
0 commit comments