@revoloo/cypress6
Version:
Cypress.io end to end testing tool
79 lines (78 loc) • 2.02 kB
JavaScript
exports['lib/reporter #stats has reporterName stats, reporterStats, etc 1'] = {
"stats": {
"suites": 2,
"tests": 2,
"passes": 0,
"pending": 1,
"skipped": 0,
"failures": 1,
"wallClockDuration": 0
},
"reporter": "foo",
"reporterStats": {
"suites": 0,
"tests": 1,
"passes": 0,
"pending": 0,
"failures": 1
},
"hooks": [],
"tests": [
{
"testId": "r4",
"title": [
"TodoMVC - React",
"When page is initially opened",
"should focus on the todo input field"
],
"state": "failed",
"body": "",
"displayError": "at foo:1:1\nat bar:1:1\nat baz:1:1",
"attempts": [
{
"state": "failed",
"error": {
"message": "foo",
"stack": "at foo:1:1\nat bar:1:1\nat baz:1:1",
"codeFrame": {
"line": 7,
"column": 8,
"originalFile": "cypress/integration/spec.js",
"relativeFile": "cypress/integration/spec.js",
"absoluteFile": "/path/to/cypress/integration/spec.js",
"frame": " 5 | \n 6 | it('fails', () => {\n> 7 | cy.get('nope', { timeout: 1 })\n | ^\n 8 | })\n 9 | })\n 10 | ",
"language": "js"
}
},
"timings": null,
"failedFromHookId": null,
"wallClockStartedAt": null,
"wallClockDuration": null,
"videoTimestamp": null
}
]
},
{
"testId": "r5",
"title": [
"TodoMVC - React",
"When page is initially opened",
"does something good"
],
"state": "pending",
"body": "",
"displayError": null,
"attempts": [
{
"state": "pending",
"error": null,
"timings": null,
"failedFromHookId": null,
"wallClockStartedAt": null,
"wallClockDuration": null,
"videoTimestamp": null
}
]
}
]
}