Verify element is checked before proceeding with tests

nightwatch-ts
ioedeveloper 4 years ago
parent 74b945e409
commit b09243159e
  1. 2
      apps/remix-ide-e2e/src/helpers/init.ts

@ -11,7 +11,7 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
if (preloadPlugins) {
initModules(browser, () => {
browser.clickLaunchIcon('solidity')
.waitForElementVisible('[for="autoCompile"]')
.waitForElementVisible('[for="autoCompile"]')
.click('[for="autoCompile"]')
.verify.elementPresent('[data-id="compilerContainerAutoCompile"]:checked')
})

Loading…
Cancel
Save