Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix(settings): org update form + schema (#7267)
Shuchang Zhengaa60b3a143b2
diff --git a/tests/unit/test_organization_update_schema.py b/tests/unit/test_organization_update_schema.pyindex 01a2d5e40..3ecd9f4ee 100644--- a/tests/unit/test_organization_update_schema.py+++ b/tests/unit/test_organization_update_schema.py@@ -68,6 +68,12 @@ class TestOrganizationUpdateSchema:with pytest.raises(ValueError):OrganizationUpdate(max_steps_per_run=-1)+ def test_accepts_max_steps_per_run_above_150(self) -> None:+ # This schema is shared with the self-hosted CLI/MCP tool, so it must+ # not carry Skyvern Cloud's frontend-only cap.+ update = OrganizationUpdate(max_steps_per_run=500)+ assert update.model_dump(exclude_unset=True) == {"max_steps_per_run": 500}+def test_rejects_negative_max_retries_per_step(self) -> None:with pytest.raises(ValueError):OrganizationUpdate(max_retries_per_step=-1)