mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
feat: 优化协议
This commit is contained in:
@@ -292,10 +292,10 @@ func TestDriverExt_AIAction(t *testing.T) {
|
||||
func TestDriverExt_AIAction_CompareWithAIAction(t *testing.T) {
|
||||
driver := setupDriverExt(t)
|
||||
|
||||
prompt := "[目标导向]搜索“张杰演唱会”进入搜索页后停止"
|
||||
prompt := "点击返回按钮"
|
||||
|
||||
// Test both methods with the same prompt
|
||||
aiResult, aiErr := driver.StartToGoal(context.Background(), prompt)
|
||||
aiResult, aiErr := driver.AIAction(context.Background(), prompt)
|
||||
|
||||
// Both should execute without critical errors (may have different implementations)
|
||||
t.Logf("AIAction error: %v", aiErr)
|
||||
|
||||
Reference in New Issue
Block a user