Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: replace setTimeout with builtinSetTimeout in UI mode test (#34885)
Max Schmitt132d93151cd7
diff --git a/tests/playwright-test/ui-mode-test-output.spec.ts b/tests/playwright-test/ui-mode-test-output.spec.tsindex 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()