mercredi 8 juillet 2015

Protractor can not find any elements yet elements render in browser

Has anyone come across a scenario where your protractor script can not find ANY OF ELEMENTS (count == 0) yet the elements are rendering in the browser? I am testing a section of our site that was recently changed and now the tests are failing. When I use "elementor" or other debugging tools, it says no elements found for all the elements on the page. Yet the page is rendering correctly.

When I inspect using elementor I see:

[by.css('section[ng-controller="app.DatepickerController as vm"]'): “0”

where 0 is the count.

And:

[by.css('section.panel-body'): "12"

where 12 is the count for the same element.

Aucun commentaire:

Enregistrer un commentaire