added pause to terminal test async/await script

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

@ -36,6 +36,7 @@ module.exports = {
.addFile('asyncAwait.js', { content: asyncAwait })
.openFile('asyncAwait.js')
.executeScript('remix.execute("asyncAwait.js")')
.pause(2000)
.waitForElementContainsText('*[data-id="terminalJournal"]', 'Waiting Promise', 60000)
.waitForElementContainsText('*[data-id="terminalJournal"]', 'result - ', 60000)
.waitForElementContainsText('*[data-id="terminalJournal"]', 'Promise Resolved', 60000)

Loading…
Cancel
Save