Angular2 e2e test case with protractor throwing error
问题 I have created my app with angular2-webpack-starter and i have used socket.io with it. I have created one common service to create socket connection and listen its method. this service is used and initialized after user is logged in. When app is running and i execute test case for login, i am checking url with below code : browser.getCurrentUrl().then((url) => { expect(url).toEqual('/dashboard'); }); The issue is when socket is connected its throwing error 'Timed out waiting for Protractor to