Jenkins only breaks the classname on the last period, using browser as the top level, then the full test filename, then the test names as the levels

This commit is contained in:
Spencer Alger
2013-11-14 09:51:02 -07:00
parent 9ff959e1e6
commit e831b01dab

View File

@ -120,7 +120,7 @@ function collectTestResults(req, resp) {
var testcase = suite.ele('testcase', {
name: testInfo.name,
time: (testInfo.time || 0) / 1000,
classname: browser + '.' + suiteInfo.name.replace(/\.yaml$/, '').replace(/\//g, '.')
classname: browser + '.' + suiteInfo.name.replace(/\.yaml$/, '').replace(/\./g, '_')
});
if (testInfo.errMsg) {