MCP.so
登录

E-commerce Test Automation with Cypress MCP Server

@JoanEsquivel

基本信息

分类

浏览器自动化

传输方式

stdio

作者

JoanEsquivel

关于 E-commerce Test Automation with Cypress MCP Server

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.

E-commerce Test Automation with Cypress MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

E-commerce Test Automation with Cypress MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

What is the test application?

The tests are for a mock e-commerce application located at https://v0-imagine-deals.vercel.app.

2

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.

3

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.

4

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.

评论

浏览器自动化 分类下的更多 MCP 服务器