diff --git a/tests/playwright-test/ui-mode-test-output.spec.ts b/tests/playwright-test/ui-mode-test-output.spec.ts index ccec39df74..fa44daabb9 100644 --- a/tests/playwright-test/ui-mode-test-output.spec.ts +++ b/tests/playwright-test/ui-mode-test-output.spec.ts @@ -130,7 +130,7 @@ test('should collapse repeated console messages for test', async ({ runUITest }) await new Promise(resolve => { for (let i = 0; i < 10; ++i) console.log('page message') - setTimeout(() => { + builtinSetTimeout(() => { for (let i = 0; i < 10; ++i) console.log('page message') resolve()