ci(config): use xvfb in e2e test

This commit is contained in:
George Lima 2019-01-24 17:09:40 -03:00
parent fe09c2ccc6
commit b49a096445
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,6 @@ jobs:
- run: apt-get -y update
- run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev
- run: apt-get -y install libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4
- run: yarn config set registry https://registry.npmjs.org
- run: yarn install
- run:
name: Run Webpack
@ -20,7 +19,7 @@ jobs:
command: yarn e2e:serve
background: true
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
- run: yarn e2e:run
- run: xvfb-run -a yarn e2e:run
workflows:
version: 2
test:

View File

@ -45,7 +45,7 @@
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"concurrently": "^4.1.0",
"create-test-server": "https://github.com/georgelima/create-test-server",
"create-test-server": "georgelima/create-test-server",
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"docz": "0.13.4",