Allow multiple paths for Custom Commands Folder
shwarcu opened this issue · comments
Is your feature request related to a problem? Please describe.
In our solution, we keep most of Cypress commands in cypress/support folder. However some commands are specific to certain application areas and are defined somewhere else.
Go to custom command definition option does not work for such cases.
Describe the solution you'd like
It would be a highly valuable feature to be able to set more than 1 path for Custom Commands Folder setting.
Thank you for posting a feature request.
Could you please clarify what you mean by defined somewhere else
- is it still inside cypress folder or in other workspace subfolders? Just in case they are all defined inside some workspace subfolder you can just set it as source for custom commands, example:
customCommandsFolder: "app/tests/cypress"
, other commands are insideapp/otherCommands
, so then you setcustomCommandsFolder: "app"
Or do you want some kind of ['cypress/support', 'app/src/cypressCommands']
?
Closing as there is no more input about value of such feature provided.