You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cli/CHANGELOG.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,11 @@ _Released 09/12/2023 (PENDING)_
5
5
6
6
**Features:**
7
7
8
-
- Introduce a status icon representing the `latest` test run in the Sidebar for the Runs Page. Addresses [#27206](https://github.com/cypress-io/cypress/issues/27206).
8
+
- Introduces a status icon representing the `latest` test run in the Sidebar for the Runs Page. Addresses [#27206](https://github.com/cypress-io/cypress/issues/27206).
9
+
10
+
**Bugfixes:**
11
+
12
+
- Fixed a regression introduced in Cypress [13.0.0](#13-0-0) where the [Module API](https://docs.cypress.io/guides/guides/module-api), [`after:run`](https://docs.cypress.io/api/plugins/after-run-api), and [`after:spec`](https://docs.cypress.io/api/plugins/after-spec-api) results did not include the `stats.skipped` field for each run result. Fixes [#27694](https://github.com/cypress-io/cypress/issues/27694). Addressed in [#27695](https://github.com/cypress-io/cypress/pull/27695).
Copy file name to clipboardexpand all lines: system-tests/__snapshots__/results_spec.ts.js
+93-16
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ exports['module api and after:run results'] = `
153
153
"failures": 1,
154
154
"passes": 2,
155
155
"pending": 0,
156
+
"skipped": 0,
156
157
"startedAt": "2015-03-18T00:00:00.000Z",
157
158
"suites": 1,
158
159
"tests": 3
@@ -210,11 +211,11 @@ exports['module api and after:run results'] = `
210
211
"error": null,
211
212
"reporter": "spec",
212
213
"reporterStats": {
213
-
"suites": 1,
214
-
"tests": 2,
214
+
"suites": 2,
215
+
"tests": 4,
215
216
"passes": 1,
216
217
"pending": 0,
217
-
"failures": 1,
218
+
"failures": 2,
218
219
"start": "2015-03-18T00:00:00.000Z",
219
220
"end": "2015-03-18T00:00:00.000Z",
220
221
"duration": 100
@@ -254,6 +255,13 @@ exports['module api and after:run results'] = `
254
255
"path": "/path/to/path",
255
256
"takenAt": "2015-03-18T00:00:00.000Z",
256
257
"width": 1000
258
+
},
259
+
{
260
+
"height": 720,
261
+
"name": null,
262
+
"path": "/path/to/path",
263
+
"takenAt": "2015-03-18T00:00:00.000Z",
264
+
"width": 1280
257
265
}
258
266
],
259
267
"spec": {
@@ -266,12 +274,13 @@ exports['module api and after:run results'] = `
266
274
"stats": {
267
275
"duration": 100,
268
276
"endedAt": "2015-03-18T00:00:00.000Z",
269
-
"failures": 1,
277
+
"failures": 2,
270
278
"passes": 1,
271
279
"pending": 0,
280
+
"skipped": 1,
272
281
"startedAt": "2015-03-18T00:00:00.000Z",
273
-
"suites": 1,
274
-
"tests": 2
282
+
"suites": 2,
283
+
"tests": 4
275
284
},
276
285
"tests": [
277
286
{
@@ -304,19 +313,49 @@ exports['module api and after:run results'] = `
304
313
"results spec 1",
305
314
"test 2"
306
315
]
316
+
},
317
+
{
318
+
"attempts": [
319
+
{
320
+
"state": "failed"
321
+
}
322
+
],
323
+
"displayError": ""Error: failure in beforeEach\\n\\nBecause this error occurred during a \`before each\` hook we are skipping the remaining tests in the current suite: \`has skipped tests\`\\n <stack lines>"
"displayError": ""Error: failure in beforeEach\\n\\nBecause this error occurred during a \`before each\` hook we are skipping the remaining tests in the current suite: \`has skipped tests\`\\n <stack lines>"
0 commit comments