From b7104ddcaa31beb64df5d7ce8c3eed0702fe7fe0 Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Fri, 10 Jan 2025 06:15:34 -0600 Subject: [PATCH] experiment: add frame delay to e2e snapshot --- test/e2e/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/App.tsx b/test/e2e/App.tsx index d7f777a36..239f0c497 100644 --- a/test/e2e/App.tsx +++ b/test/e2e/App.tsx @@ -18,7 +18,7 @@ function App() { function Scene() { useEffect(() => { - requestAnimationFrame(() => ) + requestAnimationFrame(() => document.dispatchEvent(new Event('playright:r3f'))) }, []) return (