@revoloo/cypress6
Version:
Cypress.io end to end testing tool
2,367 lines (2,363 loc) • 150 kB
JavaScript
exports['src/cypress/runner retries mochaEvents simple retry #1'] = [
[
"mocha",
"start",
{
"start": "match.date"
}
],
[
"mocha",
"suite",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"suite",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"test",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"retry",
{
"id": "r3",
"order": 1,
"title": "test 1",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
},
{
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"pass",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"test end",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"end",
{
"end": "match.date"
}
]
]
exports['src/cypress/runner retries mochaEvents test retry with hooks #1'] = [
[
"mocha",
"start",
{
"start": "match.date"
}
],
[
"mocha",
"suite",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"suite",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"retry",
{
"id": "r3",
"order": 1,
"title": "test 1",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
},
{
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"pass",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"test end",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"end",
{
"end": "match.date"
}
]
]
exports['src/cypress/runner retries mochaEvents test retry with [only] #1'] = [
[
"mocha",
"start",
{
"start": "match.date"
}
],
[
"mocha",
"suite",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"suite",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"order": 1,
"title": "test 2",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test",
{
"id": "r3",
"order": 1,
"title": "test 2",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"retry",
{
"id": "r3",
"order": 1,
"title": "test 2",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
},
{
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"order": 1,
"title": "test 2",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"title": "test 2",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"pass",
{
"id": "r3",
"title": "test 2",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"test end",
{
"id": "r3",
"title": "test 2",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"title": "test 2",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"end",
{
"end": "match.date"
}
]
]
exports['src/cypress/runner retries mochaEvents can retry from [beforeEach] #1'] = [
[
"mocha",
"start",
{
"start": "match.date"
}
],
[
"mocha",
"suite",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"suite",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h1",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"retry",
{
"id": "r3",
"order": 1,
"title": "test 1",
"hookName": "before each",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"failedFromHookId": "h3",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
},
{
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h6",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h6",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"hookName": "before each",
"err": {
"message": "[error message]",
"name": "AssertionError",
"stack": "match.string",
"sourceMappedStack": "match.string",
"parsedStack": "match.array"
},
"state": "failed",
"failedFromHookId": "h3",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"final": false,
"currentRetry": 0,
"retries": 1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h4",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h6",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after each\" hook",
"hookName": "after each",
"hookId": "h6",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h5",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"after all\" hook",
"hookName": "after all",
"hookId": "h5",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"pass",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h5",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"test end",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h5",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"test:after:run",
{
"id": "r3",
"title": "test 1",
"state": "passed",
"body": "[body]",
"type": "test",
"duration": "match.number",
"wallClockStartedAt": "match.date",
"wallClockDuration": "match.number",
"timings": {
"lifecycle": "match.number",
"before each": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"after all": [
{
"hookId": "h5",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"final": true,
"currentRetry": 1,
"retries": 1
}
],
[
"mocha",
"suite end",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"end",
{
"end": "match.date"
}
]
]
exports['src/cypress/runner retries mochaEvents can retry from [afterEach] #1'] = [
[
"mocha",
"start",
{
"start": "match.date"
}
],
[
"mocha",
"suite",
{
"id": "r1",
"title": "",
"root": true,
"type": "suite",
"file": "relative/path/to/spec.js",
"retries": -1
}
],
[
"mocha",
"suite",
{
"id": "r2",
"title": "suite 1",
"root": false,
"type": "suite",
"file": null,
"invocationDetails": "{Object 8}",
"retries": -1
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test:before:run",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"hook end",
{
"id": "r3",
"title": "\"before all\" hook",
"hookName": "before all",
"hookId": "h2",
"body": "[body]",
"type": "hook",
"duration": "match.number",
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": -1
}
],
[
"mocha",
"test",
{
"id": "r3",
"order": 1,
"title": "test 1",
"body": "[body]",
"type": "test",
"wallClockStartedAt": "match.date",
"timings": {
"lifecycle": "match.number",
"before all": [
{
"hookId": "h2",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"before each": [
{
"hookId": "h3",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h4",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
],
"test": {
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
"after each": [
{
"hookId": "h6",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
},
{
"hookId": "h1",
"fnDuration": "match.number",
"afterFnDuration": "match.number"
}
]
},
"file": null,
"invocationDetails": "{Object 8}",
"currentRetry": 0,
"retries": 2
}
],
[
"mocha",
"hook",
{
"id": "r3",
"title": "\"before each\" hook",
"hookName": "before each",
"hookId": "h3",
"body": "[body]",
"type": "hook",
"file": null,
"invocationDetails": "{Object 8}