I'm writing test using protractor and it always waits when $timeout will finished.
If I use ignoreSynchronization = true; it stops to wait and test runs ahead. But for my test I should set back ignoreSynchronization = false;. And when I set it to false, protractor stops and begin to wait for previous $timeout will finished.
I use $timeout for notification window and use this window to show validation errors. Currently I'm testing validation and it makes test extremely slow.
So the solution with ingnoreSynchronization = true is not compatible for me.
I have tried to $timeout.flush() but it cause an error $timeout.flush is not a function
I tried to use ngMock but am not sure is it possible to use it with protractor.
Does somebody resolve this issue?