Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Upgrade zod, undici and fast-uri in the internal dashboard lockfile (SKY-18965) (#9064)
Shuchang Zheng017fceb4dd1c
diff --git a/tests/unit/test_code_block_captcha.py b/tests/unit/test_code_block_captcha.pyindex fa157b127..c73c0a157 100644--- a/tests/unit/test_code_block_captcha.py+++ b/tests/unit/test_code_block_captcha.py@@ -26,7 +26,6 @@ from skyvern.schemas.self_heal import HealClassification, HealSkipReasonfrom skyvern.webeye.actions.action_types import ActionTypefrom skyvern.webeye.actions.actions import ActionStatusfrom skyvern.webeye.utils import captcha_solver as captcha_solver_module-from skyvern.webeye.utils import challenge_signaturefrom skyvern.webeye.utils.captcha_solver import (MAX_IMAGE_CAPTCHA_READS,CaptchaChallengeUnsolvedError,@@ -1791,24 +1790,6 @@ async def test_a_raising_challenge_frame_does_not_hide_a_visible_one(monkeypatchassert await solve_challenge_ladder(page) is True-class _WedgedChallengeFrame(_WedgedFrame):- url = CHALLENGE_URL---async def test_wedged_challenge_frames_are_bounded_on_the_default_path(monkeypatch: pytest.MonkeyPatch) -> None:- # An absent verdict costs one frame scan plus one rendered-frame probe, each spent once however many frames wedge.- scan, probe = 0.3, 0.2- monkeypatch.setattr(app, "AGENT_FUNCTION", AgentFunction())- monkeypatch.setattr(captcha_solver_module, "_CHILD_FRAME_SCAN_BUDGET_SECONDS", scan)- monkeypatch.setattr(challenge_signature, "_CHALLENGE_FRAME_PROBE_TIMEOUT_SECONDS", probe)- page = FakePage(frames=[_WedgedChallengeFrame() for _ in range(5)])-- started = time.monotonic()- assert await solve_challenge_ladder(page) is False- assert time.monotonic() - started < scan + 2 * probe--@pytest.mark.asyncioasync def test_a_deployment_without_a_vendor_probe_never_reports_the_page_clear(monkeypatch: pytest.MonkeyPatch,