From e5bdfb0962b9c5b29ff0bb984bb4b962f51fe8ce Mon Sep 17 00:00:00 2001 From: deadprogram Date: Thu, 11 Sep 2025 13:08:57 +0200 Subject: [PATCH] fix: increase the timeout for chromedp to connect to the headless browser used for running the wasm tests. Also add favicon link to avoid extra fetches during test runs. Signed-off-by: deadprogram --- tests/wasm/setup_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/wasm/setup_test.go b/tests/wasm/setup_test.go index 20f562e8a..53662e1cc 100644 --- a/tests/wasm/setup_test.go +++ b/tests/wasm/setup_test.go @@ -43,6 +43,7 @@ func chromectx(t *testing.T) context.Context { chromedp.Flag("disable-default-apps", true), chromedp.NoFirstRun, chromedp.Headless, + chromedp.WSURLReadTimeout(45*time.Second), ) allocCtx, cancel := chromedp.NewExecAllocator(context.Background(), opts...) @@ -81,6 +82,7 @@ func startServer(t *testing.T) (string, *httptest.Server) { Test +