|
|
|
@ -41,8 +41,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-remixDefault"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-remixDefault"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_remix_default' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_remix_default') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(1000) |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
@ -113,8 +113,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-blank"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-blank"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_blank' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_blank') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(100) |
|
|
|
|
.waitForElementPresent('*[data-id="treeViewUltreeViewMenu"]') |
|
|
|
@ -134,8 +134,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc20"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc20"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_erc20' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_erc20') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(100) |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
@ -193,8 +193,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc721"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc721"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_erc721' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_erc721') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(100) |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
@ -252,8 +252,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc1155"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc1155"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_erc1155' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_erc1155') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.pause(100) |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
@ -482,7 +482,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc1155"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc1155"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'sometestworkspace' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'sometestworkspace') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]') |
|
|
|
@ -507,8 +508,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-ozerc1155"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-ozerc1155"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_db_test' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_db_test') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]') |
|
|
|
@ -535,8 +536,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="create-uniswapV4HookBookMultiSigSwapHook"]') |
|
|
|
|
.scrollAndClick('*[data-id="create-uniswapV4HookBookMultiSigSwapHook"]') |
|
|
|
|
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'multisig cookbook' }) |
|
|
|
|
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]') |
|
|
|
|
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'multisig cookbook') |
|
|
|
|
.modalFooterOKClick('TemplatesSelection') |
|
|
|
|
.waitForElementVisible('[data-id="PermissionHandler-modal-footer-ok-react"]', 300000) |
|
|
|
|
.click('[data-id="PermissionHandler-modal-footer-ok-react"]') |
|
|
|
|