mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
test: fix e2e test by downloading chromium (#5254)
This commit is contained in:
parent
020fa8e1b6
commit
2561b68ab1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user