Skip to content

Instantly share code, notes, and snippets.

@mfolnovic
Created March 6, 2020 11:24
Show Gist options
  • Save mfolnovic/2da811e5939b2d4ffd8f50ba73b11a10 to your computer and use it in GitHub Desktop.
Save mfolnovic/2da811e5939b2d4ffd8f50ba73b11a10 to your computer and use it in GitHub Desktop.
{
"stats": {
"suites": 1,
"tests": 2,
"passes": 2,
"pending": 0,
"failures": 0,
"start": "2020-03-06T11:14:34.072Z",
"end": "2020-03-06T11:14:36.563Z",
"duration": 2491,
"testsRegistered": 2,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "3887d104-727f-4c35-be98-e12d60315864",
"title": "",
"fullFile": "cypress/integration/Navigation.feature",
"file": "cypress/integration/Navigation.feature",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "d40fa668-e72a-4cb0-aa84-00dd292a0c76",
"title": "Navigation",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "Should go to test 1",
"fullTitle": "Navigation Should go to test 1",
"timedOut": null,
"duration": 1557,
"state": "passed",
"speed": "slow",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "const state = window.testState;\nreturn cy\n .then(() => state.onStartScenario(scenario, indexedSteps))\n .then(() =>\n resolveAndRunBeforeHooks.call(this, scenario.tags, state.feature.name)\n )\n .then(() =>\n indexedSteps.forEach(step => stepTest.call(this, state, step, rowData))\n )\n .then(() =>\n resolveAndRunAfterHooks.call(this, scenario.tags, state.feature.name)\n )\n .then(() => state.onFinishScenario(scenario));",
"err": {},
"uuid": "fdb28f1f-1690-4534-8593-ef800c7708da",
"parentUUID": "d40fa668-e72a-4cb0-aa84-00dd292a0c76",
"isHook": false,
"skipped": false
},
{
"title": "Should go to test 2",
"fullTitle": "Navigation Should go to test 2",
"timedOut": null,
"duration": 890,
"state": "passed",
"speed": "slow",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "const state = window.testState;\nreturn cy\n .then(() => state.onStartScenario(scenario, indexedSteps))\n .then(() =>\n resolveAndRunBeforeHooks.call(this, scenario.tags, state.feature.name)\n )\n .then(() =>\n indexedSteps.forEach(step => stepTest.call(this, state, step, rowData))\n )\n .then(() =>\n resolveAndRunAfterHooks.call(this, scenario.tags, state.feature.name)\n )\n .then(() => state.onFinishScenario(scenario));",
"err": {},
"uuid": "e5c1c953-2dc1-4192-85c7-c9a654515c86",
"parentUUID": "d40fa668-e72a-4cb0-aa84-00dd292a0c76",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"fdb28f1f-1690-4534-8593-ef800c7708da",
"e5c1c953-2dc1-4192-85c7-c9a654515c86"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 2447,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "5.2.0"
},
"mochawesome": {
"options": {
"quiet": true,
"reportFilename": "mochawesome",
"saveHtml": false,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false
},
"version": "4.1.0"
},
"marge": {
"options": {
"id": "default",
"reportDir": "dist/cypress/reports/mocha",
"quiet": true,
"overwrite": false,
"html": false,
"json": true
},
"version": "4.1.0"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment