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

IATR M1.0 - Add banner when failed test count > 100 #25418

Closed
warrensplayer opened this issue Jan 10, 2023 · 0 comments
Closed

IATR M1.0 - Add banner when failed test count > 100 #25418

warrensplayer opened this issue Jan 10, 2023 · 0 comments
Assignees

Comments

@warrensplayer
Copy link
Contributor

Current state

The query used by the Debug page currently pulls back every failed test in the testsForReview field. This could cause a large amount of data to be returned if a failed build has a large amount of failed tests. This state is not very helpful to a developer to debug a large set of failed tests at the same time.

Desired state
In the DebugContainer component, update the query to set the limit value for the testsForReview field to 100.

If the totalFailed count for the CloudRun, is greater than 100, then show a banner at the bottom of the page that says: "Cypress renders up to 100 failed test results * This run has {totalFailed} failed tests * See all test results in Cypress Cloud". The last part should be a link to the run in the Cloud. This link should be the same as the one used in the page header that says "View in Cypress Cloud"

image.png

Figma: https://www.figma.com/file/PAOozuCxtfetqP8fUVvg0y/branch/QkCp2F69X0qyLo7qnYQ67e/Cypress-App?node-id=21467%3A202325&t=P5M2orPSQj5Xv4IL-1

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

No branches or pull requests

2 participants