gothinkster / angular-realworld-example-app

Exemplary real world application built with Angular

Home Page:https://angular.realworld.how/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hanatharesh2712 opened this issue · 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!

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.