Skip to content
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

Create a toggle to close/open all folders in Tests list #6282

Open
Mat-Longinow opened this issue Jan 31, 2020 · 3 comments
Open

Create a toggle to close/open all folders in Tests list #6282

Mat-Longinow opened this issue Jan 31, 2020 · 3 comments

Comments

@Mat-Longinow
Copy link

@Mat-Longinow Mat-Longinow commented Jan 31, 2020

Current Behavior:
Currently there seems to be no way to have all your folders defaulted to close when you open up Cypress.

The results is a messy UI that isn't as clean when you try and organize your many Cypress tests into folders.

Desired Behavior:
Have a setting option to default your folders to close on Cypress open that way you can navigate a cleaner interface when you organize your multiple tests into their appropriate folders.

Screen Shot 2020-01-30 at 4 46 20 PM

@jennifer-shehane

This comment has been minimized.

Copy link
Member

@jennifer-shehane jennifer-shehane commented Feb 4, 2020

I would suggest adding something in the interface to click to collapse all folders to satisfy your needs. We would be open to a PR for this.

Saving this as project state or global state would be trickier. Although we are working on interfaces for more configurable 'global' settings from within the UI, this would be a very low priority for us.

specs list code: https://github.com/cypress-io/cypress/blob/develop/packages/desktop-gui/src/specs/specs-list.jsx#L15:L15
specs tests code: https://github.com/cypress-io/cypress/blob/develop/packages/desktop-gui/cypress/integration/specs_list_spec.js

@jennifer-shehane jennifer-shehane changed the title Feature Request: Create toggle in settings to default folders to closed in Cypress interface Create a toggle to close/open all folders in Tests list Feb 4, 2020
@netochaves

This comment has been minimized.

Copy link

@netochaves netochaves commented Feb 4, 2020

Can I take this?

@sabina-rohman

This comment has been minimized.

Copy link

@sabina-rohman sabina-rohman commented Feb 13, 2020

Hi, I am new to open source contributions. Please, assign it to me if it's not assigned to anybody. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.