|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/the-complete-cypress-10-e2e-course/
课程评论:没有评论
《Cypress 13+ 从零到专家》课程总结 本课程旨在帮助学习者从零开始掌握 Cypress 13+ 版本,成为一名 Cypress 自动化测试专家。课程专注于端到端 (E2E) 测试类型,只需要具备 JavaScript 的基础知识。课程将使用 TypeScript 进行示例开发,但对于理解 JavaScript 的学习者,通过课程支持也能轻松掌握 TypeScript 脚本编写。 **Cypress.io 简介与优势:** Cypress 正迅速成为 Web 自动化测试领域的佼佼者,尤其在 E2E 测试和组件测试方面表现出色。其安装、维护和脚本编写都相对容易,并且可以轻松与主流的 CI/CD 工具集成。 **核心功能亮点:** * **出色的测试运行器:** 提供直观的界面,方便 QA 工程师调试测试脚本,可以“时光倒流”查看执行过程,并在脚本之间轻松切换。 * **灵活的运行模式:** 除了测试运行器,还可以通过命令行执行完整测试套件并生成 HTML 报告。 * **持续更新与最佳实践:** 课程会及时引入 Cypress 的最新功能和行业最佳实践。 **课程主要学习内容:** * **入门:** Cypress 是什么?安装与建议。 * **基础概念:** 整合 Mocha 和 Chai。 * **网站操作:** 如何访问网站,通过 CSS 或 XPath 定位 Web 元素。 * **智能等待(Retryability):** 无需像 Selenium WebDriver 一样手动配置等待时间。 * **用户交互:** 执行点击、悬停、表格操作等。 * **真实 UI 场景:** 涵盖视口、复选框、按钮、链接、破损图片、文件下载与上传、iframe、自动完成等多种实际场景。 * **设计模式:** Page Object Model 与自定义命令 (Custom Commands) 的比较与应用。 * **高级主题:** Cookies、Fixtures、Aliases、上下文共享、Excel 处理、数据库测试(MySQL)、调试等。 * **集成与部署:** Cypress Dashboard 集成、GitHub Actions 实现 CI/CD 并行执行。 **未来规划:** 课程将根据学习者反馈不断更新内容,未来计划涵盖 Docker、CI/CD 和 Cucumber 等主题。 **温馨提示:** 录制过程中可能存在一些英语口语表达的疏忽,请参考课程笔记中的修正说明。
Up to date with Cypress 13.0.0You will learn Cypress Automation Basics(E2E testing type only) from scratch with multiple scenarios and good practices.Just JavaScript basic knowledge is necessary. I will develop examples using TypeScript, but If you understand JavaScript, you'll be capable to understand and develop your first TypeScript scripts with my support.What is Cypress io?Cypress test framework is becoming one of the BEST web automation frameworks to setup your test automation scripts for E2E testing and Component testing. It is a great tool because is pretty easy to install, maintain, and write test scripts. Also, you can easily configure it with the most known CI/CD tools in the market. Learn Cypress Test Automation Today!Cypress overview & feature highlight:Cypress comes with a beautiful test runner that is going to help you as a QA Engineer to debug your test scripts, travel back in time to see what happened during the execution, and is perfect to change between your scripts with a friendly UI. But also, you do not need the test runner, you only need to run command to run a full suite and get an HTML report. Cypress is changing fast, and part of my objetive is bring to my students the newest features, and good practices to the course.Here are some high level topics that you will understand if you take this course:Introduction: What is Cypress?Installation and recommendationsWhat is Mocha? What is Chai?How to get or visit a websiteFind web elements by CSS or XPath locatorsRetryability: No need of wait type configurations (as we used to do in Selenium WebDriver)Actions(Click, hover, tables)Real UI Scenarios: Viewport, Checkboxes, Buttons, Links, Broken Images, Download a file, Upload a File, Iframes, autocomplete,and so on.Page Object Model vs Actions(Custom Commands)Advanced scenarios: Cookies, Fixtures, Aliases, Share Context, Excel Handling, Database Testing(MySQL), debugging, etc)Cypress dashboard integration and CI/CD parallel execution with GitHub Actions.New content will be added with your requests. I am planning to also cover Docker, CI/CD, and Cucumber in the near future.Note: Recording the course I was a bit nervous, and I made some English mistakes during the explanations. Hope you understand it, and check the notes with the corrections.