-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Group doesn't work with multiple source folders #1069
Comments
This is a weird one. If you use multiple test paths and then include a group, what you end up with is a test path that uses the group rather than src_folders. So given OP's config and a structure like:
the tests in The code calls out to the fact that it only works with one src_folders, but I'm not sure why first condition returns the group as the src path when there are more than one specified. I have a feeling this is something our team will run into as well. I'll work on submitting a patch for it. It shouldn't be too hard. |
Thanks for taking care of this! |
I have
src_folders
defined as below with multiple folder paths. Each of these folders in turn have folders likefunctional
,api
, etc.I can successfully run all tests (without specifying
--group
) but cannot run tests with groups like below. NigthWatch doesn't considersrc_folders
if groups are specified../nightwatch --group functional -e chrome
The text was updated successfully, but these errors were encountered: