Pasvaz/bindonce

bind once doesn't work property with Protractor selectors

thiagofelix opened this issue · 2 comments

I just found that protractor tests will break when using bindonce directives, making them impossible to work with each other at the present moment.

Protractor is heavy dependent on the directive "ng-binding" in order to find the element form a given selector.

Because bindonce defines a new set of directives ( bo-* family ) protractor tests fail to find the elements.

Since protractor is the recommended framework for e2e testing and people are investing considerable effort on this . It would be great if bindoce could work by hacking the standard "ng-binding" directive.

Absolutely agree, bindonce is a library needed by almost any high-performance angular app, and protractor tests are most common one e2e framework used to test those apps.

Are you guys planning to include protractor support in this library? It would be awesome!!

does this apply to angular 1.3.x where you can use {{::onceBoundScopeProp}}?