Skip to content

Commit

Permalink
- small adjustment to description
Browse files Browse the repository at this point in the history
- fix wrong condition
  • Loading branch information
mikepenz committed Dec 13, 2024
1 parent 481a4a8 commit 5f43cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ inputs:
required: false
default: 'true'
resolve_ignore_classname:
description: 'Force ignore classname in resolveFileAndLine (Fixes nextest annotations)'
description: 'Force ignore test case classname from the xml report (This can help fix issues with some tools/languages)'
required: false
default: 'false'
outputs:
Expand Down
2 changes: 1 addition & 1 deletion src/testParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ async function parseTestCases(
.replace(templateVar('TEST_NAME'), testcase._attributes.name)
.replace(templateVar('CLASS_NAME'), className)
} else if (pos.fileName !== testcase._attributes.name) {
if (resolveIgnoreClassname && testcase._attributes.classname) {
if (!resolveIgnoreClassname && testcase._attributes.classname) {
title = `${testcase._attributes.classname}.${testcase._attributes.name}`
} else {
title = `${pos.fileName}.${testcase._attributes.name}`
Expand Down

0 comments on commit 5f43cd5

Please sign in to comment.