Skip to content
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

Paralel running with feature tags selects all my features #297

Open
kerimovaa opened this issue Oct 12, 2017 · 2 comments
Open

Paralel running with feature tags selects all my features #297

kerimovaa opened this issue Oct 12, 2017 · 2 comments

Comments

@kerimovaa
Copy link
Contributor

I'm submitting a ... (check one with "x")

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead use [Stack Overflow](https://stackoverflow.com/questions/tagged/nightwatch.js+cucumber)

Current behavior
If i want run some tests with tag "test" (for example) in parallel mode (--workers auto) NW-cucumber will start all features and pending features who doesn't have tag "test". Its very uncomfortable and takes a long time. In console i will see something like this

Started child process for: desktop/reviews/ReviewsOnMain
 desktop/reviews/AllReviews   0 scenarios
0 steps
0m00.000s

  >> desktop/reviews/AllReviews finished.

Started child process for: desktop/search/SuggestOnListingHeader
 desktop/reviews/ReviewAdd   0 scenarios
0 steps
0m00.000s

  >> desktop/reviews/ReviewAdd finished.

Started child process for: desktop/search/SuggestOnMain
 desktop/reviews/ReviewsOnMain   0 scenarios
0 steps
0m00.000s

  >> desktop/reviews/ReviewsOnMain finished.

Started child process for: desktop/uk/bigForm.double.order
 desktop/search/SuggestOnListingHeader   0 scenarios
0 steps
0m00.000s

  >> desktop/search/SuggestOnListingHeader finished.

Started child process for: desktop/uk/bigForm.order
 desktop/search/SuggestOnMain   0 scenarios
0 steps
0m00.000s

  >> desktop/search/SuggestOnMain finished.

Started child process for: desktop/uk/wizard.order
 desktop/uk/bigForm.double.order   0 scenarios
0 steps
0m00.000s

  >> desktop/uk/bigForm.double.order finished.

Started child process for: desktop/uk/wizard2.order
 desktop/uk/bigForm.order   0 scenarios
0 steps
0m00.000s

  >> desktop/uk/bigForm.order finished.

 desktop/uk/wizard.order   0 scenarios
0 steps
0m00.000s

  >> desktop/uk/wizard.order finished.

 desktop/uk/wizard2.order   0 scenarios
0 steps
0m00.000s

  >> desktop/uk/wizard2.order finished.

thats not end yet

Expected/desired behavior
NW-cucumber run just only selected features in parallel mode (not all features)

What is the motivation / use case for changing the behavior?
I cant debug my features in parallel mode (process takes a long time if you have a lot of features)

Please tell us about your environment:
In case of a bug report please provide the following information:
├── cucumber@3.0.3
├── nightwatch@0.9.16
└── nightwatch-cucumber@8.2.2

v8.1.2

INFO FINISHED
LOG → Completed command end (1 ms)
INFO Selenium process finished.

@mucsi96
Copy link
Owner

mucsi96 commented Oct 25, 2017

Hi @kerimovaa! Thanks for reporting this! Do you have any idea to solve it? A pull request would be very helpful :)

@rohitkashyapvatta
Copy link

@mucsi96 @kerimovaa I just noticed this issue on my test suite as well! :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants