|
|
|
@ -410,14 +410,12 @@ module.exports = { |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.click('*[data-id="workspacesMenuDropdown"]') |
|
|
|
|
.click('*[data-id="workspacecreate"]') |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc20"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc20"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.click('select[id="wstemplate"]') |
|
|
|
|
.click('select[id="wstemplate"] option[value=ozerc20]') |
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'new_workspace' }) |
|
|
|
|
.waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') |
|
|
|
|
.execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'new_workspace') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewDivDraggableItemtests/MyToken_test.sol"]') |
|
|
|
|
}, |
|
|
|
|
'Update settings for git #group5': function (browser: NightwatchBrowser) { |
|
|
|
@ -465,12 +463,10 @@ module.exports = { |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.click('*[data-id="workspacesMenuDropdown"]') |
|
|
|
|
.click('*[data-id="workspacecreate"]') |
|
|
|
|
.waitForElementPresent('*[data-id="create-uniswapV4Template"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-uniswapV4Template"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') |
|
|
|
|
.click('select[id="wstemplate"]') |
|
|
|
|
.click('select[id="wstemplate"] option[value=uniswapV4Template]') |
|
|
|
|
.waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') |
|
|
|
|
.execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(100)
|
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemsrc"]') |
|
|
|
|
.openFile('src') |
|
|
|
|