change: update summary tags

This commit is contained in:
lilong.129
2024-09-04 14:10:12 +08:00
parent 73e5c0acf6
commit ba8167410c
3 changed files with 7 additions and 3 deletions
+6 -1
View File
@@ -25,7 +25,12 @@ func TestGenHTMLReport(t *testing.T) {
caseSummary2.AddStepResult(stepResult2)
summary.AddCaseSummary(caseSummary2)
err := summary.GenHTMLReport()
err := summary.GenSummary()
if err != nil {
t.Error(err)
}
err = summary.GenHTMLReport()
if err != nil {
t.Error(err)
}