From 986497e0e21e2b176041305e0afaf1afca027017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20L=C3=B3pez?= Date: Fri, 16 Aug 2024 07:59:07 -0500 Subject: [PATCH] Changed xmlbuilder-js attributes for attribs on JUnit reporter (#3231) --- lib/reporters/junit/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reporters/junit/index.js b/lib/reporters/junit/index.js index dc090a35d..447da1bc1 100644 --- a/lib/reporters/junit/index.js +++ b/lib/reporters/junit/index.js @@ -126,7 +126,7 @@ JunitReporter = function (newman, reporterOptions) { testcase.att('time', executionTime.toFixed(3)); // Set the same classname for all the tests - testcase.att('classname', _.get(testcase.up(), 'attributes.name.value', + testcase.att('classname', _.get(testcase.up(), 'attribs.name.value', classname)); if (failures && failures.length) {