![](/img/trans.png)
[英]Error: tunneling socket could not be established, cause=socket hang up on running ng e2e Protractor test
[英]Running e2e test using protractor with Angular2 and Socket.io
我配置了運行我的e2e
測試的protractor
。 但是因為我已經將socket.io
添加到我的應用程序並調用io.connect
量角器返回錯誤:
失敗:超時等待Protractor在11秒后與頁面同步。
如何使用量角器測試具有真實后端的Angular 2應用程序?
我也解決了這個問題並在angular-repo中打開了一個問題: https : //github.com/angular/angular/issues/11853
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.