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: add auditIds to DOM. update pptr tests to assert against them. #5058

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

paulirish
Copy link
Member

audit ids making it far more clear:
image

Failure that ward, brendan and me faced before:
image

New failure:
image

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sorry you have to update both :S

@@ -30,6 +30,7 @@ class CategoryRenderer {
renderAudit(audit) {
const tmpl = this.dom.cloneTemplate('#tmpl-lh-audit', this.templateContext);
const auditEl = this.dom.find('.lh-audit', tmpl);
auditEl.id = audit.result.name;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't be unique if we do the key/name split, but we can probably cross that bridge when we come to it since we don't have an alternative name at this point

@paulirish paulirish changed the title report: add auditIds to DOM. update pptr tests to assert against them. report: add auditIds to DOM. update pptr tests to assert against them Apr 27, 2018
@paulirish paulirish changed the title report: add auditIds to DOM. update pptr tests to assert against them report: add auditIds to DOM. update pptr tests to assert against them. Apr 27, 2018
@paulirish paulirish merged commit 4326954 into master Apr 27, 2018
@paulirish paulirish deleted the reportidsaregreat branch April 27, 2018 20:22
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