mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
set default timeout to 30000
This commit is contained in:
@@ -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"],
|
||||
|
||||
@@ -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"; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user