     # run unit tests and generate code coverage report
     "karma:coverage"
 
+    "configureProxies"
+    "connect:e2e"
+
     # run all integration tests
-    "connect:e2e"
     "karma:e2e"
     "casper"
   ]

  # run casperjs integration tests
  grunt.registerTask "test:casperjs", [
    "build:dev"
    "connect:e2e"
    "casper"
  ]

  # run e2e integration tests
  grunt.registerTask "test:e2e", [
    "build:dev"
    "configureProxies"
    "connect:e2e"
    "karma:e2e"
  ]
