diff --git a/referenceConf.js b/referenceConf.js index 4b9631b31..411d4c625 100644 --- a/referenceConf.js +++ b/referenceConf.js @@ -106,7 +106,7 @@ exports.config = { // // A base URL for your application under test. Calls to protractor.get() // with relative paths will be prepended with this. - baseUrl: 'http://localhost:' + (process.env.HTTP_PORT || '8000'), + baseUrl: 'http://localhost:9876', // Selector for the element housing the angular app - this defaults to // body, but is necessary if ng-app is on a descendant of diff --git a/spec/environment.js b/spec/environment.js index 88f93d73f..8f588c40e 100644 --- a/spec/environment.js +++ b/spec/environment.js @@ -15,6 +15,6 @@ module.exports = { // A base URL for your application under test. baseUrl: 'http://' + (process.env.HTTP_HOST || 'localhost') + - ':' + (process.env.HTTP_PORT || '8000') + ':' + (process.env.HTTP_PORT || '8081') }; diff --git a/testapp/scripts/web-server.js b/testapp/scripts/web-server.js index 893f685b4..16b24baa4 100755 --- a/testapp/scripts/web-server.js +++ b/testapp/scripts/web-server.js @@ -3,7 +3,7 @@ var express = require('express'); var util = require('util'); var testApp = express(); -var DEFAULT_PORT = process.env.HTTP_PORT || 8000; +var DEFAULT_PORT = process.env.HTTP_PORT || 8081; var testAppDir = require('path').resolve(__dirname, '..'); var main = function(argv) {