Testing & QA · 6 free lessons

Cypress Tutorial for Beginners

End-to-end testing for web apps with Cypress — selectors, assertions, network stubbing, custom commands and running in CI.

📝 6 lessons ⏱️ ~23m reading 🎓 Beginner → Advanced 💻 Code examples
Your progress
0 of 6 lessons done
Saved in this browser0%
⚡ Test your skills Free Skill Forge tests with certificates

Cypress course syllabus

Follow the lessons in order — each one builds on the last. Tick them off as you go.

  1. Cypress Introduction Installing Cypress, the Test Runner, and writing your first end-to-end test against a real page. 4 min
  2. Selectors & Assertions Stable data-cy selectors, chaining commands, should() assertions and how Cypress retries automatically. 4 min
  3. Network Stubbing with cy.intercept Spying on and stubbing API calls with cy.intercept, fixtures, waiting on aliases and testing error states. 4 min
  4. Custom Commands & Fixtures Reusable custom commands, programmatic login with cy.session, fixtures and environment variables. 4 min
  5. Cypress in CI Running Cypress headlessly in GitHub Actions, screenshots and videos on failure, retries and parallel runs. 4 min
  6. Cypress Interview Questions Cypress interview questions — architecture, retries, intercept, sessions and Cypress vs Selenium — with answers. 3 min

Cypress FAQ

Is this Cypress tutorial free?
Yes. All 6 Cypress lessons are free to read online with no sign-up. Each one includes working code examples you can copy and run.
Is Cypress good for beginners?
Yes. The tutorial starts with "Cypress Introduction" and builds up one concept at a time, so you don't need any prior Cypress experience — just follow the lessons in order.
How long does it take to learn Cypress?
Reading all 6 lessons takes about 1 hour. Most learners need a few weeks of hands-on practice alongside the lessons to feel confident using Cypress on real projects.
What should I learn after Cypress?
Good next topics are AI in Software Testing, Manual Testing, Playwright, Postman. The QA Engineer Roadmap shows the full order.