From ce5ce8c7afa7a54c0f2f190e89065565db44f27f Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 26 Mar 2020 08:44:34 +0000 Subject: [PATCH] Debug circleci pipeline --- .circleci/config.yml | 2 ++ test-browser/commands/verifyContracts.js | 1 + 2 files changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index db7a4a51b7..c9eaf400d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,6 +43,8 @@ jobs: if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then ./ci/deploy_from_travis_remix-live.sh; fi + - store_artifact: + path: ./test-browser/screenshots workflows: version: 2 diff --git a/test-browser/commands/verifyContracts.js b/test-browser/commands/verifyContracts.js index 04e98898cd..9fe65e3e67 100644 --- a/test-browser/commands/verifyContracts.js +++ b/test-browser/commands/verifyContracts.js @@ -16,6 +16,7 @@ function getCompiledContracts (browser, opts, callback) { browser .clickLaunchIcon('solidity') .pause(opts.wait) + .saveScreenshot(`test-browser/screenshots/screenshot_${new Date().valueOf()}.png`) .scrollInto('*[data-id="compiledContracts"] option:first-child') .waitForElementPresent('*[data-id="compiledContracts"] option') .execute(function () {