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
feat(plugins): drop pauseOn/stepByStepReport, fold slides into screenshot
- Remove lib/plugin/pauseOn.js (never shipped in a public release).
- Remove lib/plugin/stepByStepReport.js; slideshow generation moves into the
screenshot plugin behind slides=true (e.g. -p screenshot:on=step;slides=true)
with a modern, vanilla-CSS dark UI — no Bootstrap, no jQuery.
- Drop the redundant screenshot blocks from the acceptance test configs; the
default in lib/config.js already enables screenshot with on=fail.
- Strip allure mentions from plugin code and plugin docs; refresh PR template,
migration guide, debugging guide, plugins index, and commands docs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/debugging.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ npx codeceptjs run -p pause:on=fail
123
123
124
124
This is the most common debug workflow — run your tests, and when one fails, you land in the interactive shell with the browser in the exact state of the failure. You can inspect elements, try different selectors, and figure out what went wrong.
125
125
126
-
> The legacy `pauseOnFail`and `pauseOn` plugins still work as deprecated aliases.
126
+
> The legacy `pauseOnFail`plugin still works as a deprecated alias.
127
127
128
128
### Pause on Every Step
129
129
@@ -270,20 +270,22 @@ plugins: {
270
270
271
271
### Step-by-Step Report
272
272
273
-
Generates a slideshow of screenshots taken after every step — a visual replay of what the test did:
273
+
Generates a slideshow of screenshots taken after every step — a visual replay of what the test did. Set `slides: true` on the `screenshot` plugin (with `on=step`):
274
274
275
275
```js
276
276
plugins: {
277
-
stepByStepReport: {
277
+
screenshot: {
278
278
enabled:true,
279
+
on:'step',
280
+
slides:true,
279
281
deleteSuccessful:true, // keep only failed tests
280
282
fullPageScreenshots:true,
281
283
}
282
284
}
283
285
```
284
286
285
287
```bash
286
-
npx codeceptjs run -p stepByStepReport
288
+
npx codeceptjs run -p screenshot:on=step;slides=true
287
289
```
288
290
289
291
After the run, open `output/records.html` to browse through the slideshows.
Copy file name to clipboardExpand all lines: docs/migration-4.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,11 +191,11 @@ Inject `login` and call `login('admin')` — same as before.
191
191
192
192
4.x unifies four plugins (`screenshot`, `pause`, `aiTrace`, `heal`) under a shared `on=` parameter. The old names live on as deprecated aliases that emit a warning and forward to the new plugin.
0 commit comments