refactor: move action options to pkg/uixt/options/action

This commit is contained in:
lilong.129
2025-02-06 16:42:16 +08:00
parent f1ef161377
commit 0accec04a9
43 changed files with 982 additions and 911 deletions

View File

@@ -8,6 +8,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/httprunner/httprunner/v5/code"
"github.com/httprunner/httprunner/v5/pkg/uixt"
"github.com/httprunner/httprunner/v5/pkg/uixt/options"
"github.com/rs/zerolog/log"
)
@@ -51,7 +52,7 @@ func screenResultHandler(c *gin.Context) {
return
}
var actionOptions []uixt.ActionOption
var actionOptions []options.ActionOption
if screenReq.Options != nil {
actionOptions = screenReq.Options.Options()
}