webdriverio-schematics
webdriverio-schematics copied to clipboard
`--removeProtractor` Flag not working
What I did:
-
npm i -g @angular/cli@latest
(=> 11.2.11) -
ng new wdio-test
(strict & routing yes, styling format scss) -
ng add @wdio/schematics --yes --removeProtractor
Expected:
-
protractor
dependency removed frompackage.json
- e2e folder removed
- e2e property in
angular.json
configured to not use protractor anymore
Actual:
-
protractor
dependency still inpackage.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 awdio.conf.ts
is created)
same here