|
|
@ -42,6 +42,7 @@ module.exports = { |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
.addFile('test.sol', { content: 'test' }) |
|
|
|
.addFile('test.sol', { content: 'test' }) |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.click('*[data-id="workspaceCreate"]') // create workspace_name_1
|
|
|
|
.click('*[data-id="workspaceCreate"]') // create workspace_name_1
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
@ -49,6 +50,7 @@ module.exports = { |
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_name_1' }) |
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_name_1' }) |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name"]') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') |
|
|
@ -63,6 +65,7 @@ module.exports = { |
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextRename"]')['value'] = 'workspace_name_renamed' }) |
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextRename"]')['value'] = 'workspace_name_renamed' }) |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name_1"]') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name_1"]') |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name_renamed"]') |
|
|
|
.click('*[data-id="workspacesSelect"] option[value="workspace_name_renamed"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') |
|
|
|