@ -10,61 +10,61 @@ exports[`wdio-junit-reporter > can format output 4`] = `"{"a":"@@@@@@@@@@@@@@@@@
exports[`wdio-junit-reporter > can format output 5`] = `"{"a":["@","@","@","@","@","@","@","@","@","@","(90 more items)"]}"`;
exports[`wdio-junit-reporter > ensures that capabilities passed to buildJunitXml are not null/undefined 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="9A261FFAZ006DH.android.10_0"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-googlepixel4.10_0.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > ensures that capabilities passed to buildJunitXml are not null/undefined 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="9A261FFAZ006DH.android.10_0"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-googlepixel4.10_0.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="3"failures="1"errors="1"skipped="1"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when error options are set (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"><failuremessage="expectedtruetoequalfalse"><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></failure><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when error options are set (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"><failuremessage="expectedtruetoequalfalse"><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></failure><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when error options are set 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failuremessage="uupsi"><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></failure><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when error options are set 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="3"failures="1"errors="1"skipped="1"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failuremessage="uupsi"><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></failure><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having classNameFormat override with cucumber 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="foo-CucumberJUnitReport-iphone.ios.12_1-Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having classNameFormat override with cucumber 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="foo-CucumberJUnitReport-iphone.ios.12_1-Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having classNameFormat override with mocha 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="foo-chrome.65_0_3325_181.macosx-Myawesomefeature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having classNameFormat override with mocha 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="foo-chrome.65_0_3325_181.macosx-Myawesomefeature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having nested array of suites 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="MyLoginapplication"timestamp="2023-08-22T02:27:55.370Z"time="6.141"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="MyLoginapplication"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync_0.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_Login_application"name="shouldloginwithvalidcredentials"time="6.14"/></testsuite><testsuitename="MyLoginapplication"timestamp="2023-08-22T02:28:01.511Z"time="0.852"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="MyLoginapplication"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync_1.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_Login_application"name="shouldloginwithvalidcredentials"time="0.852"/></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having nested array of suites 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="2"failures="0"errors="0"skipped="0"><testsuitename="MyLoginapplication"timestamp="2023-08-22T02:27:55.370Z"time="6.141"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="MyLoginapplication"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync_0.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_Login_application"name="shouldloginwithvalidcredentials"time="6.14"/></testsuite><testsuitename="MyLoginapplication"timestamp="2023-08-22T02:28:01.511Z"time="0.852"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="MyLoginapplication"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync_1.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_Login_application"name="shouldloginwithvalidcredentials"time="0.852"/></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having nested suites 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Parent"timestamp="2021-08-29T18:23:27.540Z"time="0.01"tests="0"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Parent"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties></testsuite><testsuitename="Child1"timestamp="2021-08-29T18:23:27.541Z"time="0.006"tests="0"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Child1"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties></testsuite><testsuitename="Subchild1"timestamp="2021-08-29T18:23:27.541Z"time="0.005"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Subchild1"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.Parent.Child_1.Sub_child_1"name="test1"time="0.004"/></testsuite><testsuitename="Child2"timestamp="2021-08-29T18:23:27.547Z"time="0.003"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Child2"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.Parent.Child_2"name="test2"time="0.002"><system-out><![CDATA[COMMAND:deleteSession-{}RESULT:undefined]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having nested suites 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="2"failures="0"errors="0"skipped="0"><testsuitename="Parent"timestamp="2021-08-29T18:23:27.540Z"time="0.01"tests="0"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Parent"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties></testsuite><testsuitename="Child1"timestamp="2021-08-29T18:23:27.541Z"time="0.006"tests="0"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Child1"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties></testsuite><testsuitename="Subchild1"timestamp="2021-08-29T18:23:27.541Z"time="0.005"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Subchild1"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.Parent.Child_1.Sub_child_1"name="test1"time="0.004"/></testsuite><testsuitename="Child2"timestamp="2021-08-29T18:23:27.547Z"time="0.003"tests="1"failures="0"errors="0"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Child2"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.Parent.Child_2"name="test2"time="0.002"><system-out><![CDATA[COMMAND:deleteSession-{}RESULT:undefined]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having testSuiteNameFormat override with cucumber 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="foo-suiteNameFormat-Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.foo-suiteNameFormat-Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having testSuiteNameFormat override with cucumber 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="foo-suiteNameFormat-Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.foo-suiteNameFormat-Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having testSuiteNameFormat override with mocha 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="foosuiteNameFormatMyawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when having testSuiteNameFormat override with mocha 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="foosuiteNameFormatMyawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when the addFileAttribute option is set (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"file="file:///features/sample_feature.feature"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when the addFileAttribute option is set (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.755"file="file:///features/sample_feature.feature"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when the addFileAttribute option is set 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"file="/path/to/project/test/specs/sync.spec.js"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"file="/path/to/project/test/specs/sync.spec.js"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"file="/path/to/project/test/specs/sync.spec.js"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output correctly when the addFileAttribute option is set 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="3"failures="1"errors="1"skipped="1"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"file="/path/to/project/test/specs/sync.spec.js"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"file="/path/to/project/test/specs/sync.spec.js"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"file="/path/to/project/test/specs/sync.spec.js"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output for multiple describe blocks 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite><testsuitename="Myawesomefeature3"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature3"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output for multiple describe blocks 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="6"failures="2"errors="2"skipped="2"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite><testsuitename="Myawesomefeature3"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature3"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature3"name="shouldfailatest"time="0.014"><failure/><errormessage="uupsi"/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out><system-err><![CDATA[Error:uupsiatContext.it(/path/to/project/test/specs/sync.spec.js:18:15)at/path/to/project/packages/wdio-sync/src/index.js:28:28atPromise(<anonymous>)atF(/path/to/project/node_modules/core-js/library/modules/_export.js:35:28)atContext.executeSync(/path/to/project/packages/wdio-sync/src/index.js:26:12)at/path/to/project/packages/wdio-sync/src/index.js:161:33]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if after each hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="aftereachhookfortestname"time="0.000002"><failure/><errormessage="aftereach"/><system-err><![CDATA[Error:aftereachstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if after each hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="aftereachhookfortestname"time="0.000002"><failure/><errormessage="aftereach"/><system-err><![CDATA[Error:aftereachstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if before all hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="2"failures="2"errors="2"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="beforeallhook"time="0.000002"><failure/><errormessage="beforeall"/><system-err><![CDATA[Error:beforeallstacktrace]]></system-err></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="afterallhook"time="0.000001"><failure/><errormessage="afterall"/><system-err><![CDATA[Error:afterallstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if before all hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="2"failures="2"errors="2"skipped="0"><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="2"failures="2"errors="2"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="beforeallhook"time="0.000002"><failure/><errormessage="beforeall"/><system-err><![CDATA[Error:beforeallstacktrace]]></system-err></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="afterallhook"time="0.000001"><failure/><errormessage="afterall"/><system-err><![CDATA[Error:afterallstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if before each hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="beforeeachhookfortestname"time="0.000002"><failure/><errormessage="beforeeach"/><system-err><![CDATA[Error:beforeeachstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output if before each hook failed 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Myawesomefeature"timestamp="2019-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="beforeeachhookfortestname"time="0.000002"><failure/><errormessage="beforeeach"/><system-err><![CDATA[Error:beforeeachstacktrace]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output when test is marked as skipped 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="testsuite"timestamp="2021-07-19T12:19:01.029Z"time="0.014"tests="2"failures="0"errors="0"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="testsuite"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.testsuite"name="test"time="0.01"><skipped/><system-err><![CDATA[Stacktrace]]></system-err></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.testsuite"name="test"time="0.002"/></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output when test is marked as skipped 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="2"failures="0"errors="0"skipped="1"><testsuitename="testsuite"timestamp="2021-07-19T12:19:01.029Z"time="0.014"tests="2"failures="0"errors="0"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="testsuite"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.testsuite"name="test"time="0.01"><skipped/><system-err><![CDATA[Stacktrace]]></system-err></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.testsuite"name="test"time="0.002"/></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output with correct information when test is ran against Browserstack for Android apps 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="9A261FFAZ006DH.android.10_0"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-googlepixel4.android.10_0.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output with correct information when test is ran against Browserstack for Android apps 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="9A261FFAZ006DH.android.10_0"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-googlepixel4.android.10_0.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output with correct information when test is ran against Browserstack for iOS apps 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.13.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output with correct information when test is ran against Browserstack for iOS apps 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:10:04.659Z"time="15.907"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.13.Samplefeature"name="Samplescenario"time="1.755"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output without ansi 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > generates xml output without ansi 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><failure/><errormessage="Received:"5""/><system-err><![CDATA[Received:"5"atContext.<anonymous>(/some/file.js:10:15)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > has a suiteNameFormat option for setting names manually 1`] = `"Skipped_ _test"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step fails (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:37:06.927Z"time="17.098"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.983"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed❗Whenstephasfailed⚠️Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step fails (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T19:37:06.927Z"time="17.098"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.983"><failure/><errormessage="expectedtruetoequalfalse"/><system-out><![CDATA[✅Givenstephaspassed❗Whenstephasfailed⚠️Thenstephasfailed]]></system-out><system-err><![CDATA[AssertionError:expectedtruetoequalfalseatWorld.<anonymous>(./step_definitions/steps.js:642:21)]]></system-err></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step throws an error but there is no error object in JSON (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T20:05:44.955Z"time="14.862"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.182"><failure/><error/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstepiscausingerror]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step throws an error but there is no error object in JSON (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T20:05:44.955Z"time="14.862"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.182"><failure/><error/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstepiscausingerror]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step throws an error but there is no error object in JSON 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><error/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked failed if a single scenario step throws an error but there is no error object in JSON 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="3"failures="1"errors="1"skipped="1"><testsuitename="Myawesomefeature"timestamp="2018-04-17T09:10:10.255Z"time="0.745"tests="3"failures="1"errors="1"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="suiteName"value="Myawesomefeature"/><propertyname="capabilities"value="chrome.65_0_3325_181.macosx"/><propertyname="file"value="/path/to/project/test/specs/sync.spec.js"/></properties><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldcandosomething"time="0.727"><system-out><![CDATA[COMMAND:POST/session/4875944f97c944d80e944a399b682656/url-{"url":"http://google.com/"}RESULT:{"url":"http://google.com/"}COMMAND:GET/session/4875944f97c944d80e944a399b682656/title-{}RESULT:{}]]></system-out></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldskipatest"time="0"><skipped/></testcase><testcaseclassname="chrome.65_0_3325_181.macosx.My_awesome_feature"name="shouldfailatest"time="0.014"><failure/><error/><system-out><![CDATA[COMMAND:GET/session/4875944f97c944d80e944a399b682656/log/types-{}RESULT:{}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"browser"}COMMAND:POST/session/4875944f97c944d80e944a399b682656/log-{"type":"driver"}RESULT:{"type":"driver"}RESULT:{"type":"browser"}COMMAND:DELETE/session/4875944f97c944d80e944a399b682656-{}RESULT:{}]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked skipped if a single scenario step is pending (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T19:59:54.847Z"time="15.237"tests="1"failures="0"errors="0"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="0.867"><skipped/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed⚠️Thenstepispending]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > scenario will be marked skipped if a single scenario step is pending (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="0"errors="0"skipped="1"><testsuitename="Samplefeature"timestamp="2019-12-13T19:59:54.847Z"time="15.237"tests="1"failures="0"errors="0"skipped="1"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="0.867"><skipped/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed⚠️Thenstepispending]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > should build the xml if feature and scenario are unordered in JSON (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuites><testsuitename="Samplefeature"timestamp="2019-12-13T20:05:44.955Z"time="14.862"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.182"><failure/><error/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstepiscausingerror]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > should build the xml if feature and scenario are unordered in JSON (Cucumber-style) 1`] = `"<?xmlversion="1.0"encoding="UTF-8"?><testsuitestests="1"failures="1"errors="1"skipped="0"><testsuitename="Samplefeature"timestamp="2019-12-13T20:05:44.955Z"time="14.862"tests="1"failures="1"errors="1"skipped="0"><properties><propertyname="specId"value="0"/><propertyname="featureName"value="Samplefeature"/><propertyname="capabilities"value="iphone.ios.12_1"/><propertyname="featureFile"value="file:///features/sample_feature.feature"/></properties><testcaseclassname="CucumberJUnitReport-iphone.ios.12_1.Samplefeature"name="Samplescenario"time="1.182"><failure/><error/><system-out><![CDATA[✅Givenstephaspassed✅Whenstephaspassed❗Thenstepiscausingerror]]></system-out></testcase></testsuite></testsuites>"`;
exports[`wdio-junit-reporter > should prepare name 1`] = `"Skipped test"`;