We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4214a5 commit 03fc1c1Copy full SHA for 03fc1c1
test/e2e/onCLS-test.js
@@ -641,6 +641,11 @@ describe('onCLS()', async function() {
641
return performance.getEntriesByType('navigation')[0].activationStart;
642
});
643
644
+ // Wait until all images are loaded and rendered, then change to hidden.
645
+ await imagesPainted();
646
+ await stubVisibilityChange('hidden');
647
+
648
649
await beaconCountIs(1);
650
const [cls] = await getBeacons();
651
0 commit comments