From 132d93151cd7c95a22966d79d11926e6147cc6fa Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 21 Feb 2025 07:38:24 -0800 Subject: [PATCH] test: replace setTimeout with builtinSetTimeout in UI mode test (#34885) --- tests/playwright-test/ui-mode-test-output.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()