fix(tests): add user_agent field to crawler_browser_smoke LaunchOptions
All checks were successful
deploy / test-backend (push) Successful in 19m46s
deploy / test-frontend (push) Successful in 9m54s
deploy / build-and-push (push) Successful in 9m34s
deploy / deploy (push) Successful in 15s

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 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 21:49:22 +02:00
parent 91d058c426
commit 4b6c19979a

View File

@@ -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");