Skip to content

--base-url has no effect #13611

Closed
Closed
@Michel73

Description

@Michel73

🐞 Bug report

The option --base-url has no effect.

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 6.x.x

Description

The option --base-url has no effect on the e2e-command. Also the baseUrl-entry in the protractor.conf.js has no effect.

🔬 Minimal Reproduction

Create new project via ng new demo and there modify the e2e-script or the protractor.conf.js as described. It has no affect. The app is always started at http://localhost:4200 and the browser also opens this url.
I have to run the tests in a no-serve scenario on a different url.

🔥 Exception or Error





🌍 Your Environment




macos
@angular/cli@7.3.0 

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions