Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running e2e test using protractor with Angular2 and Socket.io

I got configured protractor that runs my e2e tests. But since I've added a socket.io to my application and call io.connect protractor returns error:

Failed: Timed out waiting for Protractor to synchronize with the page after 11 seconds.

How can I test Angular 2 app with real backend using protractor?

like image 954
NagRock Avatar asked May 20 '26 09:05

NagRock


1 Answers

I also stumpled over this problem and opened an issue in the angular-repo: https://github.com/angular/angular/issues/11853

like image 153
Christoph Höller Avatar answered May 22 '26 00:05

Christoph Höller