From 8440b71aeb35a6fa3d1c82ac449f6895c7b500ea Mon Sep 17 00:00:00 2001 From: LianaHus Date: Thu, 26 Mar 2020 16:49:50 +0100 Subject: [PATCH] cleaned up code changes --- .circleci/config.yml | 2 -- test-browser/commands/verifyContracts.js | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) 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 {