MCP.so
ログイン

MCP Test Automation

@syedzubairalam1

基本情報

カテゴリ

生産性

トランスポート

stdio

作者

syedzubairalam1

MCP Test Automation について

概要はまだありません

MCP Test Automation の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Test Automation のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Test Automation?

MCP Test Automation is a test automation project that uses Cucumber.js and Playwright to run browser-based web application tests. It is designed for developers and QA engineers who need to automate end-to-end testing with support for multiple browsers and configurable run modes.

How to use MCP Test Automation?

Install dependencies with npm install, then run tests using commands such as npm run mcp or npm run mcp:headed. Configuration can be adjusted in config/test-config.js or via environment variables like BROWSER, HEADLESS, SLOW_MO, TIMEOUT, and BASE_URL. Specific test suites (e.g., login) and browsers (chromium, firefox, webkit) have dedicated npm scripts.

Key features of MCP Test Automation

  • Runs on Chromium, Firefox, or WebKit
  • Supports headless and headed (visible) browser modes
  • Slow motion mode for debugging (configurable delay)
  • Automatic screenshots on test failure
  • Gherkin feature files for behavior-driven development
  • Environment variable overrides for all major settings
  • Generates HTML test reports

Use cases of MCP Test Automation

  • Run automated regression tests across multiple browser engines
  • Debug flaky tests by running in headed mode with slow motion
  • Integrate into CI/CD pipelines using headless Chromium
  • Test login flows and other critical user journeys via dedicated npm scripts

よくある質問

1

How do I run tests in headed (visible browser) mode?

Use `npm run mcp:headed` to run tests with the browser window visible.

2

What environment variables can I use to configure tests?

`BROWSER`, `HEADLESS`, `SLOW_MO`, `TIMEOUT`, `BASE_URL`, `TEST_USERNAME`, and `TEST_PASSWORD` can override settings in `config/test-config.js`.

3

How do I run tests on a specific browser?

Use the dedicated npm scripts: `npm run mcp:chrome`, `npm run mcp:firefox`, or `npm run mcp:webkit`.

4

Are screenshots captured on test failure?

Yes, if screenshots are enabled in configuration, a screenshot is automatically saved to the `screenshots` directory when a test fails.

5

Can I generate an HTML report of test results?

Yes, run `npm run mcp:report` to generate an HTML test report.

コメント

「生産性」の他のコンテンツ