added waitForElementVisible in workspace test

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 3f7d49ba32
commit 5687b64591
  1. 3
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -48,7 +48,8 @@ module.exports = {
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_name_1' })
.click('[data-id="workspacesModalDialogModalDialogModalFooter-react"] > span')
.waitForElementVisible('span[data-id="workspacesModalDialog-modal-footer-ok-react"]')
.click('span[data-id="workspacesModalDialog-modal-footer-ok-react"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]')
.pause(5000)
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]')

Loading…
Cancel
Save