diff --git a/app/templates/e2e/main.spec.js b/app/templates/e2e/main.spec.js index 7ebdd5dc..ef2e5c18 100644 --- a/app/templates/e2e/main.spec.js +++ b/app/templates/e2e/main.spec.js @@ -4,7 +4,7 @@ describe('The main view', function () { var page; beforeEach(function () { - browser.get('http://localhost:3000/index.html'); + browser.get('/index.html'); page = require('./main.po'); }); diff --git a/app/templates/protractor.conf.js b/app/templates/protractor.conf.js index 0f43a9e8..f2db1013 100644 --- a/app/templates/protractor.conf.js +++ b/app/templates/protractor.conf.js @@ -12,6 +12,8 @@ exports.config = { capabilities: { 'browserName': 'chrome' }, + + baseUrl: 'http://localhost:3000', // Spec patterns are relative to the current working directly when // protractor is called.