wait for assertion

pull/2868/head
filip mertens 2 years ago
parent 26d17eaf51
commit 65eae538a1
  1. 3
      apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts

@ -16,7 +16,8 @@ class SetSolidityCompilerVersion extends EventEmitter {
.saveScreenshot(`./reports/screenshots/${version}_1.png`) .saveScreenshot(`./reports/screenshots/${version}_1.png`)
.waitForElementPresent({ .waitForElementPresent({
selector : `//span[@data-version='${version}']`, selector : `//span[@data-version='${version}']`,
locateStrategy: 'xpath' locateStrategy: 'xpath',
timeout: 120000
}) })
.saveScreenshot(`./reports/screenshots/${version}.png`) .saveScreenshot(`./reports/screenshots/${version}.png`)
.perform(() => { .perform(() => {

Loading…
Cancel
Save