Skip to content

Commit

Permalink
deploy: 2042b2e
Browse files Browse the repository at this point in the history
  • Loading branch information
qameta-ci committed Sep 27, 2024
1 parent ee64041 commit afcedb3
Show file tree
Hide file tree
Showing 45 changed files with 702 additions and 6 deletions.
40 changes: 40 additions & 0 deletions 6/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 6/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 6/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"Simple Test","uid":"31a7bd754dab1c49","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1727452702950,"stop":1727452703305,"duration":355},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"name":"behaviors"}
Empty file added 6/data/categories.csv
Empty file.
1 change: 1 addition & 0 deletions 6/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 6/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":"31a7bd754dab1c49","parentUid":"01c2aaac5c0428889317404543d1a0f7","status":"passed","time":{"start":1727452702950,"stop":1727452703305,"duration":355},"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 6/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","Fri Sep 27 15:58:22 GMT 2024","Fri Sep 27 15:58:23 GMT 2024","355","","StepTest","","com.example.spock.StepTest","Simple Test","Simple Test",""
1 change: 1 addition & 0 deletions 6/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":"31a7bd754dab1c49","parentUid":"ea5a9771c94b5ba0d4170d12e27249ad","status":"passed","time":{"start":1727452702950,"stop":1727452703305,"duration":355},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"ea5a9771c94b5ba0d4170d12e27249ad"}],"name":"suites"}
1 change: 1 addition & 0 deletions 6/data/test-cases/31a7bd754dab1c49.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"31a7bd754dab1c49","name":"Simple Test","fullName":"com.example.spock.StepTest.Simple Test","historyId":"228d2b128251cc2afe75968feabef23b","time":{"start":1727452702950,"stop":1727452703305,"duration":355},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"expect","time":{"start":1727452703297,"stop":1727452703298,"duration":1},"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-az1538-585"},{"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":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":3,"unknown":0,"total":3},"items":[{"uid":"f23227edd957380a","reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5//#testresult/f23227edd957380a","status":"passed","time":{"start":1711440501359,"stop":1711440501627,"duration":268}},{"uid":"a2bfe9bf8cc56ea1","reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/4//#testresult/a2bfe9bf8cc56ea1","status":"passed","time":{"start":1711436967738,"stop":1711436968093,"duration":355}}]},"tags":[]},"source":"31a7bd754dab1c49.json","parameterValues":[]}
1 change: 1 addition & 0 deletions 6/data/timeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","children":[{"name":"fv-az1538-585","children":[{"name":"[email protected] worker(1)","children":[{"name":"Simple Test","uid":"31a7bd754dab1c49","parentUid":"71f343aee66bec1234433b390411ffb3","status":"passed","time":{"start":1727452702950,"stop":1727452703305,"duration":355},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"71f343aee66bec1234433b390411ffb3"}],"uid":"2ab88fda587157541669f1f308b4fa50"}],"name":"timeline"}
11 changes: 11 additions & 0 deletions 6/export/influxDbData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
launch_status failed=0 1727452706000000000
launch_status broken=0 1727452706000000000
launch_status passed=1 1727452706000000000
launch_status skipped=0 1727452706000000000
launch_status unknown=0 1727452706000000000
launch_time duration=355 1727452706000000000
launch_time min_duration=355 1727452706000000000
launch_time max_duration=355 1727452706000000000
launch_time sum_duration=355 1727452706000000000
launch_retries retries=0 1727452706000000000
launch_retries run=1 1727452706000000000
10 changes: 10 additions & 0 deletions 6/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 6/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 355
launch_time_min_duration 355
launch_time_max_duration 355
launch_time_sum_duration 355
launch_retries_retries 0
launch_retries_run 1
Binary file added 6/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions 6/history/categories-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":6,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/6/","reportName":"Allure Report with history","data":{}},{"buildOrder":5,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5/","reportName":"Allure Report with history","data":{}},{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/4/","reportName":"Allure Report with history","data":{}}]
1 change: 1 addition & 0 deletions 6/history/duration-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":6,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/6/","reportName":"Allure Report with history","data":{"duration":355}},{"buildOrder":5,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5/","reportName":"Allure Report with history","data":{"duration":268}},{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/4/","reportName":"Allure Report with history","data":{"duration":355}}]
1 change: 1 addition & 0 deletions 6/history/history-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":6,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/6/","reportName":"Allure Report with history","data":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1}},{"buildOrder":5,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5/","reportName":"Allure Report with history","data":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1}},{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/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 6/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":3,"unknown":0,"total":3},"items":[{"uid":"31a7bd754dab1c49","reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/6//#testresult/31a7bd754dab1c49","status":"passed","time":{"start":1727452702950,"stop":1727452703305,"duration":355}},{"uid":"f23227edd957380a","reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5//#testresult/f23227edd957380a","status":"passed","time":{"start":1711440501359,"stop":1711440501627,"duration":268}},{"uid":"a2bfe9bf8cc56ea1","reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/4//#testresult/a2bfe9bf8cc56ea1","status":"passed","time":{"start":1711436967738,"stop":1711436968093,"duration":355}}]}}
1 change: 1 addition & 0 deletions 6/history/retry-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":6,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/6/","reportName":"Allure Report with history","data":{"run":1,"retry":0}},{"buildOrder":5,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/5/","reportName":"Allure Report with history","data":{"run":1,"retry":0}},{"buildOrder":4,"reportUrl":"https://allure-examples.github.io/spock-groovy-3.0-gradlekts/4/","reportName":"Allure Report with history","data":{"run":1,"retry":0}}]
34 changes: 34 additions & 0 deletions 6/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': '33f48666-5a36-4ea2-b82b-c2a0ec1e31cd',
'single_file': false
});
</script>
</body>
</html>
206 changes: 206 additions & 0 deletions 6/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 afcedb3

Please sign in to comment.