mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
refactor: simplify AI action execution and improve sub-action handling
This commit is contained in:
@@ -15,9 +15,8 @@ import (
|
||||
|
||||
func TestDriverExt_TapByLLM(t *testing.T) {
|
||||
driver := setupDriverExt(t)
|
||||
subActionResults, err := driver.AIAction(context.Background(), "点击第一个帖子的作者头像")
|
||||
err := driver.AIAction(context.Background(), "点击第一个帖子的作者头像")
|
||||
assert.Nil(t, err)
|
||||
t.Log(subActionResults)
|
||||
|
||||
err = driver.AIAssert("当前在个人介绍页")
|
||||
assert.Nil(t, err)
|
||||
|
||||
Reference in New Issue
Block a user