Skip to content

--removeProtractor Flag not working #5

@pfeileon

Description

@pfeileon

What I did:

  1. npm i -g @angular/cli@latest (=> 11.2.11)
  2. ng new wdio-test (strict & routing yes, styling format scss)
  3. ng add @wdio/schematics --yes --removeProtractor

Expected:

  • protractor dependency removed from package.json
  • e2e folder removed
  • e2e property in angular.json configured to not use protractor anymore

Actual:

  • protractor dependency still in package.json
  • e2e folder still existing
  • angular.json is untouched
  • ENOENT: no such file or directory, open '[...]\wdio-test\wdio.conf.js'
    (probably its own issue, as a wdio.conf.ts is created)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions