# cypress-test-project **Repository Path**: poloyy/cypress-test-project ## Basic Information - **Project Name**: cypress-test-project - **Description**: cypress 项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-08-10 - **Last Updated**: 2022-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 拉取项目 ```bash git clone git@gitee.com:poloyy/cypress-test-project.git cd cypress-test ``` ## 配置环境 ```bash npm install ``` ## 运行项目 ### 打开 Cypress 窗口 ```bash npm run open ``` ### 命令行运行 Cypress,命令行输出运行结果 ```bash npm run cyrun ``` ### 命令行运行 Cypress,自动打开 mochawesome html 报告 ```bash npm run cyrun:open ``` ### 命令行运行 Cypress,并启动静态服务器,可直接访问 html 报告 ```bash npm run serve ``` ![命令行输出访问地址](https://cdn.nlark.com/yuque/0/2022/png/25442796/1660139537076-810f4050-4b05-451c-9533-382096af1088.png) ![浏览器访问地址](https://cdn.nlark.com/yuque/0/2022/png/25442796/1660139559422-d4076fcf-283e-4bce-bbfe-7730eb091067.png) ## 提交项目 ```bash git add . git cz ```