I had to add a line to config to find the ng-app rootElement: '[ng-app="name"]', - hopefully this helps someone trying to reslove this issue.
On Tuesday, October 25, 2016 at 11:50:32 PM UTC-7, Varsha Joshi wrote: > > Hello, > > I am a newbie to protractor - come from Selenium Java background. > I was going through the tutorials and trying out to set this on my mac. > > When I run the conf.js - I get the Type Error: > > Please let me know what is that I am doing incorrectly here. Am I missing > a plugin? > > Thanks > Varsha > > [13:24:12] I/launcher - Running 1 instances of WebDriver > > Started > > F > > > Failures: > > 1) adminapploginPage loginElements should be present encountered a > declaration exception > > Message: > > TypeError: Cannot read property 'isDisplayed' of undefined > > Stack: > > TypeError: Cannot read property 'isDisplayed' of undefined > > at Suite.<anonymous> > (/Users/vjoshi/proAutomation/blAdminLogin-spec.js:17:43) > > at Suite.<anonymous> > (/Users/vjoshi/proAutomation/blAdminLogin-spec.js:15:4) > > at Object.<anonymous> > (/Users/vjoshi/proAutomation/blAdminLogin-spec.js:5:1) > > at Module._compile (module.js:409:26) > > > 1 spec, 1 failure > > Finished in 2.048 seconds > > > [13:24:15] I/launcher - 0 instance(s) of WebDriver still running > > [13:24:15] I/launcher - chrome #01 failed 1 test(s) > > [13:24:15] I/launcher - overall: 1 failed spec(s) > > [13:24:15] E/launcher - Process exited with error code 1 > -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
