From 912240b7a6f7ee1925cdae6492d9fefd3594edd3 Mon Sep 17 00:00:00 2001 From: Lifei Zhou Date: Thu, 26 Mar 2026 07:29:17 +1100 Subject: [PATCH] set default timeout to 30000 --- .../e2e-tests/recordings/recipe-context-isolation.batch.json | 2 +- .../tests/e2e-tests/recordings/recipe-from-session.batch.json | 2 +- ui/desktop/tests/e2e-tests/recordings/recipe-manager.batch.json | 2 +- ui/desktop/tests/e2e-tests/scripts/replay.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/desktop/tests/e2e-tests/recordings/recipe-context-isolation.batch.json b/ui/desktop/tests/e2e-tests/recordings/recipe-context-isolation.batch.json index 43bbfc3548..2b35b31901 100644 --- a/ui/desktop/tests/e2e-tests/recordings/recipe-context-isolation.batch.json +++ b/ui/desktop/tests/e2e-tests/recordings/recipe-context-isolation.batch.json @@ -15,7 +15,7 @@ ["wait", "--text", "Enter value for test_param"], ["find", "placeholder", "Enter value for test_param...", "fill", "42"], ["find", "role", "button", "click", "--name", "Start Recipe"], - ["wait", "--text", "The value of test_param is 42"], + ["wait", "--text", "The value of test_param is 42", "--timeout", "30000"], ["find", "role", "button", "click", "--name", "Home"], ["wait", "[data-testid='chat-input']"], ["find", "testid", "chat-input", "fill", "what is the value of test_param"], diff --git a/ui/desktop/tests/e2e-tests/recordings/recipe-from-session.batch.json b/ui/desktop/tests/e2e-tests/recordings/recipe-from-session.batch.json index f3dc0fee2b..4e455096d2 100644 --- a/ui/desktop/tests/e2e-tests/recordings/recipe-from-session.batch.json +++ b/ui/desktop/tests/e2e-tests/recordings/recipe-from-session.batch.json @@ -6,7 +6,7 @@ ["wait", "[data-testid='recipe-action-button']"], ["find", "testid", "recipe-action-button", "click"], ["wait", "[data-testid='create-recipe-modal']"], - ["wait", "[data-testid='form-state']"], + ["wait", "[data-testid='form-state']", "--timeout", "15000"], ["wait", "--fn", "document.querySelector('[data-testid=\"title-input\"]')?.value.trim().length > 0"], ["wait", "--fn", "document.querySelector('[data-testid=\"description-input\"]')?.value.trim().length > 0"], ["wait", "--fn", "document.querySelector('[data-testid=\"instructions-input\"]')?.value.trim().length > 0"], diff --git a/ui/desktop/tests/e2e-tests/recordings/recipe-manager.batch.json b/ui/desktop/tests/e2e-tests/recordings/recipe-manager.batch.json index 2b67cef656..892dfd1993 100644 --- a/ui/desktop/tests/e2e-tests/recordings/recipe-manager.batch.json +++ b/ui/desktop/tests/e2e-tests/recordings/recipe-manager.batch.json @@ -14,7 +14,7 @@ ["find", "title", "Use recipe", "click"], ["wait", "--text", "Trust and Execute"], ["find", "role", "button", "click", "--name", "Trust and Execute"], - ["wait", "--text", "Because light attracts bugs!"], + ["wait", "--text", "Because light attracts bugs!", "--timeout", "30000"], ["find", "role", "button", "click", "--name", "Recipes"], ["wait", "[title='Edit recipe']"], ["wait", "--text", "Joke Recipe"], diff --git a/ui/desktop/tests/e2e-tests/scripts/replay.sh b/ui/desktop/tests/e2e-tests/scripts/replay.sh index a9ceaf0ff7..6e80c1cfdf 100755 --- a/ui/desktop/tests/e2e-tests/scripts/replay.sh +++ b/ui/desktop/tests/e2e-tests/scripts/replay.sh @@ -39,7 +39,7 @@ fi GLOBAL_ARGS=("--session" "$SESSION_NAME") -DEFAULT_TIMEOUT_MS="${AGENT_BROWSER_DEFAULT_TIMEOUT:-10000}" +DEFAULT_TIMEOUT_MS="${AGENT_BROWSER_DEFAULT_TIMEOUT:-30000}" ts() { date "+%H:%M:%S"; }