Closed enten closed 4 years ago
@miherlosev
Some unit tests failed with Microsoft Edge 79.0.309.68 / Windows 8.1
.
I need to find a way to reproduce test failures because I don't have them on local (I'm on archlinux).
After some tries I encountered random failures on different browsers. I supposed that is related to performance of the node/container which run tests. Increase timeout to 2000ms helps to fix that random failure behavior.
Hi @enten
Thank you for your contribution. We will take a look at this code and investigate the cause of failures.
@enten
Hello,
Thank you for the work you've done. We decided to do some refactoring in the context of your changes in the following separate PR.
I published a new version. You can install it using the npm i testcafe-angular-selectors@0.4.0
command.
Fixes #7
Developpment notes
There is an issue to make custom method
getAngular()
works with angular renderer3.With latest angular renderer3 engine: each component instance have property
__ngContext__
which contains circular reference.I add a workaround to avoid circular structure to JSON issue when
getAngular()
is called without state projection.