You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I integrated the Lighthouse plugin for a customer demo and there were a couple of errors related to interaction-to-next-paint, uses-responsive-images-snapshot and work-during-interaction. Although I'm not sure why the audits failed, for the demo purposes I just wanted to skip them while including all the other audits.
I noticed there was a skipAudits option in the lighthousePlugin function, so I tried to exclude the audits with:
But the Lighthouse plugins still failed with the exact same errors as before.
What would you expect to happen?
I expected the Lighthouse plugin to exclude the mentioned audits and therefore to run without error.
What steps did you take?
Since I was building the plugin from source and saw that the filterAuditsAndGroupsByOnlyOptions function takes onlyCategories and onlyAudits into account, but not skipAudits. In order to avoid having to configure a long list of Lighthouse slugs for onlyAudits (I wanted to run all but three), I hacked in some simple changes to the source code to make it work:
What happened?
I integrated the Lighthouse plugin for a customer demo and there were a couple of errors related to
interaction-to-next-paint
,uses-responsive-images-snapshot
andwork-during-interaction
. Although I'm not sure why the audits failed, for the demo purposes I just wanted to skip them while including all the other audits.I noticed there was a
skipAudits
option in thelighthousePlugin
function, so I tried to exclude the audits with:But the Lighthouse plugins still failed with the exact same errors as before.
What would you expect to happen?
I expected the Lighthouse plugin to exclude the mentioned audits and therefore to run without error.
What steps did you take?
Since I was building the plugin from source and saw that the
filterAuditsAndGroupsByOnlyOptions
function takesonlyCategories
andonlyAudits
into account, but notskipAudits
. In order to avoid having to configure a long list of Lighthouse slugs foronlyAudits
(I wanted to run all but three), I hacked in some simple changes to the source code to make it work:Code PushUp package version
not released, built PR #549 branch from source
What operation system are you on?
Linux
Node version
20.11.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered: