diff --git a/test/e2e/react-compiler/react-compiler.test.ts b/test/e2e/react-compiler/react-compiler.test.ts index 910bf80f0b..9ed9a04197 100644 --- a/test/e2e/react-compiler/react-compiler.test.ts +++ b/test/e2e/react-compiler/react-compiler.test.ts @@ -20,8 +20,10 @@ describe.each( }) it('should show an experimental warning', async () => { - expect(next.cliOutput).toContain('Experiments (use with caution)') - expect(next.cliOutput).toContain('reactCompiler') + await retry(() => { + expect(next.cliOutput).toContain('Experiments (use with caution)') + expect(next.cliOutput).toContain('reactCompiler') + }) }) it('should render', async () => {