added pause just for adding File

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 2fcf54dddb
commit 50897937dd
  1. 1
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -41,6 +41,7 @@ module.exports = {
.click('[data-id="workspacesModalDialogModalDialogModalFooter-react"]') .click('[data-id="workspacesModalDialogModalDialogModalFooter-react"]')
.click('[data-id="workspacesModalDialogModalDialogModalFooter-react"] > span') .click('[data-id="workspacesModalDialogModalDialogModalFooter-react"] > span')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]')
.pause(1000)
.addFile('test.sol', { content: 'test' }) .addFile('test.sol', { content: 'test' })
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]')
.click('*[data-id="workspaceCreate"]') // create workspace_name_1 .click('*[data-id="workspaceCreate"]') // create workspace_name_1

Loading…
Cancel
Save