webdriverio-schematics icon indicating copy to clipboard operation
webdriverio-schematics copied to clipboard

`--removeProtractor` Flag not working

Open pfeileon opened this issue 3 years ago • 1 comments

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)

pfeileon avatar Apr 24 '21 06:04 pfeileon

same here

abalad avatar May 06 '21 19:05 abalad