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

report: ✅ audits should be in Passed Audits #5959

Closed
paulirish opened this issue Sep 5, 2018 · 3 comments
Closed

report: ✅ audits should be in Passed Audits #5959

paulirish opened this issue Sep 5, 2018 · 3 comments

Comments

@paulirish
Copy link
Member

paulirish commented Sep 5, 2018

Can't really explain why the dom-size audit isn't in passed:

image

i mean i can because i originally wanted it to work this way:

// Numeric audits that are within PASS_THRESHOLD will still show up with failing.
// For opportunities, we want to have them show up with other failing for contrast.
// For diagnostics, we sort by score so they'll be lowest priority.
return Number(audit.score) === 1;

but its annoying and just leads to confusion.

we should just use RATINGS.PASS.minScore instead.

@brendankenny
Copy link
Member

Are we covering up the underlying bug? The 0ms results should always pass Number(audit.score) === 1, so it seems like something else is going on with LR.

(the other side of this, hiding passed audits under "Passed Audits" seems fine, though)

@paulirish
Copy link
Member Author

paulirish commented Sep 5, 2018

@brendankenny afaik, that is a separate bug: #5956. right??

@midzer
Copy link
Contributor

midzer commented Sep 7, 2018

@paulirish yes, I just opened PR #5983 for this one

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

No branches or pull requests

3 participants