Pasvaz / bindonce

Zero watches binding for AngularJs
2.73k stars 278 forks source link

bind once doesn't work property with Protractor selectors #89

Open thiagofelix opened 10 years ago

thiagofelix commented 10 years ago

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.

EricBorlandAC commented 9 years ago

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!!

gad2103 commented 9 years ago

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