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

tests: add tap targets to dobetterweb sample page #8803

Merged
merged 21 commits into from
May 6, 2019

Conversation

mattzeunert
Copy link
Contributor

Summary

Include tap targets in the sample artifacts, so they are part of the tests and the now.sh preview.

@mattzeunert mattzeunert changed the title tests: add tap targets to do better web sample page tests: add tap targets to dobetterweb sample page May 2, 2019
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.

one comment, but otherwise LGTM

@@ -182,6 +182,16 @@ <h2>Do better web tester page</h2>
<!-- FAIL(efficient-animated-content): animated gif found -->
<img src="lighthouse-rotating.gif" width="811" height="462">

<!-- FAIL(tap-targts): buttons too close together -->
Copy link
Member

Choose a reason for hiding this comment

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

this is a little weird because usually the PASS/FAIL markers are indicators for the specific smoke test that it's a pass/fail. yarn smoke dbw doesn't run tap-targets, so it wouldn't be an audit failure.

Buuuuuut, we've been using these test files in multiple tests for a while now (sometimes multiple smoke configs, and this one for sample_v2.json), so maybe it's fine you just have to cross reference the audit id with the config that's running the smoke test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I see what you mean. Maybe the ultimate solution would be to separate the dbw smoke test from the sample page?

@brendankenny
Copy link
Member

might need to rebase this one? Pull sample_v2_round_trip.json and rerun the update:sample-json? That change was brutal for conflicts for some reason

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.

4 participants