Playwright MCP YAML (Democratize Quality)
This Node.js test automation framework provides a YAML-based approach to defining, organizing, and executing tests using Playwright MCP Server. The framework supports modular test design through reusable step libraries, comprehensive test case definitions, and organized test suites.
Features
- 🎯 YAML-based Definitions Easy to write and maintain test definitions using simple, human-readable YAML syntax. No complex code required.
- 🚀 Playwright MCP Integration Leverages AI-powered test execution with Playwright MCP Server for intelligent and robust test automation.
- 📊 Rich HTML Reports Comprehensive test results with key statistics, visual feedback, and detailed execution traces.
- 🔧 Environment Support Multiple environment configurations for development, staging, and production testing workflows.
- 📸 Automatic Artifacts Screenshot collection and trace files automatically captured for debugging and documentation.
- 🏗️ CI/CD Ready GitHub Actions workflow included for seamless continuous integration and deployment.
- 🔄 Reusable Step Libraries Modular design with reusable step libraries that can be shared across multiple test cases.
- 🐙 GitHub Integration Automated PR comments, GitHub Pages deployment, and seamless integration with your development workflow.
- 🔍 Advanced Validation Built-in YAML validation ensures your test definitions are correct before execution.
Quick Example
Here's how simple it is to create a test case:
yaml
# test-cases/user-login.yml
name: "User Login Test"
description: "Test user authentication functionality"
tags:
- smoke
- login
- authentication
environment_variables:
- BASE_URL
- TEST_USERNAME
- TEST_PASSWORD
steps:
- include: "navigation"
- include: "login"
- "Verify user dashboard is displayed"
- "Verify user name appears in header"
- include: "cleanup"
Why Choose This Framework?
Key Benefits
- No coding required - Write tests in simple YAML format
- AI-powered execution - Leverage Gemini and Playwright MCP for intelligent test execution
- Modular design - Reuse step libraries across multiple test cases
- Beautiful reports - Get comprehensive HTML reports with screenshots and traces
- CI/CD ready - Seamless integration with GitHub Actions and other CI/CD tools
Getting Started is Easy
- Install the framework and dependencies
- Create your first YAML test files
- Run tests with a single command
- View beautiful HTML reports
Start building your tests now →
Community and Support
- 📚 Documentation - Comprehensive guides and examples
- 💬 Community - Join our discussions on GitHub
- 🐛 Issues - Report bugs and request features
- 🤝 Contributing - Help improve the framework
Built with ❤️ for the testing community