Protractor tests problem with angular

June 25th, 2014
  • angular.js

I'm actively learning angular.js, and after having completed the brilliant codeschools video tutorial, I'm diving into the official tutorial.
When running my first end-to-end protractor test at the begining of the tutorial, I was quickly stopped by an error: "cannot call method 'forEach' of null". Furstrating, isn't it ? In those cases, stackoverflow is your best friend, and this solution worked perfectly:

edit protractor-conf.js and change the property "chrome-only" to false.