May 072015

After starting a new Angular project and copy-pasting the Protractor and unit test template config I got this error when running my unit tests. Googling the error message resulted in various topics which each had their own way of handling it, but luckily enough I ended up on this page which showed me the solution. Apparently I forgot to call browser.get(‘#/mypagetotest’); in the beforeEach function of my test, proves again that rushed coding does not lead to the best results! 😉

Sorry, the comment form is closed at this time.