MCP.so
ログイン

Playwright Testing Framework

@lupusludens-se

Playwright Testing Framework について

ai_driven_test_automation_with_playwright_cursor_mcp_server

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

lupusludens-se

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "ai_driven_test_automation_with_playwright_cursor_mcp_server": {
      "command": "npx",
      "args": [
        "playwright",
        "install"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

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

概要

What is Playwright Testing Framework?

This project contains UI and API tests for the Zeigo Network Dashboard using Playwright for end-to-end testing. It provides a structured test suite with Page Object Model files, environment-specific configurations, and both CLI and VS Code integration for running tests.

How to use Playwright Testing Framework?

Install Node.js v20 or higher, create a .env file with API_BASE_URL and UI_BASE_URL, then run npm install, npx playwright install, and npm install dotenv. Run tests via VS Code Test Explorer or command line using npx playwright test with various options (headed mode, specific browser, debug, environment-specific). Use the Playwright MCP Server by running npx playwright-mcp in a separate terminal.

Key features of Playwright Testing Framework

  • Cross-browser and cross-platform testing support
  • Multi-language support (TypeScript, JavaScript, Python, .NET, Java)
  • Parallel test execution and built-in debugging tools
  • Page Object Model (POM) structure for maintainable tests
  • Environment-specific test execution (test, preprod)
  • Integration with VS Code Test Explorer and Playwright MCP Server

Use cases of Playwright Testing Framework

  • Automating UI and API tests for the Zeigo Network Dashboard
  • Running regression tests across multiple browsers (Chrome, Safari)
  • Executing tests in CI/CD pipelines with environment variables
  • Debugging tests with headed mode, debug mode, and Codegen
  • Using MCP Servers to enhance testing with up-to-date documentation

FAQ from Playwright Testing Framework

What are the prerequisites for running tests?

Node.js v20 or higher and a .env file with API_BASE_URL and UI_BASE_URL.

Can the Playwright MCP Server run simultaneously with another MCP server?

No, only one MCP Server can run per terminal session. Run them in separate terminals.

What test execution options are available?

Tests can be run via VS Code Test Explorer or command line with options for headed mode, specific browser, debug mode, environment-specific (test/preprod), and test name/filtering.

What is the purpose of the Playwright MCP Server?

It enhances Playwright capabilities for UI testing. Run it with npx playwright-mcp.

Where are test files located?

UI tests in ui-tests/specs/, API tests in api-tests/specs/, with Page Object Model files in pages/ and utilities in utils/.

コメント

「開発者ツール」の他のコンテンツ