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

Hide skipped tests #14766

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Hide skipped tests #14766

merged 1 commit into from
Oct 23, 2024

Conversation

RobinMalfait
Copy link
Member

Very small quality of life improvement, but let's hide skipped tests. The summary still shows that there are skipped tests, but this makes the UI much better. Especially when debugging a single test, then you don't need to scroll up all the time.

@RobinMalfait RobinMalfait requested a review from a team as a code owner October 23, 2024 16:27
Copy link
Member Author

RobinMalfait commented Oct 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RobinMalfait and the rest of your teammates on Graphite Graphite

This was referenced Oct 23, 2024
@thecrypticace thecrypticace changed the title Hide skipped test Hide skipped tests Oct 23, 2024
@thecrypticace
Copy link
Contributor

This one makes me happy 🥳

@adamwathan
Copy link
Member

Does this one actually need to be part of the @media refactoring stack or can we just merge this one?

Base automatically changed from robin/refactor_media_handling to next October 23, 2024 18:26
When you have a lot of tests, and use a `.only` on a specific test, then
all other tests are still visible in the UI. If you are logging
something, then you always have to scroll up.

To prevent this, we can use this flag to always hide the list of
skipped tests.

Note: the UI itself still has an indication that _something_ is being
skipped:
```console
 Test Files  1 passed (1)
      Tests  1 passed | 97 skipped (98)
   Start at  13:27:14
   Duration  55ms
```
@RobinMalfait RobinMalfait force-pushed the robin/hide_skipped_tests branch from 614cb89 to 5700c5d Compare October 23, 2024 18:27
@RobinMalfait
Copy link
Member Author

@adamwathan can definitely be a separate PR that doesn't need to be part of the stack. In fact, we can just merge this one.

Reason it is part of the stack is because I changed this code while working on #14767, but didn't want to include it in that PR so created a separate branch from it.

@RobinMalfait RobinMalfait enabled auto-merge (squash) October 23, 2024 18:29
@RobinMalfait RobinMalfait merged commit 45c9dce into next Oct 23, 2024
2 checks passed
@RobinMalfait RobinMalfait deleted the robin/hide_skipped_tests branch October 23, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants