Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Jun 3, 2020
1 parent 2d3921e commit 992a63d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test-browser/commands/verifyContracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 992a63d

Please sign in to comment.