mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +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
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user