You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.
#1906 intended to include a CI configuration. However, Selenium is proving more difficult to implement than anticipated. To prevent further blocking that PR, we've decided to split off the CI configuration task as a separate PR. This issue reflects the latest state of the work.
These are the necessary jobs to prepare the greenboard environment for testing:
greenboard-prepare:
<<: *defaultsdocker:
# TODO: Update Node version in this image to whatever MM uses.
- image: circleci/node:8.15steps:
- <<: *restore_code
- checkout
- <<: *restore_dep
- attach_workspace:
at: /home/circleci/project
- run:
name: Clone Metamask fork# TODO: Change the branch to whatever# we use as a source for downloading our MM forkcommand: git clone --depth 1 --single-branch --branch joel/for-wallet-ui [email protected]:prototypal/metamask-extension ./metamask
- run:
name: Update CF.js IIFEcommand: cp packages/cf.js/dist/index-iife.js metamask/app/vendor/counterfactual/node/cf.js.iife.js
- run:
name: Update Firebase Client IIFEcommand: cp packages/firebase-client/dist/index.iife.js metamask/app/vendor/counterfactual/node/firebase-client.iife.js
- run:
name: Update Node IIFEcommand: cp packages/node/dist/index.iife.js metamask/app/vendor/counterfactual/node/node.iife.js
- run:
name: Install dependenciescommand: cd metamask && npm ci
- run:
name: Build Metamask extension with CF IIFEscommand: cd metamask && npx gulp build
- persist_to_workspace:
root: /home/circleci/projectpaths:
- packages/*/dist
- packages/*/build
- metamask/dist/chromegreenboard-run:
<<: *defaultsdocker:
- image: circleci/node:10.15.3-jessie-browserssteps:
- <<: *restore_code
- checkout
- <<: *restore_dep
- attach_workspace:
at: /home/circleci/project
- run: sudo npm i -g [email protected]# because docker image uses 1.13.0
- run: yarn --frozen-lockfile # symlink packages' node_modules
- run:
name: Link Metamask dist into extensioncommand: ln -s metamask/dist/chrome packages/greenboard/extension
- run:
name: Serve Wallet UIshell: /bin/shcommand: cd packages/wallet-ui && yarn startbackground: true
- run:
name: Serve Simple Hub Servershell: /bin/shcommand: cd packages/simple-hub-server && yarn start:e2ebackground: true
- run:
name: Run Greenboard (E2E tests)command: cd packages/greenboard && yarn test
Inside the jobs list for the run-tests workflow, we'd add:
With this configuration, Selenium throws either chrome not reachable or DevToolsActivePort file doesn't exist. After extensive research and debugging, we still haven't figured out the missing piece in the configuration to make Selenium work with the Chrome driver in CircleCI.
The text was updated successfully, but these errors were encountered:
#1906 intended to include a CI configuration. However, Selenium is proving more difficult to implement than anticipated. To prevent further blocking that PR, we've decided to split off the CI configuration task as a separate PR. This issue reflects the latest state of the work.
These are the necessary jobs to prepare the
greenboard
environment for testing:Inside the
jobs
list for therun-tests
workflow, we'd add:With this configuration, Selenium throws either
chrome not reachable
orDevToolsActivePort file doesn't exist
. After extensive research and debugging, we still haven't figured out the missing piece in the configuration to make Selenium work with the Chrome driver in CircleCI.The text was updated successfully, but these errors were encountered: