angular-realworld-example-app icon indicating copy to clipboard operation
angular-realworld-example-app copied to clipboard

Setting baseUrl in protractor.conf.js is not working with Remote URL

Open hanatharesh2712 opened this issue 6 years ago • 2 comments

I want to set remote URL and run the tests against it. so, I am setting up baseUrl(e.g. www.google.com) in protractor.conf.js file but it does not work.

Repro steps • In a new Angular Cli project, in the e2e folder open protractor.conf.js • change baseUrl to https://google.com • run ng e2e

Observed behaviour The browser opens up to http://localhost:4200/ and not https://google.com

Desired behaviour I think it should go to what the baseurl is set to.

Please help. Thanks in advance!

hanatharesh2712 avatar Apr 10 '19 14:04 hanatharesh2712

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

peterblazejewicz avatar Jul 10 '19 22:07 peterblazejewicz

angular/angular-cli#11089

I'm having a similar issue running end to end tests within my CI configuration. similarly to this comment. Unfortunately that issue is locked.

Progdrasil avatar Aug 04 '20 20:08 Progdrasil