added waitForElementPresent in workspace.test

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 9acb5b1976
commit 32ae90982a
  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