Add delay for file switch

pull/610/head
ioedeveloper 4 years ago
parent 007b15f94b
commit f166599db4
  1. 2
      apps/remix-ide-e2e/src/tests/solidityImport.test.ts

@ -68,8 +68,8 @@ module.exports = {
.clickLaunchIcon('solidity')
.waitForElementPresent('[data-id="compiledErrors"] div:nth-child(3)')
.click('[data-id="compiledErrors"] div:nth-child(3)') // select the second warning which point to ERC20 code
.pause(10000)
.getEditorValue((content) => {
console.log('content: ', content)
browser.assert.ok(content.indexOf(`contract ERC20 is Context, IERC20`) != -1,
'current displayed content should be from the ERC20 source code')
})

Loading…
Cancel
Save