GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.02k stars 9.32k forks source link

tests: update network target type expectations #15916

Closed adamraine closed 2 months ago

adamraine commented 3 months ago

Noticed we never unskipped this test even though https://github.com/GoogleChrome/lighthouse/issues/15654 is closed. However, the test is still failing on main so I investigated and found out that --disable-field-trial-config changes which browser target worker requests get assigned to. So the results in api-test-pptr.js will by slightly different than yarn smoke oopif-scripts.

This PR also does some reorg/cleanup on oopif-scripts.js.