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

Expand/collapse all children in spec list (and a few more things) #22431

Open
j1000 opened this issue Jun 21, 2022 · 4 comments
Open

Expand/collapse all children in spec list (and a few more things) #22431

j1000 opened this issue Jun 21, 2022 · 4 comments
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist

Comments

@j1000
Copy link

j1000 commented Jun 21, 2022

What would you like?

Prior to Cypress 10 the spec list had a few abilities for expanding/collapsing that have disappeared with Cypress 10. Rather than go into details about it maybe I should just sum up my requests:

  1. Ability to expand/collapse all children in the spec list
  2. Button to clear the current filter in the spec list
  3. Cookie (or something) to retain the filter if the browser closes (browser relaunches are necessary to mitigate memory leak issues)
  4. Light/dark theme switch for the spec list and test runner
  5. Ability to expand/collapse all children in the test runner

Why is this needed?

This would speed up interactions with the spec list, which would speed up debugging.

The expand/collapse all children feature would benefit the test runner for those of us who group their commands like so:
image

Other

No response

@mjhenkes mjhenkes added the type: enhancement Requested enhancement of existing feature label Jun 22, 2022
@adamwhitlock1
Copy link

I would also like the ability to collapse all nested tests. Navigating to the test manually is really tough for me since the E2E suite that I work in has a huge amount of tests that are deeply nested.

@wongchichong
Copy link

The collapsible setting is a must because it increasing performance for >3K test cases.
Cypress browser DOM updating really slow.
From the video, I just switch to "Testing Preference" to avoid DOM updating, test speed increase 1000 times

20220722-123047-tvq5lsth_RsEy6bDp.mp4

.

@jaikumar-tj
Copy link

Any update on this?

@mschile mschile added triage and removed triage labels Aug 18, 2022
@marktnoonan
Copy link
Contributor

Hi! Thanks for these suggestions, just adding a few notes as some of these have been implemented or have workarounds. This issue can still be used to track the ones that haven't been implemented.

Here's the status of these as of Cypress 10.6.0:

Ability to expand/collapse all children in the spec list

Not implemented.

Button to clear the current filter in the spec list

This is present now (X in the search bar)

Cookie (or something) to retain the filter if the browser closes (browser relaunches are necessary to mitigate memory leak issues)

The filter term is saved for each project now.

Light/dark theme switch for the spec list and test runner

I have a workaround for the short term, a plugin for an optional light theme for the Command Log and the Inline Specs List in the spec runner: https://github.com/marktnoonan/cypress-light-theme

Ability to expand/collapse all children in the test runner

Not implemented.

@nagash77 nagash77 added E2E Issue related to end-to-end testing and removed E2E-core labels Nov 8, 2022
@nagash77 nagash77 added Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. and removed routed-to-e2e labels Apr 19, 2023
@jennifer-shehane jennifer-shehane added type: feature New feature that does not currently exist and removed type: enhancement Requested enhancement of existing feature stage: fire watch Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

9 participants