splunk-cypress-mcp
0
Cypress MCP Test Generator is a project that allows the automatic generation of Cypress tests from natural language prompts using a Model Context Protocol server. It facilitates test creation by translating user descriptions into fully functional Cypress test scripts via VS Code integration.
Cypress MCP Test Generator
This project provides a server implementing the Model Context Protocol (MCP) to generate Cypress tests from natural language descriptions. Key features include:
- Usage: Open the project in VS Code, start the server automatically, type your test description in the command palette to generate Cypress tests.
- How it Works: Processes natural language prompts to generate Cypress commands and assertions. Creates new test files in the cypress/e2e directory.
- Setup: Requires Node.js, npm, and VS Code. Clone the repository, install dependencies, and build the project. Configure VS Code MCP for the server.
- Example Prompts: Include scenarios like navigation, form submissions, and login flows with detailed test generation instructions.
- Troubleshooting: Common issues related to server start, test generation, and VS Code integration with solutions.
- Customization: Modify test templates and commands for custom test generation needs.
- Best Practices for Prompts: Emphasizes specificity in inputs and actions for better test generation.
- Support and Contributing: Offers troubleshooting tips and contribution guidelines. Licensed under the MIT License.