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
fix(setCommonPlugins): drop eachElement; use pauseOn instead of pauseOnFail
`eachElement` was removed from CodeceptJS 4.x — it lives on `codeceptjs/effects`
now and was never a plugin in 4.x. Stop adding it to `cfg.plugins`.
`pauseOnFail` is superseded by the `pauseOn` plugin (4.x), which supports
multiple modes (`fail`, `step`, `file`, `url`) controlled via `-p` args.
Register `pauseOn` instead so `-p pauseOn:fail`, `-p pauseOn:step`, etc.
work without config edits.
Tests updated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
4.0.0-beta.3
2
2
3
-
*`setCommonPlugins` now registers `browser` and `aiTrace` as discoverable plugins (not enabled by default — activate via `-p <name>` on the CLI or `enabled: true` in user config). `tryTo`/`retryTo` are no longer added; in 4.x they are imported from `codeceptjs/effects`.
3
+
*`setCommonPlugins` aligned with CodeceptJS 4.x plugin set:
4
+
* Replaces `pauseOnFail` with the newer `pauseOn` plugin (registered, not enabled — activate via `-p pauseOn:fail`, `-p pauseOn:step`, `-p pauseOn:url:...`).
5
+
* Adds `browser` and `aiTrace` as discoverable plugins (not enabled — activate via `-p browser:...` / `-p aiTrace`).
6
+
* Drops `eachElement` — removed from CodeceptJS 4.x; available as `eachElement` import from `codeceptjs/effects`.
7
+
* Drops `tryTo`/`retryTo` plugin entries — also moved to `codeceptjs/effects` in 4.x.
0 commit comments