Skip to content

Instantly share code, notes, and snippets.

@Stephane99
Created May 27, 2019 12:55
Show Gist options
  • Save Stephane99/57f23fd5938f71e2e7e49fe9eb543e58 to your computer and use it in GitHub Desktop.
Save Stephane99/57f23fd5938f71e2e7e49fe9eb543e58 to your computer and use it in GitHub Desktop.
Failed retried test doesn't appear in the report's body
{
"stats": {
"suites": 2,
"tests": 1,
"passes": 0,
"pending": 0,
"failures": 1,
"start": "2019-05-27T12:52:49.319Z",
"end": "2019-05-27T12:52:49.342Z",
"duration": 23,
"testsRegistered": 1,
"passPercent": 0,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false,
"passPercentClass": "danger",
"pendingPercentClass": "danger"
},
"suites": {
"uuid": "8db0b65b-5024-4010-b399-8b43ec6dfc11",
"title": "",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "5cdc11d5-3217-484c-aca9-38ac904bd4ac",
"title": "TESTS: Customer creation",
"fullFile": "/mnt/d/projects/aaa/maas-global/end2end/scenarios/test2.spec.js",
"file": "/test2.spec.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "e81fe566-171d-48b9-b62b-9aceff08742d",
"title": "Test retries on describe",
"fullFile": "/mnt/d/projects/aaa/maas-global/end2end/scenarios/test2.spec.js",
"file": "/test2.spec.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "Test always failed",
"fullTitle": "TESTS: Customer creation Test retries on describe Test always failed",
"timedOut": false,
"duration": 5,
"pass": false,
"fail": false,
"pending": false,
"code": "expect(1).to.equal(2);",
"err": {},
"isRoot": false,
"uuid": "96febf42-603c-4116-9526-c472424b7e02",
"isHook": false,
"skipped": true
}
],
"suites": [],
"passes": [],
"failures": [],
"pending": [],
"skipped": [
"96febf42-603c-4116-9526-c472424b7e02"
],
"duration": 5,
"root": false,
"rootEmpty": false,
"_timeout": 10000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": false,
"rootEmpty": false,
"_timeout": 10000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
},
"copyrightYear": 2019
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment