Skip to content

Commit 81b5ba8

Browse files
author
codeceptjs-bot
committed
chore: sync docs, unified API and releases from CodeceptJS
1 parent a51aab6 commit 81b5ba8

3 files changed

Lines changed: 48 additions & 54 deletions

File tree

src/content/docs/plugins.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,79 +4,79 @@ title: Plugins
44
<!-- Auto-generated by scripts/sync-codeceptjs-docs.mjs from codeceptjs/CodeceptJS@4.x. Do not edit. -->
55
CodeceptJS bundles the following plugins. Each plugin has its own page with full configuration reference.
66

7-
## [pause](/plugins/pause)
7+
## [aiTrace](/plugins/aiTrace)
88

9-
Pauses test execution interactively. Replaces the legacy `pauseOnFail` plugin. The default `on=fail` matches the old `pauseOnFail` behavior.
9+
Generates AI-friendly trace files for debugging with AI agents. This plugin creates a markdown file with test execution logs and links to all artifacts (screenshots, HTML, ARIA snapshots, browser logs, HTTP requests) for each step.
1010

11-
## [pageInfo](/plugins/pageInfo)
11+
## [analyze](/plugins/analyze)
1212

13-
Collects information from web page after each failed test and adds it to the test as an artifact. It is suggested to enable this plugin if you run tests on CI and you need to debug failed tests. This plugin can be paired with `analyze` plugin to provide more context.
13+
Uses AI to analyze test failures and provide insights
1414

15-
## [expose](/plugins/expose)
15+
## [auth](/plugins/auth)
1616

17-
Exposes properties from helper instances as injectable test arguments. Use it to access the underlying Playwright/Puppeteer `page`, the wdio `browser` client, or any other helper internal directly from a Scenario:
17+
Logs user in for the first test and reuses session for next tests. Works by saving cookies into memory or file. If a session expires automatically logs in again.
1818

19-
## [junitReporter](/plugins/junitReporter)
19+
## [autoDelay](/plugins/autoDelay)
2020

21-
Generates a JUnit-compatible XML report after a test run.
21+
Sometimes it takes some time for a page to respond to user's actions. Depending on app's performance this can be either slow or fast.
22+
23+
## [browser](/plugins/browser)
24+
25+
Overrides browser helper config from the command line. Works for all browser helpers (Playwright, Puppeteer, WebDriver, Appium) without touching `codecept.conf`.
2226

2327
## [coverage](/plugins/coverage)
2428

2529
Dumps code coverage from Playwright/Puppeteer after every test.
2630

27-
## [screenshot](/plugins/screenshot)
31+
## [customLocator](/plugins/customLocator)
2832

29-
Saves screenshots from the browser at points triggered by `on=`.
33+
Creates a [custom locator][1] by using special attributes in HTML.
3034

31-
## [screencast](/plugins/screencast)
35+
## [customReporter](/plugins/customReporter)
3236

33-
Records WebM video of tests using Playwright's screencast API.
37+
Sample custom reporter for CodeceptJS.
3438

35-
## [customLocator](/plugins/customLocator)
39+
## [expose](/plugins/expose)
3640

37-
Creates a [custom locator][1] by using special attributes in HTML.
41+
Exposes properties from helper instances as injectable test arguments. Use it to access the underlying Playwright/Puppeteer `page`, the wdio `browser` client, or any other helper internal directly from a Scenario:
3842

39-
## [aiTrace](/plugins/aiTrace)
43+
## [heal](/plugins/heal)
4044

41-
Generates AI-friendly trace files for debugging with AI agents. This plugin creates a markdown file with test execution logs and links to all artifacts (screenshots, HTML, ARIA snapshots, browser logs, HTTP requests) for each step.
45+
Self-healing tests with AI.
4246

43-
## [auth](/plugins/auth)
47+
## [junitReporter](/plugins/junitReporter)
4448

45-
Logs user in for the first test and reuses session for next tests. Works by saving cookies into memory or file. If a session expires automatically logs in again.
49+
Generates a JUnit-compatible XML report after a test run.
4650

47-
## [pauseOnFail](/plugins/pauseOnFail)
51+
## [pageInfo](/plugins/pageInfo)
4852

49-
Starts an interactive pause when a test fails.
53+
Collects information from web page after each failed test and adds it to the test as an artifact. It is suggested to enable this plugin if you run tests on CI and you need to debug failed tests. This plugin can be paired with `analyze` plugin to provide more context.
5054

51-
## [analyze](/plugins/analyze)
55+
## [pause](/plugins/pause)
5256

53-
Uses AI to analyze test failures and provide insights
57+
Pauses test execution interactively. Replaces the legacy `pauseOnFail` plugin. The default `on=fail` matches the old `pauseOnFail` behavior.
5458

55-
## [autoDelay](/plugins/autoDelay)
59+
## [pauseOnFail](/plugins/pauseOnFail)
5660

57-
Sometimes it takes some time for a page to respond to user's actions. Depending on app's performance this can be either slow or fast.
61+
Starts an interactive pause when a test fails.
5862

59-
## [stepTimeout](/plugins/stepTimeout)
63+
## [retryFailedStep](/plugins/retryFailedStep)
6064

61-
Set timeout for test steps globally.
65+
Retries each failed step in a test.
6266

63-
## [heal](/plugins/heal)
67+
## [screencast](/plugins/screencast)
6468

65-
Self-healing tests with AI.
69+
Records WebM video of tests using Playwright's screencast API.
6670

67-
## [customReporter](/plugins/customReporter)
71+
## [screenshot](/plugins/screenshot)
6872

69-
Sample custom reporter for CodeceptJS.
73+
Saves screenshots from the browser at points triggered by `on=`.
7074

7175
## [screenshotOnFail](/plugins/screenshotOnFail)
7276

7377
Saves a screenshot when a test fails.
7478

75-
## [retryFailedStep](/plugins/retryFailedStep)
76-
77-
Retries each failed step in a test.
78-
79-
## [browser](/plugins/browser)
79+
## [stepTimeout](/plugins/stepTimeout)
8080

81-
Overrides browser helper config from the command line. Works for all browser helpers (Playwright, Puppeteer, WebDriver, Appium) without touching `codecept.conf`.
81+
Set timeout for test steps globally.
8282

src/content/docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ My First Test --
107107
Run in headless mode:
108108

109109
```
110-
npx codeceptjs run --headless
110+
npx codeceptjs run --p browser:hide
111111
```
112112

113113
See all available commands in the [CLI reference](https://codecept.io/commands/).

src/content/docs/release.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ description: Latest CodeceptJS releases, pulled from GitHub.
44
---
55
<!-- Auto-generated by bunosh release:pull from codeceptjs/CodeceptJS GitHub Releases. Do not edit. -->
66

7+
## [4.0.1](https://github.com/codeceptjs/CodeceptJS/releases/tag/4.0.1)
8+
9+
_Released 2026-05-23_
10+
11+
### What's Changed
12+
* fixed esm compatible def by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5576
13+
* Fix retryFailedStep ignoredSteps exact-name matching by @gololdf1sh in https://github.com/codeceptjs/CodeceptJS/pull/5571
14+
15+
16+
**Full Changelog**: https://github.com/codeceptjs/CodeceptJS/compare/4.0.0...4.0.1
17+
718
## [4.0.0](https://github.com/codeceptjs/CodeceptJS/releases/tag/4.0.0)
819

920
_Released 2026-05-21_
@@ -155,20 +166,3 @@ _Released 2026-04-22_
155166
_Released 2026-04-21_
156167

157168
_No release notes._
158-
159-
## [4.0.0-rc.14](https://github.com/codeceptjs/CodeceptJS/releases/tag/4.0.0-rc.14) _(pre-release)_
160-
161-
_Released 2026-04-21_
162-
163-
### What's Changed
164-
* add yaml version upd by @DenysKuchma in https://github.com/codeceptjs/CodeceptJS/pull/5513
165-
* fix: process hangs when _beforeSuite helper hook throws by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5515
166-
* feat: page object lifecycle hooks and Data Objects by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5512
167-
* 4.x docs update by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5519
168-
* feat: add codeceptjs/assertions subpath and hopeThat.noErrors() by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5526
169-
* feat(locator): add withClass, negation, and raw-predicate helpers by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5524
170-
* feat: fillField supports rich text editors by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5527
171-
* feat: pauseOn plugin with debug modes and CLI plugin arguments by @DavertMik in https://github.com/codeceptjs/CodeceptJS/pull/5520
172-
173-
174-
**Full Changelog**: https://github.com/codeceptjs/CodeceptJS/compare/4.0.0-rc.12...4.0.0-rc.14

0 commit comments

Comments
 (0)