test: update chrome-fallback npx fixture for the get-url response shape

The fallback URL probe now uses 'get url' ({data:{url}}), not
'eval window.location.href' ({data:{result}}); the npx-resolution test's
mocked response predates the #81673 change.
This commit is contained in:
kshitijk4poor
2026-08-31 21:08:46 +05:30
committed by kshitij
parent a9eb06a629
commit 41dfa2d580
+1 -1
View File
@@ -473,7 +473,7 @@ class TestRunChromeFallbackCommandNpxResolution:
captured_cmds.append(cmd)
return mock_proc
url_result = {"success": True, "data": {"result": "https://example.com"}}
url_result = {"success": True, "data": {"url": "https://example.com"}}
with patch("tools.browser_tool._run_browser_command", return_value=url_result), \
patch("tools.browser_tool._find_agent_browser", return_value="npx agent-browser"), \