File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
apps/remix-ide-e2e/src/tests
libs/remix-ui/workspace/src/lib/components Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,10 @@ module.exports = {
5353 console . log ( ( el as any ) . value . getId ( ) )
5454 const id = ( el as any ) . value . getId ( )
5555 browser
56- . waitForElementVisible ( 'li [data-id="treeViewLitreeViewItemscripts "]' )
56+ . waitForElementVisible ( 'div [data-id="treeViewDivDraggableItemscripts "]' )
5757 . dragAndDrop ( 'div[data-id="treeViewDivDraggableItemscripts"]' , id )
58- . pause ( )
5958 . waitForElementPresent ( '[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok' )
60- . pause ( )
6159 . execute ( function ( ) { ( document . querySelector ( '[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok' ) as HTMLElement ) . click ( ) } )
62- . pause ( )
6360 . waitForElementVisible ( 'li[data-id="treeViewLitreeViewItemcontracts/scripts"]' )
6461 } )
6562 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export function FileHoverIcons(props: FileHoverIconsProps) {
1515
1616 return (
1717 < >
18- { < div className = "d-flex flex-row align-items-center" style = { { marginLeft : '6rem' } } >
18+ { < div className = "d-flex flex-row align-items-center" >
1919 {
2020 props . file . isDirectory ? (
2121 < >
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ export const FlatTreeDrop = (props: FlatTreeDropProps) => {
2323 const onDragOver = async ( e : SyntheticEvent ) => {
2424 e . preventDefault ( )
2525 const target = await getEventTarget ( e )
26-
2726 if ( ! target || ! target . path ) {
2827 clearTimeout ( timer )
2928 setFolderToOpen ( null )
@@ -61,7 +60,6 @@ export const FlatTreeDrop = (props: FlatTreeDropProps) => {
6160 } else {
6261 dragDestination = getFlatTreeItem ( target . path )
6362 }
64- console . log ( dragDestination )
6563 if ( dragDestination . isDirectory ) {
6664 if ( dragSource . isDirectory ) {
6765 moveFolder ( dragDestination . path , dragSource . path )
You can’t perform that action at this time.
0 commit comments