mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-01 05:49:40 +08:00
refactor: update driver caching mechanism to use generic CacheManager and improve metadata handling
This commit is contained in:
@@ -681,10 +681,10 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) (summary *TestCa
|
||||
for _, cached := range uixt.ListCachedDrivers() {
|
||||
// add WDA/UIA logs to summary
|
||||
logs := map[string]interface{}{
|
||||
"uuid": cached.Serial,
|
||||
"uuid": cached.Key,
|
||||
}
|
||||
|
||||
client := cached.Driver
|
||||
client := cached.Item
|
||||
if client.GetDevice().LogEnabled() {
|
||||
log, err1 := client.StopCaptureLog()
|
||||
if err1 != nil {
|
||||
|
||||
Reference in New Issue
Block a user