Skip to content

Setting baseUrl in protractor.conf is not working #11089

Closed
@jared-christensen

Description

@jared-christensen

Versions

Angular CLI: 6.0.7
Node: 10.2.1
OS: darwin x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.7
@angular-devkit/build-angular     0.6.7
@angular-devkit/build-optimizer   0.6.7
@angular-devkit/core              0.6.7
@angular-devkit/schematics        0.6.7
@angular/cli                      6.0.7
@ngtools/webpack                  6.0.7
@schematics/angular               0.6.7
@schematics/update                0.6.7
rxjs                              6.2.0
typescript                        2.7.2
webpack                           4.8.3

node: v10.2.1
npm: 6.1.0
macOS High Sierra 10.13.4

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 behavior

The brower opens up to http://localhost:4200/ and not https://google.com

Desired behavior

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

Mention any other details that might be useful (optional)

I add browser.sleep(900000) in the first test after navigateTo so I have time to see what is going on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions