diff --git a/.circleci/config.yml b/.circleci/config.yml index 8acdd8849e..db7a4a51b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,8 +43,6 @@ jobs: if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then ./ci/deploy_from_travis_remix-live.sh; fi - - store_artifacts: - path: ./test-browser/screenshots workflows: version: 2 diff --git a/test-browser/commands/verifyContracts.js b/test-browser/commands/verifyContracts.js index 932ebfce2c..14f006504e 100644 --- a/test-browser/commands/verifyContracts.js +++ b/test-browser/commands/verifyContracts.js @@ -1,7 +1,7 @@ const EventEmitter = require('events') class VerifyContracts extends EventEmitter { - command (compiledContractNames, opts = { wait: 5000 }) { + command (compiledContractNames, opts = { wait: 1000 }) { this.api.perform((done) => { verifyContracts(this.api, compiledContractNames, opts, () => { done() @@ -16,10 +16,9 @@ function getCompiledContracts (browser, opts, callback) { browser .clickLaunchIcon('solidity') .pause(opts.wait) - .scrollInto('*[data-id="compiledContracts"] option:first-child') .waitForElementPresent('*[data-id="compiledContracts"] option') .execute(function () { - var contracts = document.querySelectorAll('#compileTabView select#compiledContracts option') + var contracts = document.querySelectorAll('*[data-id="compiledContracts"] option') if (!contracts) { return null } else {