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
Cypress Runner - New Feature: Default Folders as Closed #26141
Comments
I have done development on windows using git bash at my shell, but only to debug windows specific things... I don't know if anyone at Cypress is doing development on windows on a regular basis, so it is entirely possible something isn't working. If you can share the issue, I can take a look - but to my knowledge, it should work just fine. It should just be As for actually building a binary - I haven't done this on windows, it's definitely working (we release for all platforms every 2 weeks) but I haven't actually built locally on windows before. You shouldn't need to, though - just start the app in watch mode and off you go. I will need to get some advice/guidance from our design team, I'd recommend waiting until we have something from them, as not to waste your time. Also, the part of the code that builds the spec list is pretty gnarly, but we have an experimental feature - run all specs that adds a folder level behavior (see the article and GIF) so you might be able to use that code path to implement this. Please give me a few days to see what the design team thinks is the best way to move forward with this feature request. |
I took another look at VS Code. It looks like they do not have a similar feature on a directory-by-directory basis, only a button to do all collapsing/uncollapsing at once. I talked to our design team - a change to the UI has to be carefully considered and weighed up, and this would add quite a lot of extra icons to the UI, and be something that is widely requested. I'm not sure we will be moving forward with this feature request in the immediate future. For now, we can wait and see if there is more desire for this feature. If more users express a need for this, we can consider it. |
@zskelton just another question - is there a particular use case you've got? Do you have a huge amount of specs (like 500+)? Are those E2E or Component specs? Knowing the use cases can help better prioritize and move feature requests to something we can work on. |
Thanks for the feedback; we track all the feedback, once something is requested a few times, and we've got a good idea of the us cases, we will look into it more - for now it's just a nice to have, so I'll leave this one open to get more feedback before we commit to moving forward with any changes. As an aside, if you've got any feedback around component testing, please let me know 💯 |
I propose that we configure this in the config file so that when we initiate the cypress open command, triggering our End-to-End (E2E) testing procedure, all folders are automatically set to close. if someone has over 20 folders and over 30 subfolders its hard to turn all of them off. |
What would you like?
In Cypress Runner, the tests display always with the folder structure open.
Requested Feature: Setting in the config file to allow folders to default to closed.
Each Folder in the list is either opened or closed individually.
Requested Feature: A + and - icon to open/close folders as a group.
Why is this needed?
Allows for visibility of tests in runner to be specific to the group of tests being debugged.
How it Looks Now:
What Could Be Added:
Other
No response
The text was updated successfully, but these errors were encountered: