bindonce icon indicating copy to clipboard operation
bindonce copied to clipboard

bind once doesn't work property with Protractor selectors

Open thiagofelix opened this issue 10 years ago • 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.

thiagofelix avatar May 22 '14 13:05 thiagofelix

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

EricBorlandAC avatar Jun 19 '15 12:06 EricBorlandAC

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

gad2103 avatar Aug 11 '15 00:08 gad2103