|
|
|
@ -54,9 +54,12 @@ module.exports = { |
|
|
|
|
const id = (el as any).value.getId() |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('li[data-id="treeViewLitreeViewItemscripts"]') |
|
|
|
|
.dragAndDrop('li[data-id="treeViewLitreeViewItemscripts"]', id) |
|
|
|
|
.dragAndDrop('div[data-id="treeViewDivDraggableItemscripts"]', id) |
|
|
|
|
.pause() |
|
|
|
|
.waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') |
|
|
|
|
.pause() |
|
|
|
|
.execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) |
|
|
|
|
.pause() |
|
|
|
|
.waitForElementVisible('li[data-id="treeViewLitreeViewItemcontracts/scripts"]') |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|