codeceptjs 4.0.0-rc.16 → 4.0.0-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/codecept.js +10 -1
- package/bin/mcp-server.js +541 -172
- package/docs/webapi/seeFileDownloaded.mustache +23 -0
- package/lib/aria.js +260 -0
- package/lib/command/dryRun.js +14 -0
- package/lib/command/list.js +150 -10
- package/lib/config.js +68 -4
- package/lib/container.js +34 -2
- package/lib/helper/Playwright.js +1 -5
- package/lib/helper/extras/PlaywrightReactVueLocator.js +45 -36
- package/lib/html.js +87 -16
- package/lib/locator.js +12 -1
- package/lib/pause.js +38 -4
- package/lib/plugin/aiTrace.js +72 -84
- package/lib/plugin/browser.js +76 -0
- package/lib/plugin/heal.js +44 -1
- package/lib/plugin/pageInfo.js +51 -48
- package/lib/plugin/pause.js +131 -0
- package/lib/plugin/pauseOnFail.js +10 -34
- package/lib/plugin/screencast.js +287 -0
- package/lib/plugin/screenshot.js +563 -0
- package/lib/plugin/screenshotOnFail.js +8 -170
- package/lib/utils/pluginParser.js +151 -0
- package/lib/utils/trace.js +297 -0
- package/lib/utils.js +25 -0
- package/package.json +6 -6
- package/typings/index.d.ts +0 -5
- package/lib/helper/AI.js +0 -214
- package/lib/plugin/pauseOn.js +0 -167
- package/lib/plugin/stepByStepReport.js +0 -432
- package/lib/plugin/subtitles.js +0 -89
package/bin/codecept.js
CHANGED
|
@@ -93,7 +93,14 @@ program
|
|
|
93
93
|
.option(commandFlags.config.flag, commandFlags.config.description)
|
|
94
94
|
.action(commandHandler('../lib/command/interactive.js'))
|
|
95
95
|
|
|
96
|
-
program
|
|
96
|
+
program
|
|
97
|
+
.command('list [path]')
|
|
98
|
+
.alias('l')
|
|
99
|
+
.description('List all actions for I.')
|
|
100
|
+
.option(commandFlags.config.flag, commandFlags.config.description)
|
|
101
|
+
.option('--docs', 'show documentation for each action')
|
|
102
|
+
.option('--action <name>', 'show docs for a single action (e.g. amOnPage or I.amOnPage)')
|
|
103
|
+
.action(commandHandler('../lib/command/list.js'))
|
|
97
104
|
|
|
98
105
|
program
|
|
99
106
|
.command('def [path]')
|
|
@@ -251,6 +258,8 @@ program
|
|
|
251
258
|
.option(commandFlags.steps.flag, commandFlags.steps.description)
|
|
252
259
|
.option(commandFlags.verbose.flag, commandFlags.verbose.description)
|
|
253
260
|
.option(commandFlags.debug.flag, commandFlags.debug.description)
|
|
261
|
+
.option('--no-ansi', 'disable colored / ANSI-styled output')
|
|
262
|
+
.option('--numbers', 'prefix each step with a per-test index number')
|
|
254
263
|
.action(commandHandler('../lib/command/dryRun.js'))
|
|
255
264
|
|
|
256
265
|
program
|