set default timeout to 30000

This commit is contained in:
Lifei Zhou
2026-03-26 07:29:17 +11:00
parent 6c21015807
commit 912240b7a6
4 changed files with 4 additions and 4 deletions
@@ -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"],
@@ -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"],
@@ -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"],
+1 -1
View File
@@ -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"; }