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
* fixed esm compatible def
* test: stop hitting codecept.io live site for flake-prone selectors
The .frameworks/.mountains/[alt="React"] and .logo selectors no longer
exist on the new codecept.io homepage, so two specs went red:
- Playwright_test.js: 'should wait for invisible combined with dontseeElement'
- WebDriver_test.js: 'should check text is not equal to empty string of element text'
Point both at the local /info fixture using elements that already exist
there (#grab-multiple, a[id="first-link"], #grab-css, #p-no-text).
Same assertions, no external network dependency.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: DavertMik <davert@testomat.io>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/plugins.md
+36-36Lines changed: 36 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,79 +9,79 @@ title: Plugins
9
9
10
10
CodeceptJS bundles the following plugins. Each plugin has its own page with full configuration reference.
11
11
12
-
## [pause](/plugins/pause)
12
+
## [aiTrace](/plugins/aiTrace)
13
13
14
-
Pauses test execution interactively. Replaces the legacy `pauseOnFail` plugin. The default `on=fail` matches the old `pauseOnFail` behavior.
14
+
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.
15
15
16
-
## [pageInfo](/plugins/pageInfo)
16
+
## [analyze](/plugins/analyze)
17
17
18
-
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.
18
+
Uses AI to analyze test failures and provide insights
19
19
20
-
## [expose](/plugins/expose)
20
+
## [auth](/plugins/auth)
21
21
22
-
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:
22
+
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.
23
23
24
-
## [junitReporter](/plugins/junitReporter)
24
+
## [autoDelay](/plugins/autoDelay)
25
25
26
-
Generates a JUnit-compatible XML report after a test run.
26
+
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.
27
+
28
+
## [browser](/plugins/browser)
29
+
30
+
Overrides browser helper config from the command line. Works for all browser helpers (Playwright, Puppeteer, WebDriver, Appium) without touching `codecept.conf`.
27
31
28
32
## [coverage](/plugins/coverage)
29
33
30
34
Dumps code coverage from Playwright/Puppeteer after every test.
31
35
32
-
## [screenshot](/plugins/screenshot)
36
+
## [customLocator](/plugins/customLocator)
33
37
34
-
Saves screenshots from the browser at points triggered by `on=`.
38
+
Creates a [custom locator][1] by using special attributes in HTML.
35
39
36
-
## [screencast](/plugins/screencast)
40
+
## [customReporter](/plugins/customReporter)
37
41
38
-
Records WebM video of tests using Playwright's screencast API.
42
+
Sample custom reporter for CodeceptJS.
39
43
40
-
## [customLocator](/plugins/customLocator)
44
+
## [expose](/plugins/expose)
41
45
42
-
Creates a [custom locator][1] by using special attributes in HTML.
46
+
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:
43
47
44
-
## [aiTrace](/plugins/aiTrace)
48
+
## [heal](/plugins/heal)
45
49
46
-
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.
50
+
Self-healing tests with AI.
47
51
48
-
## [auth](/plugins/auth)
52
+
## [junitReporter](/plugins/junitReporter)
49
53
50
-
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.
54
+
Generates a JUnit-compatible XML report after a test run.
51
55
52
-
## [pauseOnFail](/plugins/pauseOnFail)
56
+
## [pageInfo](/plugins/pageInfo)
53
57
54
-
Starts an interactive pause when a test fails.
58
+
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.
55
59
56
-
## [analyze](/plugins/analyze)
60
+
## [pause](/plugins/pause)
57
61
58
-
Uses AI to analyze test failures and provide insights
62
+
Pauses test execution interactively. Replaces the legacy `pauseOnFail` plugin. The default `on=fail` matches the old `pauseOnFail` behavior.
59
63
60
-
## [autoDelay](/plugins/autoDelay)
64
+
## [pauseOnFail](/plugins/pauseOnFail)
61
65
62
-
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.
66
+
Starts an interactive pause when a test fails.
63
67
64
-
## [stepTimeout](/plugins/stepTimeout)
68
+
## [retryFailedStep](/plugins/retryFailedStep)
65
69
66
-
Set timeout for test steps globally.
70
+
Retries each failed step in a test.
67
71
68
-
## [heal](/plugins/heal)
72
+
## [screencast](/plugins/screencast)
69
73
70
-
Self-healing tests with AI.
74
+
Records WebM video of tests using Playwright's screencast API.
71
75
72
-
## [customReporter](/plugins/customReporter)
76
+
## [screenshot](/plugins/screenshot)
73
77
74
-
Sample custom reporter for CodeceptJS.
78
+
Saves screenshots from the browser at points triggered by `on=`.
75
79
76
80
## [screenshotOnFail](/plugins/screenshotOnFail)
77
81
78
82
Saves a screenshot when a test fails.
79
83
80
-
## [retryFailedStep](/plugins/retryFailedStep)
81
-
82
-
Retries each failed step in a test.
83
-
84
-
## [browser](/plugins/browser)
84
+
## [stepTimeout](/plugins/stepTimeout)
85
85
86
-
Overrides browser helper config from the command line. Works for all browser helpers (Playwright, Puppeteer, WebDriver, Appium) without touching `codecept.conf`.
0 commit comments