diff --git a/e2e/test-utils/storybook.js b/e2e/test-utils/storybook.js index 5f57dd92c39d..801fd0894c5b 100644 --- a/e2e/test-utils/storybook.js +++ b/e2e/test-utils/storybook.js @@ -36,6 +36,11 @@ async function visitStory(page, options) { await page.goto(url); await expect(page).toContainAStory(options); + + // Ensure Plex assets are fully available for accurate VRT + await page.evaluate(async () => { + await document.fonts.ready; + }); } function getStoryUrl({ component, story, id }) {