-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tests): add '--suite' option to 'ng e2e' command #3551
Conversation
const ui = this.ui; | ||
let exitCode = 0; | ||
|
||
if (options.suite) { | ||
commandArgs.push(`--suite=${options.suite}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're feeding in concatenated strings from the input, which would remove quotes etc. Could you surround the argument with double quotes?
14dc170
to
4c6bfd8
Compare
Superseded by #4527 |
resolves: 807 Override suite in the protractor config. Can send in multiple suite by comma seperated values (ng e2e --suite=suite1.ts, suite2.ts). Issue link github.com/angular/issues/807 github.com/angular/pull/3551
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This makes the
ng e2e
command pass through thesuite
option to protractor #807ie.
ng e2e --suite=something
ng e2e --suite=somethingA,somethingB
I created the
unit
(I think it used to exist) folder in which I put the e2e command spec and also moved themodels
unit tests inside it but I'm not sure if that is how we want to add unit tests, maybe we could discuss it.Also, I added the
mock-project
file from ember-cli, needed to run tests against the commands.