mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
chore: categories and environment section added to allure report
This commit is contained in:
parent
5d4a6d631d
commit
6a9f43c74e
6
test/e2e/ci/Jenkinsfile
vendored
6
test/e2e/ci/Jenkinsfile
vendored
@ -164,9 +164,15 @@ pipeline {
|
||||
} } }
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always { script {
|
||||
archiveArtifacts('aut/*.log')
|
||||
|
||||
/* Needed to categorize types of errors and add environment section in allure report. */
|
||||
sh 'cp ext/allure_files/categories.json allure-results'
|
||||
sh 'cp ext/allure_files/environment.properties allure-results'
|
||||
|
||||
allure([
|
||||
results: [[path: 'allure-results']],
|
||||
reportBuildPolicy: 'ALWAYS',
|
||||
|
22
test/e2e/ext/allure_files/categories.json
Normal file
22
test/e2e/ext/allure_files/categories.json
Normal file
@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "Skipped tests",
|
||||
"matchedStatuses": ["skipped"]
|
||||
},
|
||||
{
|
||||
"name": "Lookup errors",
|
||||
"messageRegex": ".*LookupError.*"
|
||||
},
|
||||
{
|
||||
"name": "Lost connection",
|
||||
"messageRegex": ".*Lost connection to AUT.*"
|
||||
},
|
||||
{
|
||||
"name": "Connection refused",
|
||||
"messageRegex": ".*connection to AUT refused.*"
|
||||
},
|
||||
{
|
||||
"name": "Assertion errors",
|
||||
"messageRegex": ".*AssertionError.*"
|
||||
}
|
||||
]
|
2
test/e2e/ext/allure_files/environment.properties
Normal file
2
test/e2e/ext/allure_files/environment.properties
Normal file
@ -0,0 +1,2 @@
|
||||
os_platform = linux
|
||||
python_version = Python 3.10
|
Loading…
x
Reference in New Issue
Block a user