DevTools webtests improvements
See original GitHub issueSummary
Now that we’ve started to bring the DevTools testing into core we can start to make them even stronger 😃
Miscellaneous thoughts:
- Move LighthouseTestRunner into core as well so we can make changes to the shared utilities.
- Strengthen audit assertions, for example we had to disable all perf assertions in the past because screenshots were flaky. It would be awesome if we could flip the script to get Chromium’s perspective to consider flaky screenshot collection a bug and fix that instead of disabling the tests that point it out 😃
- Assertions on the rendering of the report. AFAIK all our current tests assert on the LHR are obtained from a spy on internal methods. Some sort of testing that the complete rendering pipeline works would be great for testing PRs like #11411
- A
package.json
script that would build and open the latest Lighthouse in DevTools for manual inspection. - fix caching TTL https://github.com/GoogleChrome/lighthouse/issues/11414#issuecomment-691294975
- remove the TestExpectations that marks one of the tests flaky (probably not flaky anymore)
- startup errors should show error and not timeout https://github.com/GoogleChrome/lighthouse/pull/10630#issuecomment-694400741
- only put
explanation
in snapshots when audit fails - don’t hide output of http server (blocked port hangs)
-
git pull
devtools checkout in.tmp
#11717 #11678
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Migrate Lighthouse data-warning test from webtests to e2e [devtools ...
D test/webtests/http/tests/devtools/lighthouse/lighthouse-clear-data-warning.js ... Luckily, the exercise helped me find a few improvements to the test ...
Read more >What's New In DevTools (Chrome 106)
# Improved call stack during debugging. With the Automatically add known third-party scripts to ignore list setting, the call stack now shows ...
Read more >devtools/devtools-frontend.git - Git at Google
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp. Source code. The frontend is available on...
Read more >1203169 - ☂️ Re-enable disabled DevTools-specific Blink web tests
Issue 1203169: ☂️ Re-enable disabled DevTools-specific Blink web tests · crbug.com/847114 [ Linux ] http/tests/devtools/tracing/decode-resize. · crbug.com/ ...
Read more >What's New In DevTools? - Smashing Magazine
From powerful productivity improvements to entire new panels, ... Chrome DevTools has had an Accessibility panel for some time in the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
wdyt about dropping the need for
wget
?Sucks to have to install it so some scripts can basically
curl
some things 😃I don’t see any unusual things going on, seems like it would be a simple replacement?
I don’t know. At the time I said that I hadn’t looked at #11417 yet 😆 I had it in my head that we wouldn’t have rebuilt for devtools at all if the hash key wasn’t changed (like how the lantern tests work), but now I’m seeing it should’ve been run with a mismatched old DevTools, so I have the same question as you.