Tracked this issue down to Angular expressions not evaluating on Firefox. On a hunch I updated protractor just now and the issue is now gone.
Sooooo.... for posterity.... If something doesn't work... Upgrade to the latest version. On Tuesday, April 22, 2014 9:51:25 AM UTC-7, Luis De Avila wrote: > > Got rid of the node debugger error by upgrading to the latest version of > node. > > > > On Tuesday, April 8, 2014 3:14:03 PM UTC-7, Luis De Avila wrote: >> >> Hi all, >> >> As the subject states, I have a Protractor test that fails on Firefox. >> The test passes in Chrome and there are no errors when interacting with the >> page in Chrome or Firefox outside of Protractor. >> >> It seems that my Angular expression is not evaluating when the test runs. >> >> Here is the html. >> >> <a id="item-edit" ui-sref="items.edit" ng-disabled="selected.length == 0" >> ng-click="edit(selected)">edit</a> >> >> >> This is is the protractor test. >> >> var button = element(by.id('group-edit')); >> var row = element(by.repeater('group in groups').row(0)); >> >> expect(button.evaluate(button.getAttribute('ng-disabled'))).toBe(true); >> row.click(); // Selects an item. A updates the selected model on the >> scope. The length of selected is no longer zero >> expect(button.evaluate(button.getAttribute('ng-disabled'))).toBe(false); >> button.click() >> expect(ptor.getLocationAbsUrl()).toBe('http://127.0.0.1/#/items/edit'); >> >> Any thoughts on why the test would not work on Firefox? >> >> Tried debugging the test and I get the following error: >> >> Starting selenium standalone server... >> connecting...Selenium standalone server started at >> http://192.168.0.43:59251/wd/hub >> .............There was an internal error in Node's debugger. Please >> report this bug. >> connect ECONNREFUSED >> Error: connect ECONNREFUSED >> at errnoException (net.js:884:11) >> at Object.afterConnect [as oncomplete] (net.js:875:19) >> >> Sigh. >> >> Thanks for any insights. >> >> Luis >> >> -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.