fix e2e test

pull/11/head
yann300 5 years ago committed by ioedeveloper
parent ee590e2aff
commit 71f0c19b99
  1. 7
      apps/remix-ide/test-browser/commands/verifyContracts.js

@ -21,9 +21,10 @@ function getCompiledContracts (browser, opts, callback) {
if (opts.version) {
browser
.click('*[data-id="compilation-details"]')
.waitForElementPresent('*[data-id="treeViewLicompiler"]')
.click('*[data-id="treeViewLicompiler"]')
.waitForElementPresent('*[data-id="treeViewTogglecompiler/version"]')
.waitForElementVisible('*[data-id="treeViewDivcompiler"]')
.pause(2000)
.click('*[data-id="treeViewDivcompiler"]')
.waitForElementVisible('*[data-id="treeViewLicompiler/version"]')
.assert.containsText('*[data-id="treeViewLicompiler/version"]', `version: ${opts.version}`)
.perform(done)
} else done()

Loading…
Cancel
Save