test: fix e2e test by downloading chromium (#5254)

This commit is contained in:
Pooya Parsa 2019-03-16 11:33:42 +03:30 committed by GitHub
parent 020fa8e1b6
commit 2561b68ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,9 +141,16 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: ~/project 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: - run:
name: E2E Tests name: E2E Tests
command: yarn test:e2e && yarn coverage command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage
test-types: test-types:
<<: *defaults <<: *defaults