diff --git a/lighthouse-cli/test/fixtures/byte-efficiency/tester.html b/lighthouse-cli/test/fixtures/byte-efficiency/tester.html index 3167787a13ea..d9d60a25f2dc 100644 --- a/lighthouse-cli/test/fixtures/byte-efficiency/tester.html +++ b/lighthouse-cli/test/fixtures/byte-efficiency/tester.html @@ -31,11 +31,17 @@ document.head.appendChild(style); } +// Add a long task to delay FI +setTimeout(() => { + const start = Date.now(); + while (Date.now() < start + 100) ; +}, 2000); + // Lazily load the image setTimeout(() => { const template = document.getElementById('lazily-loaded-image'); document.body.appendChild(template.content.cloneNode(true)); -}, 6000); +}, 7000);