change: convert StepResult Attachments to interface, for screenshots saving

This commit is contained in:
debugtalk
2022-08-31 23:16:46 +08:00
parent cf5761836a
commit 5fba76e6e3
8 changed files with 53 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ func TestGenHTMLReport(t *testing.T) {
StepType: stepTypeRequest,
Success: false,
ContentSize: 0,
Attachment: "err",
Attachments: "err",
}
caseSummary1.Records = []*StepResult{stepResult1, stepResult2, nil}
summary.appendCaseSummary(caseSummary1)