Skip to content

Commit

Permalink
Merge pull request #2685 from ethereum/ethWorkSC-debug
Browse files Browse the repository at this point in the history
Fixed Ethworksc E2E Tests
  • Loading branch information
ioedeveloper authored Mar 26, 2020
2 parents f87067e + 73b6acd commit b3c2abf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then
./ci/deploy_from_travis_remix-live.sh;
fi
- store_artifacts:
path: ./test-browser/screenshots

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion test-browser/commands/verifyContracts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const EventEmitter = require('events')

class VerifyContracts extends EventEmitter {
command (compiledContractNames, opts = { wait: 15000 }) {
command (compiledContractNames, opts = { wait: 5000 }) {
this.api.perform((done) => {
verifyContracts(this.api, compiledContractNames, opts, () => {
done()
Expand Down
6 changes: 5 additions & 1 deletion test-browser/helpers/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ module.exports = function (browser, callback, url, preloadPlugins = true) {
browser.resizeWindow(2560, 1440, () => {
if (preloadPlugins) {
initModules(browser, () => {
browser.clickLaunchIcon('solidity').click('#autoCompile')
browser.clickLaunchIcon('solidity')
.pause(2000)
.execute(() => {
document.getElementById('autoCompile').click()
})
.perform(function () {
callback()
})
Expand Down

0 comments on commit b3c2abf

Please sign in to comment.