Get in Touch

Course Outline

Day 1 – Introduction & Fundamentals

Introduction

  • The role of Cypress within the testing pyramid
  • Setting up the test automation environment (Node LTS, npm)
  • Establishing a minimal Cypress project structure
  • Writing the first "smoke" E2E test in both GUI and headless modes

Core Concepts

  • Understanding Cypress fundamentals, the command queue, and automatic retry mechanisms
  • Implementing hooks: before, beforeEach, afterEach, and after
  • Using aliases and reusability patterns (.as(), cy.get('@alias'))

API (Contract) Testing

  • Performing direct API testing with Cypress (cy.request())
  • Simulating API responses with cy.intercept() to handle edge cases
  • Ensuring stable integration between frontend and backend systems

Custom Cypress Commands

  • Organizing repetitive actions (such as login and navigation) into custom commands
  • Writing cleaner, maintainable code through reusable calls (cy.login())

Schedule: theoretical instruction + demonstrations + hands-on exercises Prerequisites: basic JavaScript knowledge, VSCode, Git

Day 2 – Advanced Practices & CI/CD Integration

Building Complex Tests

  • Automating complete user workflows
  • Managing state with cy.intercept and cy.session
  • Eliminating flaky tests to improve stability and execution speed

Data-Driven Testing

  • Storing test data in JSON fixtures
  • Executing parameterized tests that run the same logic with varying inputs

Cypress Plugins

  • Reporting tools: mochawesome, allure-cypress, junit-reporter
  • Interaction enhancements: cypress-file-upload, cypress-real-events
  • Accessibility testing: cypress-axe, cypress-audit
  • Visual regression testing: cypress-image-snapshot
  • Maintainability improvements: @testing-library/cypress, cypress-plugin-tab

CI/CD with Cypress

  • Integrating with GitHub Actions
  • Configuring the Node.js and Cypress environment for headless execution
  • Triggering automated test runs on code push or pull requests
  • Securely managing secrets and credentials

Summary and Conclusion

Requirements

  • A foundational understanding of software testing principles

Target Audience

  • Software testers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories