From 2561b68ab11946e60fe8df7e3b78f3363363605d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 16 Mar 2019 11:33:42 +0330 Subject: [PATCH] test: fix e2e test by downloading chromium (#5254) --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 436dc9e06b..fe55977346 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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