@ -105,25 +105,25 @@ module.exports = {
. click ( '*[data-id="contextMenuItempaste"]' )
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts/Copy_README.txt"]' , 7000 )
} ,
// folder copy paste tests
'Should copy folder and paste in root with right click and it will contain a copied folder #group1 ' : function ( browser : NightwatchBrowser ) {
browser
. rightClick ( 'li[data-id="treeViewLitreeViewItemcontracts"]' )
. waitForElementPresent ( '[data-id="contextMenuItemcopy' )
. click ( '[data-id="contextMenuItemcopy"]' )
. rightClick ( '*[data-id="treeViewLiMenu"]' )
. click ( '*[data-id="contextMenuItempaste"]' )
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItemCopy_contracts"]' , 7000 )
} ,
'Should copy folder and paste in contracts with right click and it will contain a copied folder #group1 ' : function ( browser : NightwatchBrowser ) {
browser
. pause ( 1000 )
. waitForElementVisible ( 'li[data-id="treeViewLitreeViewItemscripts"]' )
. rightClick ( 'li[data-id="treeViewLitreeViewItemscripts"]' )
. waitForElementPresent ( '[data-id="contextMenuItemcopy' )
. click ( '[data-id="contextMenuItemcopy"]' )
. rightClick ( '*[data-id="treeViewLitreeViewItemcontracts"]' )
. click ( '*[data-id="contextMenuItempaste"]' )
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts/Copy_scripts"]' , 7000 )
}
}
// folder copy paste tests
'Should copy folder and paste in root with right click and it will contain a copied folder #group1 ' : function ( browser : NightwatchBrowser ) {
browser
. rightClick ( 'li[data-id="treeViewLitreeViewItemcontracts"]' )
. waitForElementPresent ( '[data-id="contextMenuItemcopy' )
. click ( '[data-id="contextMenuItemcopy"]' )
. rightClick ( '*[data-id="treeViewLiMenu"]' )
. click ( '*[data-id="contextMenuItempaste"]' )
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItemCopy_contracts"]' , 7000 )
} ,
'Should copy folder and paste in contracts with right click and it will contain a copied folder #group1 ' : function ( browser : NightwatchBrowser ) {
browser
. pause ( 1000 )
. waitForElementVisible ( 'li[data-id="treeViewLitreeViewItemscripts"]' )
. rightClick ( 'li[data-id="treeViewLitreeViewItemscripts"]' )
. waitForElementPresent ( '[data-id="contextMenuItemcopy' )
. click ( '[data-id="contextMenuItemcopy"]' )
. rightClick ( '*[data-id="treeViewLitreeViewItemcontracts"]' )
. click ( '*[data-id="contextMenuItempaste"]' )
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts/Copy_scripts"]' , 7000 )
}
}