From b49a09644542ccae36df2971ae1748884445c9c2 Mon Sep 17 00:00:00 2001 From: George Lima Date: Thu, 24 Jan 2019 17:09:40 -0300 Subject: [PATCH] ci(config): use xvfb in e2e test --- .circleci/config.yml | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 550a57d..f1b760c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/package.json b/package.json index f734092..1b98428 100644 --- a/package.json +++ b/package.json @@ -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",