jasthitech
MCP Serverjasthitechpublic

playwright mcp copilot e2e

使用 Playwright 和 Page Object Model 进行端到端测试,集成 MCP 服务器与 Copilot 工作流。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

使用 Playwright 和 Page Object Model 进行端到端测试,集成 MCP 服务器与 Copilot 工作流。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Playwright MCP Copilot E2E Tests

This repository demonstrates end-to-end (E2E) testing using Playwright, the Playwright MCP server, and GitHub Copilot agent workflows. It uses the Page Object Model (POM) for maintainable and scalable test code.

Features

  • Automated browser tests with Playwright
  • Page Object Model structure (pages/ folder)
  • Example: Search for a movie and assert results
  • Ready for integration with Playwright MCP server and Copilot agent

Project Structure

Tests/
  mcp-login.spec.js           # Main test file
  pages/
    home.page.js              # Home page object (search box, navigation)
    search-results.page.js    # Search results page object (assertions)
package.json
README.md
.gitignore

Getting Started

  1. Install dependencies:
    npm install
    
  2. Run the test:
    node .\Tests\mcp-login.spec.js
    

Notes

  • The node_modules/ folder is ignored via .gitignore.
  • Tests run in headed mode for easy debugging and demo.
  • You can extend the POM and add more tests as needed.

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/jasthitech/playwright-mcp-copilot-e2e
2

Install dependencies

cd playwright-mcp-copilot-e2e
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjasthitech
Repoplaywright-mcp-copilot-e2e
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation