Course Outline
Day 1 – Introduction & Basics
Introduction
- Role of Cypress in the testing pyramid
- Test automation environment setup (Node LTS, npm)
- Creating a minimal Cypress project
- First “smoke” E2E test in GUI and headless mode
Core Concepts
- Cypress fundamentals, command queue, automatic retry
- Using hooks: before, beforeEach, afterEach, after
- Aliases and reusability (.as(), cy.get('@alias'))
API (Contract) Testing
- Direct API testing with Cypress (cy.request())
- API stubbing with cy.intercept() for edge cases
- Ensuring frontend-backend integration stability
Custom Cypress Commands
- Organizing repetitive actions (login, navigation) into custom commands
- Cleaner, maintainable code with reusable calls (cy.login())
Schedule: theory + demo + hands-on exercises Prerequisites: basic JS knowledge, VSCode, Git
Day 2 – Advanced Practices & CI/CD
Building Complex Tests
- Automating full user flows
- State control with cy.intercept and cy.session
- Avoiding flaky tests, improving stability and speed
Data-Driven Testing
- Storing test data in JSON files (fixtures)
- Parameterized tests running the same logic with multiple inputs
Cypress Plugins
- Reporting: mochawesome, allure-cypress, junit-reporter
- Interactions: cypress-file-upload, cypress-real-events
- Accessibility: cypress-axe, cypress-audit
- Visual regression: cypress-image-snapshot
- Maintainability: @testing-library/cypress, cypress-plugin-tab
CI/CD with Cypress
- GitHub Actions integration
- Setting up Node.js and Cypress environment, headless execution
- Automatic test runs on push/PR
- Secure handling of secrets
Summary and conclusion
Requirements
- An understanding of software testing
Audience
- Software testers
Testimonials (5)
Each issue was explained very thoroughly
Patrycja - Alior Bank SA
Course - Selenium WebDriver in C#
Machine Translated
I enjoyed everything as it is all new for me and I can see the added value it can ring to my work.
Zareef - BMW South Africa
Course - Tosca: Model-Based Testing for Complex Systems
Many exercises, which gave a lot of practical skills.
Rafal Borek - Bytamic Solutions sp. z o.o.
Course - Automation Testing with Cypress
Course topics are well-paced over time.
Marek Bukowski - Nabywca Ergo Digital IT GMBH/ Beneficjent Ergo Digital IT GMBH Oddzial w Polsce
Course - Selenium with Jenkins and Docker
Machine Translated
The trainer explained every functionality thoroughly.