Skip to content

e2e: Unknown option: '--configuration' #10699

Closed
@rokerkony

Description

@rokerkony

Versions

Angular CLI: 6.0.0
Node: 10.0.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps

  • Create new cli project
  • Add configuration section as follow to "<PROJECT_NAME>-e2e": {:
    "configurations": {
        "ci": {
            "serve": "false"
        }
    }
    
  • run ng e2e --configuration=ci

Observed behavior

Unknown option: '--configuration'

Desired behavior

e2e should support configuration

Mention any other details that might be useful

Unfortunatelly it is not only about --configuration but it doesn't respect also serve ng e2e --serve=false will still serve the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions