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

feat: Add filter for failed tests + search #448

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

StefanNemeth
Copy link
Contributor

@StefanNemeth StefanNemeth commented Feb 25, 2025

Motivation

Right now, developers cannot filter specific test cases. Implements #407.

Description

This PR enhances the test results view by introducing two new features:

  • Filter for Failed Tests: Users can now toggle a filter to display only failed tests, making it easier to focus on issues.
  • Search Input for Failed Tests: A search bar has been added to allow users to quickly find specific failed tests by name of the class or method

It also fixes the styling of the results in case the class name of a suite is too long.

Testing Instructions

Within the test results, set the filter to only include failed tests and/or filter by a suite/class name using the search input.

Screenshots

image

Checklist

General

Todos

I'd still like to unify the logic with the table search component before this is not a draft PR anymore.

Copy link

codacy-production bot commented Feb 25, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for bdaf33e1 0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bdaf33e) Report Missing Report Missing Report Missing
Head commit (bec2f97) 5440 327 6.01%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#448) 15 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

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

Successfully merging this pull request may close these issues.

1 participant