Skip to content

Commit

Permalink
chore: wi
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 4, 2023
1 parent 209b64f commit a19a6da
Show file tree
Hide file tree
Showing 11 changed files with 1,257 additions and 332 deletions.
206 changes: 206 additions & 0 deletions examples/webapp/12.17.4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"status": "finished",
"startedTestsAt": "2023-09-01T17:40:07.514Z",
"endedTestsAt": "2023-09-01T17:40:09.252Z",
"totalDuration": 1738,
"totalSuites": 1,
"totalTests": 1,
"totalPassed": 0,
"totalPending": 0,
"totalFailed": 1,
"totalSkipped": 0,
"runs": [
{
"stats": {
"suites": 1,
"tests": 1,
"passes": 0,
"pending": 0,
"skipped": 0,
"failures": 1,
"duration": 1738,
"startedAt": "2023-09-01T17:40:07.514Z",
"endedAt": "2023-09-01T17:40:09.252Z"
},
"reporter": "spec",
"reporterStats": {
"suites": 1,
"tests": 1,
"passes": 0,
"pending": 0,
"failures": 1,
"start": "2023-09-01T17:40:07.516Z",
"end": "2023-09-01T17:40:09.255Z",
"duration": 1739
},
"hooks": [
{
"hookName": "before each",
"title": ["\"before each\" hook"],
"body": "function () {\n cy.visit(\"/\");\n}"
},
{
"hookName": "after each",
"title": ["\"after each\" hook"],
"body": "function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"
},
{
"hookName": "after each",
"title": ["\"after each\" hook"],
"body": "() => {\n const afterHook = cy.state(\"runnable\");\n if (afterHook.parent) {\n sendSuite(afterHook.parent);\n }\n}"
},
{
"hookName": "after all",
"title": ["\"after all\" hook"],
"body": "function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"
}
],
"tests": [
{
"title": ["Retries", "Example retries"],
"state": "failed",
"body": "function () {\n throw new Error(\"error message\");\n }",
"displayError": "Error: error message\n at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"attempts": [
{
"state": "failed",
"error": {
"name": "Error",
"message": "error message",
"stack": " at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"codeFrame": {
"line": 9,
"column": 13,
"originalFile": "cypress/e2e/xxx.js",
"relativeFile": "examples/webapp/cypress/e2e/xxx.js",
"absoluteFile": "/Users/debugbit/frontend/cypress/e2e/xxx.js",
"frame": " 7 | },\n 8 | function () {\n> 9 | throw new Error(\"error message\");\n | ^\n 10 | }\n 11 | );\n 12 | });",
"language": "js"
}
},
"videoTimestamp": 2136,
"duration": 814,
"startedAt": "2023-09-01T17:40:07.518Z",
"screenshots": [
{
"name": null,
"takenAt": "2023-09-01T17:40:08.069Z",
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed).png",
"height": 1440,
"width": 2560
}
]
},
{
"state": "failed",
"error": {
"name": "Error",
"message": "error message",
"stack": " at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"codeFrame": {
"line": 9,
"column": 13,
"originalFile": "cypress/e2e/xxx.js",
"relativeFile": "examples/webapp/cypress/e2e/xxx.js",
"absoluteFile": "/Users/debugbit/frontend/cypress/e2e/xxx.js",
"frame": " 7 | },\n 8 | function () {\n> 9 | throw new Error(\"error message\");\n | ^\n 10 | }\n 11 | );\n 12 | });",
"language": "js"
}
},
"videoTimestamp": 2968,
"duration": 295,
"startedAt": "2023-09-01T17:40:08.350Z",
"screenshots": [
{
"name": null,
"takenAt": "2023-09-01T17:40:08.435Z",
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 2).png",
"height": 1440,
"width": 2560
}
]
},
{
"state": "failed",
"error": {
"name": "Error",
"message": "error message",
"stack": " at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"codeFrame": {
"line": 9,
"column": 13,
"originalFile": "cypress/e2e/xxx.js",
"relativeFile": "examples/webapp/cypress/e2e/xxx.js",
"absoluteFile": "/Users/debugbit/frontend/cypress/e2e/xxx.js",
"frame": " 7 | },\n 8 | function () {\n> 9 | throw new Error(\"error message\");\n | ^\n 10 | }\n 11 | );\n 12 | });",
"language": "js"
}
},
"videoTimestamp": 3271,
"duration": 293,
"startedAt": "2023-09-01T17:40:08.653Z",
"screenshots": [
{
"name": null,
"takenAt": "2023-09-01T17:40:08.747Z",
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 3).png",
"height": 1440,
"width": 2560
}
]
},
{
"state": "failed",
"error": {
"name": "Error",
"message": "error message",
"stack": " at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"codeFrame": {
"line": 9,
"column": 13,
"originalFile": "cypress/e2e/xxx.js",
"relativeFile": "examples/webapp/cypress/e2e/xxx.js",
"absoluteFile": "/Users/debugbit/frontend/cypress/e2e/xxx.js",
"frame": " 7 | },\n 8 | function () {\n> 9 | throw new Error(\"error message\");\n | ^\n 10 | }\n 11 | );\n 12 | });",
"language": "js"
}
},
"videoTimestamp": 3576,
"duration": 282,
"startedAt": "2023-09-01T17:40:08.958Z",
"screenshots": [
{
"name": null,
"takenAt": "2023-09-01T17:40:09.050Z",
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 4).png",
"height": 1440,
"width": 2560
}
]
}
]
}
],
"error": null,
"video": "/Users/debugbit/frontend/cypress/videos/xxx.js.mp4",
"spec": {
"fileExtension": ".js",
"baseName": "xxx.js",
"fileName": "xxx",
"specFileExtension": ".js",
"relativeToCommonRoot": "xxx.js",
"specType": "integration",
"name": "cypress/e2e/xxx.js",
"relative": "cypress/e2e/xxx.js",
"absolute": "/Users/debugbit/frontend/cypress/e2e/xxx.js"
},
"shouldUploadVideo": true
}
],
"browserPath": "",
"browserName": "electron",
"browserVersion": "106.0.5249.51",
"osName": "darwin",
"osVersion": "22.1.0",
"cypressVersion": "12.17.4"
}
103 changes: 103 additions & 0 deletions examples/webapp/13.0.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"browserName": "electron",
"browserPath": "",
"browserVersion": "106.0.5249.51",
"cypressVersion": "13.0.0",
"endedTestsAt": "2023-09-01T17:22:35.221Z",
"osName": "darwin",
"osVersion": "22.1.0",
"startedTestsAt": "2023-09-01T17:22:19.552Z",
"totalDuration": 13510,
"totalFailed": 3,
"totalPassed": 1,
"totalPending": 0,
"totalSkipped": 0,
"totalSuites": 2,
"totalTests": 4,
"runs": [
{
"error": null,
"reporter": "spec",
"reporterStats": {
"suites": 1,
"tests": 1,
"passes": 0,
"pending": 0,
"failures": 1,
"start": "2023-09-01T17:22:19.555Z",
"end": "2023-09-01T17:22:21.182Z",
"duration": 1627
},
"screenshots": [
{
"height": 1440,
"name": null,
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed).png",
"takenAt": "2023-09-01T17:22:19.916Z",
"width": 2560
},
{
"height": 1440,
"name": null,
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 2).png",
"takenAt": "2023-09-01T17:22:20.305Z",
"width": 2560
},
{
"height": 1440,
"name": null,
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 3).png",
"takenAt": "2023-09-01T17:22:20.621Z",
"width": 2560
},
{
"height": 1440,
"name": null,
"path": "/Users/debugbit/frontend/cypress/screenshots/xxx.js/Retries -- Example retries (failed) (attempt 4).png",
"takenAt": "2023-09-01T17:22:20.949Z",
"width": 2560
}
],
"spec": {
"absolute": "/Users/debugbit/frontend/cypress/e2e/xxx.js",
"fileExtension": ".js",
"fileName": "retries",
"name": "xxx.js",
"relative": "cypress/e2e/xxx.js"
},
"stats": {
"duration": 1626,
"endedAt": "2023-09-01T17:22:21.178Z",
"failures": 1,
"passes": 0,
"pending": 0,
"startedAt": "2023-09-01T17:22:19.552Z",
"suites": 1,
"tests": 1
},
"tests": [
{
"attempts": [
{
"state": "failed"
},
{
"state": "failed"
},
{
"state": "failed"
},
{
"state": "failed"
}
],
"displayError": "Error: error message\n at Context.eval (webpack://web/./cypress/e2e/xxx.js:9:12)",
"duration": 1564,
"state": "failed",
"title": ["Retries", "Example Retries"]
}
],
"video": "/Users/debugbit/frontend/cypress/videos/xxx.js.mp4"
}
]
}
Loading

0 comments on commit a19a6da

Please sign in to comment.