Skip to content

Commit

Permalink
deploy: 6c33c26
Browse files Browse the repository at this point in the history
  • Loading branch information
qameta-ci committed Oct 2, 2024
1 parent a1ee2e5 commit 7284c7f
Show file tree
Hide file tree
Showing 47 changed files with 704 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
40 changes: 40 additions & 0 deletions 1/app.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 1/data/attachments/7256ad0fcefe4e38.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
some data
2 changes: 2 additions & 0 deletions 1/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 1/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"test with links","uid":"1faa9d44e190099d","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1727871146763,"stop":1727871146793,"duration":30},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["chromium"],"tags":[]}],"name":"behaviors"}
Empty file added 1/data/categories.csv
Empty file.
1 change: 1 addition & 0 deletions 1/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 1/data/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","children":[{"name":"legacy.test.ts","children":[{"name":"test with links","uid":"1faa9d44e190099d","parentUid":"e0b7b7d7a0e52aba9baf629738105a65","status":"passed","time":{"start":1727871146763,"stop":1727871146793,"duration":30},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["chromium"],"tags":[]}],"uid":"legacy.test.ts"}],"name":"packages"}
2 changes: 2 additions & 0 deletions 1/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","Wed Oct 02 12:12:26 GMT 2024","Wed Oct 02 12:12:26 GMT 2024","30","chromium","legacy.test.ts","","","","test with links",""
1 change: 1 addition & 0 deletions 1/data/suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"98d3104e051c652961429bf95fa0b5d6","children":[{"name":"chromium","children":[{"name":"legacy.test.ts","children":[{"name":"test with links","uid":"1faa9d44e190099d","parentUid":"ecaa18876c67fb12e2b9cdf8ca930560","status":"passed","time":{"start":1727871146763,"stop":1727871146793,"duration":30},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["chromium"],"tags":[]}],"uid":"ecaa18876c67fb12e2b9cdf8ca930560"}],"uid":"36c900977e1d8b81a2c6893cc82bfc01"}],"name":"suites"}
1 change: 1 addition & 0 deletions 1/data/test-cases/1faa9d44e190099d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"1faa9d44e190099d","name":"test with links","fullName":"legacy.test.ts:4:1","historyId":"b654be547e5be3265f087a65aa25fc09:5bd835b0d6b1d4ada3b9f0db936e82c8","time":{"start":1727871146763,"stop":1727871146793,"duration":30},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"Before Hooks","time":{"start":1727871146764,"stop":1727871146771,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"step 1","time":{"start":1727871146792,"stop":1727871146794,"duration":2},"status":"passed","steps":[{"name":"step 1.2","time":{"start":1727871146793,"stop":1727871146794,"duration":1},"status":"passed","steps":[{"name":"text attachment","time":{"start":1727871146801,"stop":1727871146801,"duration":0},"status":"unknown","steps":[],"attachments":[{"uid":"7256ad0fcefe4e38","name":"text attachment","source":"7256ad0fcefe4e38.txt","type":"text/plain","size":9}],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":1,"hasContent":true,"attachmentStep":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":1,"attachmentsCount":1,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":2,"attachmentsCount":1,"hasContent":true,"attachmentStep":false},{"name":"step 2","time":{"start":1727871146795,"stop":1727871146795,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"After Hooks","time":{"start":1727871146795,"stop":1727871146797,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":6,"attachmentsCount":1,"hasContent":true,"attachmentStep":false},"afterStages":[],"labels":[{"name":"language","value":"javascript"},{"name":"framework","value":"playwright"},{"name":"package","value":"legacy.test.ts"},{"name":"titlePath","value":" > chromium > legacy.test.ts"},{"name":"host","value":"fv-az1567-252"},{"name":"thread","value":"pid-2194-worker-0"},{"name":"parentSuite","value":"chromium"},{"name":"suite","value":"legacy.test.ts"},{"name":"owner","value":"John Doe x"},{"name":"resultFormat","value":"allure2"}],"parameters":[{"name":"Project","value":"chromium"}],"links":[{"url":"https://example.org"},{"name":"JIRA-2","url":"https://example.org","type":"issue"}],"hidden":false,"retry":false,"extra":{"severity":"normal","owner":"John Doe x","retries":[],"categories":[],"tags":[]},"source":"1faa9d44e190099d.json","parameterValues":["chromium"]}
1 change: 1 addition & 0 deletions 1/data/timeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","children":[{"name":"fv-az1567-252","children":[{"name":"pid-2194-worker-0","children":[{"name":"test with links","uid":"1faa9d44e190099d","parentUid":"5e25a1e39c4391810620ff435b43c267","status":"passed","time":{"start":1727871146763,"stop":1727871146793,"duration":30},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["chromium"],"tags":[]}],"uid":"5e25a1e39c4391810620ff435b43c267"}],"uid":"d23470ae6e3922be3447552bad86080b"}],"name":"timeline"}
11 changes: 11 additions & 0 deletions 1/export/influxDbData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
launch_status failed=0 1727871149000000000
launch_status broken=0 1727871149000000000
launch_status passed=1 1727871149000000000
launch_status skipped=0 1727871149000000000
launch_status unknown=0 1727871149000000000
launch_time duration=30 1727871149000000000
launch_time min_duration=30 1727871149000000000
launch_time max_duration=30 1727871149000000000
launch_time sum_duration=30 1727871149000000000
launch_retries retries=0 1727871149000000000
launch_retries run=1 1727871149000000000
10 changes: 10 additions & 0 deletions 1/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 1/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 30
launch_time_min_duration 30
launch_time_max_duration 30
launch_time_sum_duration 30
launch_retries_retries 0
launch_retries_run 1
Binary file added 1/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions 1/history/categories-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":1,"reportUrl":"https://allure-examples.github.io/playwright-pnpm-esm-ts/1/","reportName":"Allure Report with history","data":{}}]
1 change: 1 addition & 0 deletions 1/history/duration-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":1,"reportUrl":"https://allure-examples.github.io/playwright-pnpm-esm-ts/1/","reportName":"Allure Report with history","data":{"duration":30}}]
1 change: 1 addition & 0 deletions 1/history/history-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":1,"reportUrl":"https://allure-examples.github.io/playwright-pnpm-esm-ts/1/","reportName":"Allure Report with history","data":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1}}]
1 change: 1 addition & 0 deletions 1/history/history.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"b654be547e5be3265f087a65aa25fc09:5bd835b0d6b1d4ada3b9f0db936e82c8":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1},"items":[{"uid":"1faa9d44e190099d","reportUrl":"https://allure-examples.github.io/playwright-pnpm-esm-ts/1//#testresult/1faa9d44e190099d","status":"passed","time":{"start":1727871146763,"stop":1727871146793,"duration":30}}]}}
1 change: 1 addition & 0 deletions 1/history/retry-trend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"buildOrder":1,"reportUrl":"https://allure-examples.github.io/playwright-pnpm-esm-ts/1/","reportName":"Allure Report with history","data":{"run":1,"retry":0}}]
34 changes: 34 additions & 0 deletions 1/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': 'c9674ecf-8066-4583-9aaa-779675bf58cc',
'single_file': false
});
</script>
</body>
</html>
206 changes: 206 additions & 0 deletions 1/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 7284c7f

Please sign in to comment.