90poe / vscode-cy-helper

VS Code IDE Extension for Cypress.io

Home Page:https://marketplace.visualstudio.com/items?itemName=Shelex.vscode-cy-helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 inside app/otherCommands, so then you set customCommandsFolder: "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.