added pause before waitForElementVisible in`Should rename a workspace`

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 98986610d4
commit b63df625fe
  1. 2
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -69,10 +69,12 @@ module.exports = {
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextRename"]')['value'] = 'workspace_name_renamed' })
.waitForElementPresent('span[data-id="workspacesModalDialog-modal-footer-ok-react"]')
.click('span[data-id="workspacesModalDialog-modal-footer-ok-react"]')
.pause(2000)
.click('*[data-id="workspacesSelect"] option[value="workspace_name_1"]')
.pause(1000)
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]')
.click('*[data-id="workspacesSelect"] option[value="workspace_name_renamed"]')
.pause(20000)
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]')
},

Loading…
Cancel
Save