angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Target e2e suite

Open hboylan opened this issue 10 years ago • 25 comments

Hey all, I've found that it'd be nice to target a particular test suite with angular-cli.

Something like ng e2e auth instead of editing the angular-cli.json:

"e2e": {
    "protractor": {
      "config": "--suite auth config/protractor.conf.js"
    }
  }

Looks like it'd be pretty easy to pass the proper arguments to the e2e task

hboylan avatar May 18 '16 01:05 hboylan

Which version of the cli is this feature (https://github.com/angular/angular-cli/pull/8354) going to be available in ?

abeymg avatar Jan 30 '18 23:01 abeymg

Its already available in 1.7.0-beta release you can try 1.7.0-beta.3

aniruddhadas9 avatar Jan 31 '18 21:01 aniruddhadas9

Closing as this will be available in 1.7.0.

clydin avatar Feb 01 '18 20:02 clydin

@filipesilva if I use ng e2e -- --suite auth how do I pass the parameter auth to protractor.conf.js

Maximus1285 avatar Feb 07 '18 23:02 Maximus1285

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.