Hey, thanks for the request.
For frontend E2E testing, the standard options are:
Automation tools:
- Playwright: a great choice for UI tests, supports many browsers, and has a powerful API for interacting with elements
- Cypress: a popular alternative with a nice dev experience, great for testing complex flows
- Selenium: older, but works everywhere
Cursor Agent + Browser Tools:
Cursor has built-in browser automation tools that the agent can use to interact with web apps. This can help generate test scenarios or debug.
MCP for deeper integration:
If you need integration with external systems (CI/CD, reporting, test data databases), you can set up MCP servers: Model Context Protocol (MCP) | Cursor Docs
Here’s a thread where users share their experience with MCP tools: 🚀 Share Your Experience with MCP Tools
Practical approach:
- Start with Playwright and write basic tests for critical flows
- Use Cursor Agent to generate selectors and test scenarios
- Set up a Page Object Model for larger systems (reduces maintenance)
- Integrate into CI/CD to run tests automatically
What’s your stack? That’ll help me give more specific setup advice.