Angular-cli: ng e2e not following protractor.conf.js baseUrl

Created on 28 Mar 2017  路  4Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.


@angular/cli: 1.0.0
node: 7.7.3
os: linux x64
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0

Repro steps.

  1. Change the baseUrl on protractor.conf.js to http://dev.sample.com
  2. Run ng e2e

The log given by the failure.

** NG Live Development Server is running on http://localhost:49152 **

Desired functionality.

** NG Live Development Server is running on http://dev.sample.com **

Mention any other details that might be useful.

This was working on version 1.0.0-beta.24

Most helpful comment

Just found out about ng e2e --no-serve in other issue and baseUrl worked. Closing this issue now.

https://github.com/angular/angular-cli/issues/5713

All 4 comments

Just found out about ng e2e --no-serve in other issue and baseUrl worked. Closing this issue now.

https://github.com/angular/angular-cli/issues/5713

Worth adding this to the wiki. https://github.com/angular/angular-cli/wiki/e2e

Why is it closed? The base url change still doesn't work.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brtnshrdr picture brtnshrdr  路  3Comments

gotschmarcel picture gotschmarcel  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

delasteve picture delasteve  路  3Comments

jbeckton picture jbeckton  路  3Comments