Skip to content

Commit

Permalink
deploy: 41934ca
Browse files Browse the repository at this point in the history
  • Loading branch information
qameta-ci committed Mar 26, 2024
1 parent f07a9fe commit d627018
Show file tree
Hide file tree
Showing 46 changed files with 703 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
40 changes: 40 additions & 0 deletions 4/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 4/data/behaviors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"","","","0","0","1","0","0"
1 change: 1 addition & 0 deletions 4/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"Simple Test","uid":"32e57aca1320d171","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1711436983013,"stop":1711436983079,"duration":66},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"name":"behaviors"}
Empty file added 4/data/categories.csv
Empty file.
1 change: 1 addition & 0 deletions 4/data/categories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4b4757e66a1912dae1a509f688f20b0f","children":[],"name":"categories"}
1 change: 1 addition & 0 deletions 4/data/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","children":[{"name":"com.example.spock","children":[{"name":"Simple Test","uid":"32e57aca1320d171","parentUid":"01c2aaac5c0428889317404543d1a0f7","status":"passed","time":{"start":1711436983013,"stop":1711436983079,"duration":66},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"com.example.spock"}],"name":"packages"}
2 changes: 2 additions & 0 deletions 4/data/suites.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
"passed","Tue Mar 26 07:09:43 GMT 2024","Tue Mar 26 07:09:43 GMT 2024","66","","StepTest","","com.example.spock.StepTest","Simple Test","Simple Test",""
1 change: 1 addition & 0 deletions 4/data/suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"98d3104e051c652961429bf95fa0b5d6","children":[{"name":"StepTest","children":[{"name":"Simple Test","uid":"32e57aca1320d171","parentUid":"ea5a9771c94b5ba0d4170d12e27249ad","status":"passed","time":{"start":1711436983013,"stop":1711436983079,"duration":66},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"ea5a9771c94b5ba0d4170d12e27249ad"}],"name":"suites"}
1 change: 1 addition & 0 deletions 4/data/test-cases/32e57aca1320d171.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"32e57aca1320d171","name":"Simple Test","fullName":"com.example.spock.StepTest.Simple Test","historyId":"228d2b128251cc2afe75968feabef23b","time":{"start":1711436983013,"stop":1711436983079,"duration":66},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"expect","time":{"start":1711436983074,"stop":1711436983074,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":1,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},"afterStages":[],"labels":[{"name":"package","value":"com.example.spock"},{"name":"testClass","value":"com.example.spock.StepTest"},{"name":"testMethod","value":"Simple Test"},{"name":"suite","value":"StepTest"},{"name":"host","value":"fv-az1242-324"},{"name":"thread","value":"[email protected] worker(1)"},{"name":"framework","value":"spock"},{"name":"language","value":"java"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"tags":[]},"source":"32e57aca1320d171.json","parameterValues":[]}
1 change: 1 addition & 0 deletions 4/data/timeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","children":[{"name":"fv-az1242-324","children":[{"name":"[email protected] worker(1)","children":[{"name":"Simple Test","uid":"32e57aca1320d171","parentUid":"655f3d13854fb115294e9f9ff2171f36","status":"passed","time":{"start":1711436983013,"stop":1711436983079,"duration":66},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"655f3d13854fb115294e9f9ff2171f36"}],"uid":"e18fa3aacbf3888681a2fa3346525dfa"}],"name":"timeline"}
11 changes: 11 additions & 0 deletions 4/export/influxDbData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
launch_status failed=0 1711436986000000000
launch_status broken=0 1711436986000000000
launch_status passed=1 1711436986000000000
launch_status skipped=0 1711436986000000000
launch_status unknown=0 1711436986000000000
launch_time duration=66 1711436986000000000
launch_time min_duration=66 1711436986000000000
launch_time max_duration=66 1711436986000000000
launch_time sum_duration=66 1711436986000000000
launch_retries retries=0 1711436986000000000
launch_retries run=1 1711436986000000000
10 changes: 10 additions & 0 deletions 4/export/mail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
11 changes: 11 additions & 0 deletions 4/export/prometheusData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
launch_status_failed 0
launch_status_broken 0
launch_status_passed 1
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 66
launch_time_min_duration 66
launch_time_max_duration 66
launch_time_sum_duration 66
launch_retries_retries 0
launch_retries_run 1
Binary file added 4/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions 4/history/categories-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-4.0-gradle/4/","reportName":"Allure Report with history","data":{}}]
1 change: 1 addition & 0 deletions 4/history/duration-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-4.0-gradle/4/","reportName":"Allure Report with history","data":{"duration":66}}]
1 change: 1 addition & 0 deletions 4/history/history-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-4.0-gradle/4/","reportName":"Allure Report with history","data":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1}}]
1 change: 1 addition & 0 deletions 4/history/history.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"228d2b128251cc2afe75968feabef23b":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1},"items":[{"uid":"32e57aca1320d171","reportUrl":"https://allure-examples.github.io/spock-groovy-4.0-gradle/4//#testresult/32e57aca1320d171","status":"passed","time":{"start":1711436983013,"stop":1711436983079,"duration":66}}]}}
1 change: 1 addition & 0 deletions 4/history/retry-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-4.0-gradle/4/","reportName":"Allure Report with history","data":{"run":1,"retry":0}}]
34 changes: 34 additions & 0 deletions 4/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<title>Allure Report</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="stylesheet" type="text/css" href="plugin/screen-diff/styles.css">
</head>
<body>
<div id="alert"></div>
<div id="content">
<span class="spinner">
<span class="spinner__circle"></span>
</span>
</div>
<div id="popup"></div>
<script src="app.js"></script>
<script src="plugin/behaviors/index.js"></script>
<script src="plugin/packages/index.js"></script>
<script src="plugin/screen-diff/index.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FVWC4GKEYS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-FVWC4GKEYS', {
'allureVersion': 'dev',
'reportUuid': '8446ce74-dff2-486b-aa3a-48967727a9b6',
'single_file': false
});
</script>
</body>
</html>
206 changes: 206 additions & 0 deletions 4/plugin/behaviors/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
'use strict';

allure.api.addTranslation('en', {
tab: {
behaviors: {
name: 'Behaviors'
}
},
widget: {
behaviors: {
name: 'Features by stories',
showAll: 'show all'
}
}
});

allure.api.addTranslation('ru', {
tab: {
behaviors: {
name: 'Функциональность'
}
},
widget: {
behaviors: {
name: 'Функциональность',
showAll: 'показать все'
}
}
});

allure.api.addTranslation('zh', {
tab: {
behaviors: {
name: '功能'
}
},
widget: {
behaviors: {
name: '特性场景',
showAll: '显示所有'
}
}
});

allure.api.addTranslation('de', {
tab: {
behaviors: {
name: 'Verhalten'
}
},
widget: {
behaviors: {
name: 'Features nach Stories',
showAll: 'Zeige alle'
}
}
});

allure.api.addTranslation('nl', {
tab: {
behaviors: {
name: 'Functionaliteit'
}
},
widget: {
behaviors: {
name: 'Features en story’s',
showAll: 'Toon alle'
}
}
});

allure.api.addTranslation('he', {
tab: {
behaviors: {
name: 'התנהגויות'
}
},
widget: {
behaviors: {
name: 'תכונות לפי סיפורי משתמש',
showAll: 'הצג הכול'
}
}
});

allure.api.addTranslation('br', {
tab: {
behaviors: {
name: 'Comportamentos'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por história',
showAll: 'Mostrar tudo'
}
}
});

allure.api.addTranslation('ja', {
tab: {
behaviors: {
name: '振る舞い'
}
},
widget: {
behaviors: {
name: 'ストーリー別の機能',
showAll: '全て表示'
}
}
});

allure.api.addTranslation('es', {
tab: {
behaviors: {
name: 'Funcionalidades'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por Historias de Usuario',
showAll: 'mostrar todo'
}
}
});

allure.api.addTranslation('kr', {
tab: {
behaviors: {
name: '동작'
}
},
widget: {
behaviors: {
name: '스토리별 기능',
showAll: '전체 보기'
}
}
});

allure.api.addTranslation('fr', {
tab: {
behaviors: {
name: 'Comportements'
}
},
widget: {
behaviors: {
name: 'Thèmes par histoires',
showAll: 'Montrer tout'
}
}
});

allure.api.addTranslation('pl', {
tab: {
behaviors: {
name: 'Zachowania'
}
},
widget: {
behaviors: {
name: 'Funkcje według historii',
showAll: 'pokaż wszystko'
}
}
});

allure.api.addTranslation('az', {
tab: {
behaviors: {
name: 'Davranışlar'
}
},
widget: {
behaviors: {
name: 'Hekayələr üzrə xüsusiyyətlər',
showAll: 'hamısını göstər'
}
}
});

allure.api.addTab('behaviors', {
title: 'tab.behaviors.name', icon: 'fa fa-list',
route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.behaviors.name',
baseUrl: 'behaviors',
url: 'data/behaviors.json',
csvUrl: 'data/behaviors.csv'
});
})
});

allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
rowTag: 'a',
title: 'widget.behaviors.name',
baseUrl: 'behaviors',
showLinks: true
}));
Loading

0 comments on commit d627018

Please sign in to comment.