mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
feat: add time limit for StartToGoal
This commit is contained in:
@@ -49,7 +49,7 @@ func TestGameYanglegeyang(t *testing.T) {
|
||||
Android().
|
||||
StartToGoal(userInstruction,
|
||||
option.WithPreMarkOperation(true),
|
||||
option.WithTimeout(300)), // 5 minutes
|
||||
option.WithTimeLimit(300)), // 5 minutes
|
||||
hrp.NewStep("退出抖音 app").
|
||||
Android().
|
||||
AppTerminate("$package_name"),
|
||||
|
||||
Reference in New Issue
Block a user