E-commerce Test Automation with Cypress
@JoanEsquivel
About E-commerce Test Automation with Cypress
This is an experimental project to integrate Playwright with MCP. My plan is to conduct in-depth research, understand the intricacies of the integration, and review the best articles on the web to create the optimal version of a project using both technologies.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is E-commerce Test Automation with Cypress?
It is a project containing end-to-end tests for a mock e-commerce application using Cypress with TypeScript and the Page Object Model pattern. The tests automate successful and failed order flows for a demo application at https://v0-imagine-deals.vercel.app.
How to use E-commerce Test Automation with Cypress?
Clone the repository, run npm install, set environment variables (e.g., CYPRESS_USERNAME) in cypress.env.json, then run tests with commands like npm test or npm run test:success for specific flows.
Key features of E-commerce Test Automation with Cypress?
- End-to-end tests for successful and failed order flows
- Uses Cypress with TypeScript and Page Object Model
- Simulates payment scenarios based on order totals
- Environment variables for user credentials
- Commands for headless, GUI, and specific flow testing
Use cases of E-commerce Test Automation with Cypress?
- Automated regression testing of e-commerce checkout flows
- Testing payment success and failure scenarios
- Demonstrating Cypress with Page Object Model pattern
FAQ from E-commerce Test Automation with Cypress
What is the test application?
The tests are for a mock e-commerce application located at https://v0-imagine-deals.vercel.app.
How do I set up environment variables?
Create a cypress.env.json file with CYPRESS_USERNAME, CYPRESS_PASSWORD, and CYPRESS_FAILURE_USERNAME, or set them in a .env file or CI/CD pipeline.
How do I run a specific test flow?
Use npm run test:success for the successful order flow and npm run test:failure for the failed order flow.
How are payment scenarios simulated?
Any total ending in .99 will simulate a declined payment; any total ending in .88 will simulate a network error.
Frequently asked questions
What is the test application?
The tests are for a mock e-commerce application located at https://v0-imagine-deals.vercel.app.
How do I set up environment variables?
Create a `cypress.env.json` file with `CYPRESS_USERNAME`, `CYPRESS_PASSWORD`, and `CYPRESS_FAILURE_USERNAME`, or set them in a `.env` file or CI/CD pipeline.
How do I run a specific test flow?
Use `npm run test:success` for the successful order flow and `npm run test:failure` for the failed order flow.
How are payment scenarios simulated?
Any total ending in .99 will simulate a declined payment; any total ending in .88 will simulate a network error.
Basic information
More Browser Automation MCP servers
Webpage Screenshot MCP Server
ananddtyagiAn MCP that gives your agent the ability to snap a screenshot of webpages. Useful when you want your agent to check its progress during development.
MCP server w/ Browser Use
JovaniPinkFastAPI server implementing MCP protocol Browser automation via browser-use library.
@mendableai/firecrawl Mcp Server
mendableaiThe API to search, scrape, and interact with the web at scale. π₯
Yoyo
firecrawlπ₯ Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
BrowserTools MCP
AgentDeskAIMonitor browser logs directly from Cursor and other MCP compatible IDEs.
Comments