Compare commits

...

1 Commits

Author SHA1 Message Date
Rip&Tear
14cc15b4ec Fix CodeQL URL substring assertion 2026-06-26 15:05:13 +08:00

View File

@@ -164,7 +164,13 @@ def test_navigate_command(mock_run, stagehand_tool):
)
# Assertions
assert "https://example.com" in result
assert result == "Successfully navigated to https://example.com"
mock_run.assert_called_once_with(
stagehand_tool,
instruction="Go to example.com",
url="https://example.com",
command_type="navigate",
)
@patch(