Skip to content

Commit caf1a79

Browse files
DavertMikDavertMikclaude
authored
Fix/mcp fixes (#5548)
* update docs * updated docs, added browser plugin * MCP run improvmenets and other fixes * test(dry-run): allow other plugins alongside the explicit -p one The new dry-run no longer disables every plugin (only the interactive and external-I/O ones), so the customLocator test now sees `Plugins: screenshot, customLocator` and the strict `toContain('Plugins: customLocator')` assertion fails. Match the plugin list with a regex instead — what we care about is that customLocator was activated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Fixed MCP live interaction * docs(mcp): rewrite for current API + add per-project install warning Update mcp.md to match the current tool surface (cancel, polymorphic pauseAt, settleMs, plugins-only-on-start_browser, availableObjects, WebElement auto-describe, traceFile per scenario) and warn against running the MCP server from a global codeceptjs install. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: DavertMik <davert@testomat.io> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9a39deb commit caf1a79

19 files changed

Lines changed: 1322 additions & 811 deletions

bin/codecept.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ if (process.versions.node && process.versions.node.split('.') && process.version
7272
program.usage('<command> [options]')
7373
program.version(Codecept.version())
7474

75-
program.command('init [path]').description('Creates dummy config in current dir or [path]').action(commandHandler('../lib/command/init.js'))
75+
program
76+
.command('init [path]')
77+
.description('Creates dummy config in current dir or [path]')
78+
.option('-y, --yes', 'skip prompts and use defaults (Playwright + chromium, BASE_URL env for url)')
79+
.action(commandHandler('../lib/command/init.js'))
7680

7781
program
7882
.command('check')

bin/mcp-server.js

100644100755
Lines changed: 247 additions & 82 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)