Open siteriaitaliana opened 3 years ago
Well, we have several options for finding elements. I think that your goal is to implement visual tests, but correct me if I'm wrong. You can get your element (by ID, class, etc.) and use a tool to compare images. I suggest protractor-image-comparison
Also, you can see my implementation of visual testing. Take a look in Advanced Angular Scaffold project.
@andredesousa I think is a quicker and smarter way to get visual testing for free during the usual testing flow, indeed you could visual test each page/element but restrict scope each time to the only element that matters in your test flow is indeed a tedious task
Would you guys consider a PR if I decide to spend some time building it?
@siteriaitaliana Protractor is deprecated: https://github.com/angular/protractor/issues/5502
Feature Request
TODO:
http://www.protractortest.org/testapp
which you can use for the reproducible test case.