use port 4000 for e2e runs

This commit is contained in:
Denys Vuika
2018-06-07 07:11:17 +01:00
parent 1bf897639c
commit e1b64e9e8e
3 changed files with 4 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ services:
networks:
- internal
ports:
- 3001:80
- 4001:80
# volumes:
# - ./app.config.json:/usr/share/nginx/html/app.config.json
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
@@ -86,7 +86,7 @@ services:
networks:
- internal
ports:
- 3000:80
- 4000:80
networks:
internal:

View File

@@ -18,7 +18,7 @@
"_e2e": "ng e2e",
"wd:update": "webdriver-manager update --gecko=false --versions.chrome=2.38",
"e2e": "npm run wd:update && protractor protractor.conf.js",
"start:docker": "docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:3000",
"start:docker": "docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:4000",
"stop:docker": "docker-compose stop",
"e2e:docker": "npm run start:docker && npm run e2e && npm run stop:docker",
"spellcheck": "cspell 'src/**/*.ts' 'e2e/**/*.ts'"

View File

@@ -34,7 +34,7 @@ exports.config = {
directConnect: true,
baseUrl: 'http://localhost:3000',
baseUrl: 'http://localhost:4000',
framework: 'jasmine2',
jasmineNodeOpts: {