Skip to content

Commit

Permalink
updated base formatter to set a scenario as passed unless there exist…
Browse files Browse the repository at this point in the history
…s a failed step or all steps are undefined
  • Loading branch information
roskee authored and vearutop committed Oct 23, 2023
1 parent c61a939 commit 38bacf0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/formatters/fmt_base.go
Expand Up @@ -106,18 +106,15 @@ func (f *Base) Summary() {

switch sr.Status {
case passed:
prStatus = passed
passedSt++
case failed:
prStatus = failed
failedSt++
case skipped:
skippedSt++
case undefined:
prStatus = undefined
undefinedSt++
case pending:
prStatus = pending
pendingSt++
}
}
Expand Down

0 comments on commit 38bacf0

Please sign in to comment.