
playwright mcp copilot e2e
使用 Playwright 和 Page Object Model 进行端到端测试,集成 MCP 服务器与 Copilot 工作流。
Repository Info
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
- Install dependencies:
npm install - 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
Clone the repository
git clone https://github.com/jasthitech/playwright-mcp-copilot-e2eInstall dependencies
cd playwright-mcp-copilot-e2e
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.