Academind Proのコース
Cypress End-to-End Testing - Getting Started
Learn how to use Cypress to design, build and run powerful and realistic end-to-end (E2E) tests with ease.
- 7セクション · 94件のレクチャー
- 合計6 時間 13 分
このコースについて
You can build features all day, but the moment something breaks in production you’re left guessing: was it your change, a regression, or a weird edge case you didn’t manually click through? If you’ve got little to no end-to-end testing experience, adding reliable automation can feel like a big, unclear leap.
In this course, you’ll get a guided path into writing and running E2E tests with Cypress, a widely used tool for web application testing. You’ll work through the essential ideas step by step, then build up to more advanced capabilities so you’re not just copying snippets—you’re making testing decisions with confidence.
By the end, you’ll be able to add an end-to-end testing workflow to your web projects, automate realistic user journeys, and catch bugs and regressions earlier. You’ll know how to structure tests that run consistently, validate behavior with clear checks, and handle the kinds of scenarios that show up in real apps—not just toy examples.
学べること
You’ll cover the Cypress workflow end-to-end: setup, test design, realistic interactions, and the real-world edge cases that make E2E testing tricky.
- 01
Set up Cypress
Install Cypress and get it running in a web project so you can execute E2E tests reliably during development and when checking for regressions.
- 02
Write E2E test suites
Create automated end-to-end tests that are structured, repeatable, and easy to run—so you can validate critical behavior without relying on manual click-through testing.
- 03
Model real user flows
Select elements and simulate user interactions like button clicks and keyboard typing to reproduce realistic website workflows that mirror how people actually use your app.
- 04
Assert expected behavior
Write strong assertions that clearly express what should happen, helping your tests fail for the right reasons and making debugging faster when something breaks.
- 05
Test third‑party code
Efficiently validate behavior that depends on third‑party code, so your E2E coverage reflects the full user experience instead of only what you control directly.
- 06
Handle auth and data
Deal with network (HTTP) requests and databases in your tests, and cover user authentication flows so protected areas and login-dependent journeys are tested end-to-end.
前提条件
Basic JavaScript knowledge is required.
Basic web development knowledge is required (no specific framework).
No prior Cypress knowledge is required.
このコースの対象者
Intermediate web developers
You build websites confidently, but you haven’t built a real automated testing habit yet. This course gives you a practical way to start adding E2E coverage without needing prior Cypress experience.
Developers shipping features
You’re moving fast and want a safety net that catches regressions before users do. This course helps you turn critical user journeys into automated checks you can run anytime.
Teams adopting E2E
You’re expected to contribute tests to a project, but the workflow and best way to approach E2E testing feels fuzzy. This course gives you a clear foundation you can build on.
カリキュラム
始める前に、このコースの構成とペースをご確認ください。
1Introduction8件のレクチャー · 25 分
- 01Welcome To The Course!1:05分
- 02What is Cypress & End-to-End Testing? And Why Should You Care?4:16分
- 03Installing & Using Cypress6:00分
- 04How Cypress Tests Are Organized & Stored2:11分
- 05Adjusting Our First Test2:51分
- 06Writing A More Realistic Test3:55分
- 07About The Course4:36分
- 08Course Resources (Slides, Code, Discord)0:00分
2Cypress Basics - Core Features & Syntax19件のレクチャー · 1 時間 25 分
- 01Module Introduction1:24分
- 02Project Setup3:28分
- 03Creating Suites & Tests2:33分
- 04Visiting Pages inside of E2E Tests3:33分
- 05Let the IDE (VS Code) Help You1:39分
- 06Selecting Elements & Evaluating Test Results3:40分
- 07Selecting By Text4:23分
- 08Implicit and Explicit Assertions5:56分
- 09get() vs find()4:51分
- 10Why You Need To Simulate User Interaction1:53分
- 11Simulating User Interaction8:19分
- 12Proper Assertions Are Key!4:12分
- 13Time To Practice!3:59分
- 14Simulating Keyboard Typing & Writing Good Assertions11:35分
- 15Checking For Partial Text3:45分
- 16Selecting Dropdown Values7:35分
- 17Cypress Tests Run In Isolation2:01分
- 18Time For More Queries6:00分
- 19Summary4:29分
3Diving Deeper: Element Selection, Assertions & More20件のレクチャー · 1 時間 17 分
- 01Module Introduction0:34分
- 02Project Setup1:41分
- 03Selecting Elements - The Best Practice Way7:30分
- 04Testing Page Navigation5:05分
- 05More on Selecting Elements4:00分
- 06Repetition and More Assertions7:01分
- 07Chaining Commands2:01分
- 08Working with Values & Aliases3:01分
- 09A Closer Look At then()0:00分
- 10Getting More Direct Element Access via then()6:38分
- 11Simulating Special Key Presses3:15分
- 12Another Example6:47分
- 13Losing & Gaining Focus5:56分
- 14Aliases In Action1:05分
- 15Using Cypress Studio For Test Evaluation2:36分
- 16Running Tests Without Cypress Studio & Working with Screenshots + Videos2:54分
- 17Changing Subjects7:09分
- 18Taking Screenshots1:32分
- 19should() instead of then()3:26分
- 20Summary4:21分
4Configuration & Customization13件のレクチャー · 40 分
- 01Module Introduction1:11分
- 02Project Setup0:51分
- 03The Global Config File1:53分
- 04Understanding Timeouts2:48分
- 05Global vs Local Config1:30分
- 06Setting the Test Browser1:05分
- 07Configuring the baseURL2:28分
- 08Sharing Logic with Test Hooks4:37分
- 09Introducing Custom Commands & Queries1:33分
- 10Creating a Custom Command5:39分
- 11Creating a Custom Query8:19分
- 12Understanding Tasks5:17分
- 13Summary2:59分
5Working with Stubs, Spies, Fixtures & Manipulating the Clock16件のレクチャー · 1 時間 13 分
- 01Module Introduction0:52分
- 02Starting Project2:03分
- 03Understanding the Problem4:18分
- 04Understanding Stubs2:38分
- 05Creating & Using a Stub8:25分
- 06When Empty Stubs Are Not Enough5:12分
- 07Adding a Fake Stub Implementation7:25分
- 08Using Stubs Across Tests5:50分
- 09Stubs with Return Values6:13分
- 10Evaluating Stub Arguments5:33分
- 11Using Fixtures6:37分
- 12Understanding Spies3:53分
- 13Creating & Using Spies4:19分
- 14The Problem With Timers5:54分
- 15Manipulating the Clock2:40分
- 16Summary1:37分
6Network (HTTP) Requests, Databases & Authentication17件のレクチャー · 1 時間 9 分
- 01Module Introduction1:10分
- 02Starting Project3:55分
- 03Writing a First (Problematic) Test5:47分
- 04The Problem with Tests & Databases2:13分
- 05Creating a Test Database3:13分
- 06Seeding the Test Database Before Every Test5:27分
- 07Another Database-dependent Test4:34分
- 08Understanding & Using Interceptors7:44分
- 09You Can't Always Use Interceptors1:26分
- 10More Intercepting!2:18分
- 11Testing APIs with Test Requests5:52分
- 12Summary: Different Network Request Strategies1:47分
- 13Testing Authentication Flows & Asserting Cookie Values8:05分
- 14Adding a "Login" Test2:23分
- 15Creating a Reusable Login Command3:37分
- 16Accessing Interceptor Request & Response Data7:52分
- 17Summary1:38分
7Roundup & Next Steps1件のレクチャー · 3 分
- 01Roundup & Next Steps3:27分
始める準備はできましたか?
このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。
Academind Proでこのコースを購入
$69買い切り
税込 · 30日間返金保証
- このコースへの無期限アクセス
- このコースの今後のアップデートすべて
- ダウンロード資料、コード、修了証
Academind InfiniteのAll Access
$25/月
または
$249$249 /年17%お得- すべてのコースを、すべての機能付きで
- 新しいコースも随時追加
- チューター(すべての機能)
All Accessには、Academind Proのすべてのコースも含まれます。