Skip to content

Commit

Permalink
make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Dec 27, 2024
1 parent 3953ce7 commit b051ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/playwright/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func GetReporter() *TestReporter {
return globalReporter
}

func (r *TestReporter) AddResult(testName string, passed bool, screenshotPath string, message, error string) {
func (r *TestReporter) AddResult(testName string, passed bool, screenshotPath string, message, errorMessage string) {
status := "Passed"
if !passed {
status = "Failed"
Expand Down Expand Up @@ -74,7 +74,7 @@ func (r *TestReporter) AddResult(testName string, passed bool, screenshotPath st
// Add assertion result
testResult.Assertions = append(testResult.Assertions, AssertionResult{
Message: message,
Error: error,
Error: errorMessage,
Status: status,
Screenshot: screenshot,
})
Expand Down

0 comments on commit b051ede

Please sign in to comment.