国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

angular.js - angular tutorial專案端對(duì)端測(cè)試運(yùn)行超時(shí)報(bào)錯(cuò)
天蓬老師
天蓬老師 2017-05-15 16:53:40
0
1
907

目前在自學(xué)angularjs,在官網(wǎng)clone tutorial專案來(lái)學(xué)習(xí),但每次運(yùn)行端對(duì)端測(cè)試都會(huì)逾時(shí)。
設(shè)定檔protractor-conf.js`exports.config = {
allScriptsTimeout: 11000,

specs: [
'e2e/*.js'
],

capabilities: {
'browserName': 'chrome'
},

chromeOnly: true,

baseUrl: 'http://localhost:8000/',

framework: 'jasmine',

jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};超時(shí)報(bào)錯(cuò)誤訊息Starting selenium standalone server...
[launcher] Running 1 instances of WebDriver
[launcher] Process exited with error code 1
G:angular-phonecatangular-phonecatnode_modulesprotractornode_modulesselenium-webdriverlibgoogasyncnexttick.js:39
goog.global.setTimeout(function() { throw exception; }, 0);
^
Error: Timed out waiting for the WebDriver server at http://192.168.15.6:54792/wd/hub
at Error (native)
at onResponse (G:angular-phonecatangular-phonecatnode_modulesprotractornode_modulesselenium-webdriverhttputil.js:87:66)
at G:angular-phonecatangular-phonecatnode_modulesprotractornode_modulesselenium-webdriverhttputil.js:42:21
at G:angular-phonecatangular-phonecatnode_modulesprotractornode_modulesselenium-webdriverlibwebdriverhttphttp.js:123:5
at ClientRequest. (G:angular-phonecatangular-phonecatnode_modulesprotractornode_modulesselenium-webdriverhttpindex.js:145:7)
at ClientRequest.emit (events.js:107:17)
at Socket.socketErrorListener (_http_client.js:271:9)
at Socket.emit (events.js:107:17)
at net.js:459:14
at process._tickCallback (node.js:355:11)
`
各種依賴的套件也都更新了,服務(wù)也啟動(dòng)。本人新手請(qǐng)指點(diǎn).

天蓬老師
天蓬老師

歡迎選擇我的課程,讓我們一起見(jiàn)證您的進(jìn)步~~

全部回覆(1)
Peter_Zhu

同遇到這個(gè)問(wèn)題,在Mac下測(cè)試就能跑起來(lái),在虛擬機(jī)Ubuntu下會(huì)報(bào)和樓主一樣的錯(cuò)誤,求踩過(guò)坑的來(lái)解答

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板