From 4b6c19979a24ae2e521b499a439d313baf6de984 Mon Sep 17 00:00:00 2001 From: fabi Date: Sun, 14 Jun 2026 21:49:22 +0200 Subject: [PATCH] fix(tests): add user_agent field to crawler_browser_smoke LaunchOptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to the UA fix — the ignored browser smoke test builds LaunchOptions as a struct literal and needs the new user_agent field to compile. Co-Authored-By: Claude Opus 4.8 --- backend/tests/crawler_browser_smoke.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/tests/crawler_browser_smoke.rs b/backend/tests/crawler_browser_smoke.rs index b2df9cf..ac74f60 100644 --- a/backend/tests/crawler_browser_smoke.rs +++ b/backend/tests/crawler_browser_smoke.rs @@ -113,6 +113,7 @@ async fn extra_args_reach_chromium() { let options = LaunchOptions { mode: browser::BrowserMode::Headless, extra_args: vec![format!("--user-agent={UA}")], + user_agent: None, }; let handle = browser::launch(options).await.expect("launch with extra args");