Skip to content

Commit

Permalink
test: fix e2e test by downloading chromium (#5254)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 16, 2019
1 parent 020fa8e commit 2561b68
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,16 @@ jobs:
- checkout
- attach_workspace:
at: ~/project
- run:
name: Download Chromium
command: |
cd /opt
sudo wget https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/641430/chrome-linux.zip
sudo unzip chrome-linux.zip
sudo ln -s `pwd`/chrome-linux/chrome /bin/chromium
- run:
name: E2E Tests
command: yarn test:e2e && yarn coverage
command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage

test-types:
<<: *defaults
Expand Down

0 comments on commit 2561b68

Please sign in to comment.