1

トラヴィスの作成反応アプリケーションサーバー(npm start)で夜間テストを実行しています。私はとレコード生成反応するアプリを始めているトラビスの作成反応アプリでナイトウォッチテストを実行しています

.travis.yml:しかし

before_script: 
    - npm --prefix ./client start ./client & 
script: npm run test-ci 

夜警テストを実行&を開始しかし、私はいつも

Starting the development server... 
Starting selenium server... Warning: The 'no-use-before-declare' rule requires type information. 
ts-loader: Using [email protected] and /home/travis/build/client/tsconfig.json 
started - PID: 4017 

You can now view app in the browser. 
    Local:   http://localhost:3000/ 
    On Your Network: http://172.17.0.3:3000/ 
Note that the development build is not optimized. 
To create a production build, use npm run build. 
Error retrieving a new session from the selenium server 
Connection refused! Is selenium server started? 
{ Error: socket hang up 

を取得していますナイトウォッチの実行ローカルで完璧に動作します。

答えて

関連する問題