-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
desktop-gui: Add toggle buttons to root specs to expand/collapse all their subfolders #6541
desktop-gui: Add toggle buttons to root specs to expand/collapse all their subfolders #6541
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
I'm not sure why there are two failing tests in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martinsik Some linting errors need fixing. You can run yarn lint-fix
in the root of the project to automatically fix these before committing.
@jennifer-shehane I tried running The lint check is now throwing:
But that's on this line which is weird. It might be related to this: eslint/eslint#12165 |
Final cosmetic change after asking team - wanted to move the 'collapse/expand' buttons to the right to clean up the UI clutter some. |
What's the status of this? We have thousands of cy files in many folders, sure would be nice to collapse so we can see structure. An alternative would be to turn it into a table with path field and all column filter. |
@gunslingor This PR was merged a while ago into the old UI. I guess it was rewritten from scratch or redesigned heavily, so even though this PR was merged it's probably not relevant any more. |
User facing changelog
There is now "collapse all" and "expand all" buttons in the Test Runner's 'Tests' tab to collapse or expand all folders within the
integrationFolder
.How has the user experience changed?
This PR adds two buttons to UI next to each root spec name. Clicking "Collapse all" will only collapse subfolders and will keep the root spec expanded.
Collapse All / Expand All
Collapse All /Expand All links not shown when no folders
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?