Skip to content

E2E specs parameter has no effect #12510

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

Closed
alan-agius4 opened this issue Oct 8, 2018 · 1 comment · Fixed by #12511
Closed

E2E specs parameter has no effect #12510

alan-agius4 opened this issue Oct 8, 2018 · 1 comment · Fixed by #12511

Comments

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Oct 8, 2018

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.0.0-rc.2
Node: 10.10.0
OS: darwin x64
Angular: 6.0.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.9.0-rc.2
@angular-devkit/build-angular      0.9.0-rc.2
@angular-devkit/build-ng-packagr   0.8.4
@angular-devkit/build-optimizer    0.9.0-rc.2
@angular-devkit/build-webpack      0.9.0-rc.2
@angular-devkit/core               7.0.0-rc.2
@angular-devkit/schematics         7.0.0-rc.2
@angular/cdk                       6.2.1
@angular/cli                       7.0.0-rc.2
@angular/flex-layout               6.0.0-beta.16
@angular/material                  6.2.1
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.0.0-rc.2
@schematics/angular                7.0.0-rc.2
@schematics/update                 0.9.0-rc.2
ng-packagr                         3.0.6
rxjs                               6.2.0
typescript                         2.8.4
webpack                            4.19.1

Repro steps

  1. Rename app.e2e-spec.ts to app.e2e.spec.ts
  2. Run ng e2e --specs=src/**/*.e2e.spec.ts

The log given by the failure

[12:41:47] E/launcher - Spec patterns did not match any files.
[12:41:47] E/launcher - Error: Spec patterns did not match any files.
    at Runner.run (/Users/alan/git/repos/seven-test-rc-one/node_modules/protractor/built/runner.js:322:19)
    at TaskRunner.run (/Users/alan/git/repos/seven-test-rc-one/node_modules/protractor/built/taskRunner.js:110:27)
    at createNextTaskRunner (/Users/alan/git/repos/seven-test-rc-one/node_modules/protractor/built/launcher.js:235:28)
    at helper.runFilenameOrFn_.then.then.then (/Users/alan/git/repos/seven-test-rc-one/node_modules/protractor/built/launcher.js:260:13)
    at _fulfilled (/Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:834:54)
    at /Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:863:30
    at Promise.promise.promiseDispatch (/Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:796:13)
    at /Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:604:44
    at runSingle (/Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:137:13)
    at flush (/Users/alan/git/repos/seven-test-rc-one/node_modules/q/q.js:125:13)
[12:41:47] E/launcher - Process exited with error code 199

Desired functionality

Specs gets picked up by protoactor based on the parameter provided.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants