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
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from €4560 online delivery, based on a group of 2 delegates, €1440 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses
Testimonials (5)
Good rapport, Łukasz had time for everyone's questions and was able to help anyone who had any issue
Kelly Morris - Titian Software Poland Sp. z o.o.
Course - Selenium WebDriver in C#
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
The trainer explained every functionality thoroughly.
Argean Quilaquil - DXC
Course - TestComplete
Trainer is nice. His explanation is clear and interesting. He try to make the lessons interesting as possible. I enjoyed the lesson and gained a lot of knowledge. Thank you so much. The most useful technique I learned is the locating elements for different web component like textbox, radio buttons and buttons. Sometimes, the element ID is not capture correctly. We learned a different way of locating elements by using CSS selectors, XPath, Name and ID. I like the explanation. Thanks
Bee Chin Chuah - I-Access Solutions Pte Ltd
Course - Advanced Selenium with C#
I liked how the examples lead to the next. You are able to use what you learnt in the previous segment in the next.