Skip to content

Commit 85d356a

Browse files
author
Mehdy Dara
committed
Merge pull request #625 from nanocom/patch-2
add baseUrl to protractor conf
2 parents b1a5baf + c06fb25 commit 85d356a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/templates/e2e/main.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ describe('The main view', function () {
44
var page;
55

66
beforeEach(function () {
7-
browser.get('http://localhost:3000/index.html');
7+
browser.get('/index.html');
88
page = require('./main.po');
99
});
1010

app/templates/protractor.conf.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ exports.config = {
1212
capabilities: {
1313
'browserName': 'chrome'
1414
},
15+
16+
baseUrl: 'http://localhost:3000',
1517

1618
// Spec patterns are relative to the current working directly when
1719
// protractor is called.

0 commit comments

Comments
 (0)