Closed calendir closed 8 years ago
Currently protractor is swallowing the error. Could you wait for https://github.com/angular/protractor/pull/3372 and then try again?
The message got much more informative after I applied the patch manually :wink: It remained the same after updating to 4.0.2 as well.
Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:395:27)
at ElementArrayFinder._this.(anonymous function) [as click] (node_modules/protractor/built/element.js:97:30)
at ElementFinder._this.(anonymous function) [as click] (node_modules/protractor/built/element.js:728:22)
at NodeListPage.clickNodeByName (steps/pages/foc/NodeListPage.js:18:41)
at [object Object].<anonymous> (steps/focSteps.js:14:39)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Any news on this? It's sort of a blocker for me, actually.
This has been addressed in 4.0.3 - closing this issue.
Please try this again.
I don't see how it could possibly have been fixed between 4.0.2 and 4.0.3, and I assure you it still persists on 4.0.3, unfortunately :disappointed:
I'm having a similar issue to angular#7821 when testing an app build with Angular 2.0.0-rc.3, using either Protractor 3.3.0 or 4.0.0.
There seem to be two issues:
ElementArrayFinder.applyAction_
can't properly join a stack string and and actual stack (similar to #3224), but I assume that was simply never meant to occur.runWaitForAngularScript
returnstrue
instead of nada for some reason (I've specifiedrootElement
in my config file, so it goes the classicwaitForAngular
route).Any help would be greatly appreciated.