百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

Cypress-Automation

> 测试质量
开源

包含演示 Cypress 自动化工具不同功能的测试脚本以及详细的博客文章。 (请查看 readme)

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

包含演示 Cypress 自动化工具不同功能的测试脚本以及详细的博客文章。 (请查看 readme)

Cypress-Automation

Cypress is a next generation front end testing tool built for the modern web. This is a sample project which you can use to start your E2E testing with Cypress.

How to Start

  1. Clone the project
  2. npm i - Install all the dependencies
  3. There are a lot dependencies that are not updated frequently in parallel with cypress. So while installing if you are seeing conflicts usenpm i --force.
  4. Run npm test to execute the tests in Test Runner | Run npx cypress run to execute the tests in CLI
  5. To create HTML reports execute first npm run test:cli and then npm run create:html:report

Articles on Cypress

  • How to Install Cypress
  • Understanding Cypress Folder Structure
  • How to execute Cypress Tests using Test Runner and CLI
  • Writing your First Test in Cypress
  • How to use Fixtures in Cypress Tests
  • How to use readFile() and writeFile() in Cypress
  • How to interact with multiple elements using each()
  • Conditional Testing (If Else) in Cypress
  • How to upload a file in Cypress
  • How to download a file in Cypress
  • API Testing in Cypress
  • How to chain Multiple APIs in Cypress
  • Mock API Response in Cypress using cy.server() and cy.route()
  • How to handle JS Alert, Confirm and Prompt in Cypress
  • How to use Skip and Only in Cypress
  • How to execute Cypress Tests in order(update for cypress 10)
  • How to handle Shadow DOM in Cypress
  • How to retry tests X number of times in Cypress
  • How to handle Iframes in Cypress
  • How to generate HTML reports in Cypress
  • How to Add Tags like Smoke,E2E to Cypress Tests
  • Cypress Page Object with Locator Functions and Custom Commands
  • Cypress Dashboard
  • How to visually generate tests with no coding in Cypress Studio(Cypress 10 alternative)
  • How to mock an API using cy.intercept()
  • How to integrate cypress with cucumber(Cypress 10 Upgrade)
  • How to hover over elements in Cypress
  • How to perform Database Testing(SQL) in Cypress
  • How to use parents(), parent() and children() commands in Cypress
  • How to perform Drag and Drop on HTML and Angular sites with Cypress
  • How to handle new browser tab and window in Cypress
  • How to use filter(), find() and within() commands in Cypress
  • Commonly used JQuery commands in Cypress
  • How to do recursion in Cypress
  • How to handle basic auth in Cypress
  • Cypress 10 Upgrade

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptcypresscypress-examplecypress-iocypress-testing-library

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类测试质量
定价开源

> 相关工具

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.