Test page performance
Assert a Lighthouse performance score on a page in your Flow.
Last updated
Assert a Lighthouse performance score on a page in your Flow.
Performance Checks score the page with Lighthouse while the journey is already open. Use them on key screens so slow loads fail the Run the same way a broken button would.
Use the Flow Builder for this walkthrough.
From the Validator family, add Performance.
Choose a Comparison Type. The default is greater than or equal to.
Set Value to the score your team expects. The default is 85.
Pro tip: Put Performance after the page has finished loading and after any login or consent steps. A score on a half-loaded screen is hard to trust.
You can add SEO, Accessibility, and other Lighthouse Validators on the same screen when you want several scores in one journey. See Add accessibility checks and Test SEO.
Last updated