Vue Cli в докере работает Nightwatch на Alpinelinux - PullRequest
0 голосов
/ 11 октября 2018

Кажется, ночные часы не работают из-за селена?Его провал в GIT CI.используя следующие пакеты

 apk add --update bash lcms2-dev libpng-dev gcc g++ make autoconf automake openssl nodejs-npm git  bash nodejs libtool file openjdk8-jre xvfb firefox-esr  && rm -rf /var/cache/apk/*

См. журнал ошибок

Running:  default e2e tests

Error retrieving a new session from the selenium server

Connection refused! Is selenium server started?
{ value: 
   { message: 'Timed out waiting for driver server to start.\nBuild info: version: \'3.14.0\', revision: \'aacccce0\', time: \'2018-08-02T20:13:22.693Z\'\nSystem info: host: \'runner-69f050bf-project-82-concurrent-0\', ip: \'172.17.0.3\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.10.0-862.el7.x86_64\', java.version: \'1.8.0_171\'\nDriver info: driver.version: unknown',
     error: 'unknown error' },
  status: 13 }

 ERROR  Error: Command failed: /builds/flowboard/admin-panel/node_modules/nightwatch/bin/nightwatch --config /builds/flowboard/admin-panel/node_modules/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js --env chrome
Error: Command failed: /builds/flowboard/admin-panel/node_modules/nightwatch/bin/nightwatch --config /builds/flowboard/admin-panel/node_modules/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js --env chrome
    at makeError (/builds/flowboard/admin-panel/node_modules/execa/index.js:172:9)
    at Promise.all.then.arr (/builds/flowboard/admin-panel/node_modules/execa/index.js:277:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-frontend@0.1.0 test:e2e: `vue-cli-service test:e2e`
npm ERR! Exit status 1
...