From 82e4d7636cd8110659348d07401003d4a6f88c5e Mon Sep 17 00:00:00 2001 From: Vladimir Date: Fri, 17 Oct 2025 11:38:41 +0200 Subject: [PATCH] test: increase wdio "inspect" timeout (#8729) --- test/browser/specs/inspect.test.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/browser/specs/inspect.test.ts b/test/browser/specs/inspect.test.ts index 87931be0d..73c6ca77e 100644 --- a/test/browser/specs/inspect.test.ts +++ b/test/browser/specs/inspect.test.ts @@ -20,10 +20,9 @@ test.each(['', 'with workspace'])('--inspect-brk stops at test file %s', async ( await vitest.waitForStdout(`Debugger listening on ws://${REMOTE_DEBUG_URL}`) - const url = await vi.waitFor(() => - fetch(`http://${REMOTE_DEBUG_URL}/json/list`) - .then(response => response.json()) - .then(json => json[0].webSocketDebuggerUrl)) + const url = await vi.waitFor(() => fetch(`http://${REMOTE_DEBUG_URL}/json/list`) + .then(response => response.json()) + .then(json => json[0].webSocketDebuggerUrl), { timeout: 30_000 }) const { receive, send } = await createChannel(url) @@ -47,7 +46,7 @@ test.each(['', 'with workspace'])('--inspect-brk stops at test file %s', async ( await vitest.waitForStdout('Test Files 1 passed (1)') await waitForClose() -}) +}, 60_000) async function createChannel(url: string) { const ws = new WebSocket(url) -- 2.51.2