added execute function to workspace test

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 8f8dac306e
commit 4da1beae0f
  1. 2
      apps/remix-ide-e2e/src/tests/workspace.test.ts

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

Loading…
Cancel
Save