added waitForElementPresent in workspace.test

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

@ -67,6 +67,7 @@ module.exports = {
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextRename"]')['value'] = 'workspace_name_renamed' })
.waitForElementPresent('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok')
.click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok')
.click('*[data-id="workspacesSelect"] option[value="workspace_name_1"]')
.pause(1000)

Loading…
Cancel
Save