Learn Cypress with JavaScript: A Practical Hands-on Course
(UI & API Testing with Cypress, GitHub Actions for CI/CD, Advanced Cypress Features (cy.clock(), cy.tick(), Lodash, custom commands), Handling File Uploads & Date Pickers)
This JavaScript & Cypress Automation course is designed to take you from the fundamentals of JavaScript to advanced Cypress test automation. You’ll start by mastering JavaScript concepts, including variables, data types, functions, and object-oriented programming. Then, you’ll dive into Cypress, learning how to write UI and API tests, interact with web elements, and configure Cypress for real-world automation projects. The course also covers advanced topics like CI/CD integration with GitHub Actions, custom commands, and handling asynchronous operations. Whether you’re a beginner or an experienced tester, this course will equip you with the skills to automate efficiently using Cypress.
About The Instructor:
P. Gupta is a seasoned Test Architect and Automation Expert with over 10 years of experience in designing and implementing robust test automation frameworks. Specializing in Java, JavaScript, Cypress, Playwright, Rest Assured, and Selenium, he has worked extensively on modern automation tools and technologies. His expertise extends to Docker, AWS, and CI/CD integrations, making him a well-rounded professional in test automation and cloud-based testing solutions. As a Corporate Trainer, P. Gupta has successfully trained numerous professionals and teams, equipping them with hands-on experience in cutting-edge automation practices. His training sessions focus on real-world applications, helping individuals and organizations optimize their testing processes and achieve scalable, high-quality automation solutions. |
Sample Videos:
“Learn Cypress with JavaScript: A Practical Hands-on Course”-Demo Video
Learn Cypress with JavaScript: A Practical Hands-on Course”– Live Training”-Day 1 Video
Live Sessions Price:
For LIVE sessions – Offer price after discount is 200 USD 159 99 USD Or USD15000 INR12000 INR 6900 Rupees.
OR
Free Demo Session:
5th May @ 9:00 PM – 10:00 PM (IST) (Indian Timings)
5th May @ 11:30 AM – 12:30 PM (EST) (U.S Timings)
5th May @ 4:30 PM – 5:30 PM (BST) (UK Timings)
Class Schedule:
For Participants in India: Monday to Thursday @ 9:00 PM – 10:00 PM (IST) (Indian Timings)
For Participants in US: Monday to Thursday @ 11:30 AM – 12:30 PM (EST) (U.S Timings)
For Participants in UK: Monday to Thursday @ 4:30 PM – 5:30 PM (BST) (UK Timings)
What student’s have to say about the Trainer:
Excellent training! P. Gupta explains complex automation concepts in a very simple and practical way. Highly recommended! – Ravi
The hands-on approach and real-world examples made learning Cypress and Playwright very easy. Great session! – Pravalika One of the best trainers I have come across. Clear explanations and in-depth knowledge of automation tools. – Tanu Loved the training! The course was well-structured, and the practical exercises helped a lot in understanding the concepts. – Niranjan P. Gupta’s sessions are engaging and informative. He covers everything from basics to advanced topics with real-time examples. – Mayank Gupta |
What will I Learn by end of this course?
✅ Learn JavaScript basics – variables, functions, and object-oriented programming.
✅ Write clean and efficient JavaScript code.
✅ Automate web applications using Cypress.
✅ Interact with web elements like buttons, dropdowns, and tables.
✅ Perform API testing using Cypress.
✅ Use Cypress for continuous integration with GitHub Actions.
✅ Work with advanced Cypress features like time control and custom commands.
Salient Features:
-
- 32 Hours of Live Training along with recorded videos
- Lifetime access to the recorded videos
- Course Completion Certificate
Who can enroll in this course?
-
- Beginners with basic programming knowledge looking to learn Cypress automation testing.
- Software testers interested in enhancing their automation skills using Cypress.
- Developers seeking to expand their proficiency in frontend and backend testing with Cypress and API testing.
- Professionals aiming to integrate Cypress into their testing workflow for more efficient and robust test automation.
Course syllabus:
Javascript Mastery: From Zero to Hero
Section 1 – JavaScript Basics(4 Hours)
- Start from Zero – Build Strong JS Foundations
- Variables in JS – What are let, var, and const? And when to use what?
- Understand core data types – Strings, Numbers, Booleans, undefined, and null.
- Powerful string operations – Explore methods, template literals, and the awesome Math object.
- Confused by == vs ===? Let’s decode type coercion and comparisons like a pro.
- Control the flow – Learn if…else, switch, ternary operations to add logic to your code.
- Logic building with &&, ||, ! operators and uncover the mystery of truthy/falsy values.
- Arrays – Create, manipulate, and master useful array methods with real-world tasks.
- Objects – The core of JavaScript! Learn how to work with and nest objects effectively.
- Loops in action – Practice with for, while, do…while, for…of, and for…in.
Section 2 – JavaScript Intermediate(4 Hours)
- Write Cleaner, Smarter, and More Reusable Code
- Functions made easy – Master declarations, expressions, arrow functions & return values.
- Scope made simple – Understand where your variables live and why it matters.
- Function expressions & block scope explained with everyday examples.
- Callback functions – Pass functions like variables & build dynamic behavior.
- Power up with modern array methods – forEach, map, filter, reduce, sort and more.
- Handy JS tricks – Use default parameters, the spread operator, destructuring, and rest parameters like a pro.
Section 3 – JavaScript Advanced(3 Hours)
- Think Like a Developer – Dive Into Advanced JS Concepts
- Object-Oriented JavaScript – Understand how classes and inheritance help you write cleaner, reusable code — just like developers do in real-world projects.
- Understand ‘this’ – Demystify how this works in different contexts, and why arrow functions behave differently.
- Async JS simplified – Learn what makes JS non-blocking. Master promises, async/await, and handling errors the right way.
Mastering Cypress from Scratch to Pro
Real-world test automation with hands-on practice and modern patterns
Section 4 – Introduction to Cypress(2 Hours)
- Your First Step Into Modern Web Testing
- Cypress vs Selenium – Understand how Cypress changes the game and what makes it faster and easier to use.
- Cypress Architecture – Learn how Cypress really works under the hood.
- Environment Setup – Install Node.js, configure Cypress, and download a real sample app to start testing immediately.
Section 5 – Cypress Installation(3 Hours)
- From Zero to a Working Test Framework
- Installing Cypress – Step-by-step setup, project initialization, and configuring package.json.
- Explore the Folder Structure – Understand fixtures, plugins, support files, and their role in organizing tests.
- Cypress Config Simplified – Work with cypress.config.js, define base URLs, add environment variables, and create custom commands.
- Using NPM Scripts – Learn how to add custom scripts in package.json to simplify running tests, open Cypress UI, and headless test execution.
- Cypress CLI – Master the Cypress command-line interface for opening the Test Runner, running tests headlessly, recording results, and more.
- Real-World Workflow – Combine CLI commands and NPM scripts to create flexible and efficient test execution strategies.
Section 6 – Interaction with Web Elements(4 Hours)
- Master the Browser Like a Pro
- DOM Basics – Decode HTML structure, element attributes, and how Cypress sees the DOM.
- Different ways of creating CSS selectors in Cypress and its mastery.
- Your First Test – Write tests using describe(), context(), and it() the Cypress way.
- Selecting Elements – Build powerful selectors with cy.get(), cy.find(), and dynamic locators.
- Working with alias, then() and wrap() methods
- jQuery + Cypress – Use jQuery methods like text(), val(), attr() for flexible chaining.
- Forms & Elements – Interact with lists & dropdowns, tables, checkboxes, radio buttons, date pickers & tooltips.
- Assertions Mastery – should() vs expect(), using Chai for strong and clear validations.
Section 7 – Page Object Model in Cypress(2 Hours)
- Write Tests Like a Pro – Reuse, Organize & Scale with POM
-
- What is POM and why does it matter in automation?
- Structure your test suite using Page Objects – Create separate files for pages and actions
- Reuse code across tests – Stop repeating yourself
- Best practices for folder structure and naming
- Hands-on exercise: Build a mini project using POM
Section 8 – API Testing with Cypress(3 Hours)
- Test APIs Without Leaving the Browser
- API Basics – Understand REST APIs, JSON formats, requests, and responses.
- Inspect API Calls – Check browser requests, validate payloads and response data.
- Master cy.intercept() – Intercept requests, stub data, simulate errors, and control backend behavior.
- Fire API Calls – Make GET, POST, PUT, DELETE requests directly through Cypress and validate responses.
- Handle Auth Like a Pro – Work with tokens, cookies, and simulate login flows using headless authentication.
Section 9 – Cypress Cloud & enabling Retry mechanism(1 Hour)
- Make Your Tests More Reliable and Your Debugging Super Easy
- What is Cypress Cloud? – Understand how Cypress Cloud gives you deeper visibility into your test runs.
- Benefits of Cypress Cloud – Track flaky tests, view detailed error screenshots, watch test recordings, and analyze test trends over time.
- Setup and Integration – Link your project to Cypress Cloud, connect your CI, and upload results seamlessly.
- Retry Logic in Cypress – Learn about Cypress’ built-in automatic retry mechanism for commands and assertions.
- Test Retries in CI – Configure test retries for flaky tests using retries option and Cypress Cloud analytics.
- Smart Debugging – Use screenshots, video recordings, and stack traces from Cypress Cloud to fix issues faster.
Section 10 – Continuous integration with Jenkins(2 Hours)
- Run Your Tests Automatically Like a DevOps Ninja
- Why CI/CD Matters – Understand what Continuous Integration and Continuous Delivery means, and why every modern team relies on it.
- Getting Started with Jenkins – Install and set up Jenkins on your local machine.
- Jenkins + Cypress Integration – Learn how to configure Jenkins to run your Cypress test suite.
- Create and Configure Jenkins Jobs – Set up freestyle jobs to trigger Cypress tests.
- View test reports right from the Jenkins dashboard.
- CI Best Practices – Run tests in headless mode, use environment variables, and speed up execution for real-world CI/CD efficiency.
Section 11 – Advanced Cypress(2 Hours)
Level Up Your Cypress Skills with Real-World Scenarios
- Retry-ability in Action
- Cypress doesn’t fail instantly – it waits and retries! See this magic in action when checking page titles or waiting for elements to appear/disappear.
- Form Validations Made Easy
- Check if validation messages appear and disappear properly after form submissions.
- Test form fields with invalid inputs and confirm the app shows correct error feedback.
- Validate that fields like phone numbers only accept digits – no junk data allowed!
- Input Field Scenarios
- Type fast and efficiently using the options argument.
- Enter a value, clear the field, and verify it’s actually empty.
- Custom Commands with Real Data
- Use custom Cypress commands and pass JS objects to reuse test logic like a pro.
- File Uploads in All Flavors
- Upload files from the fixtures folder using simple clicks.
- Try drag-and-drop upload simulation.
- Use aliases for files to make your uploads more dynamic and readable.
- Work Around Cypress Limitations
- Need to handle multi-tab flows? Learn smart workarounds when Cypress can’t switch tabs.
- Mobile Testing with Viewports
- Simulate different device screens to test responsiveness in mobile, tablet, and desktop views.
- Control Time Like Dr. Strange
- Use cy.clock() and cy.tick() to freeze and fast-forward time in your tests — perfect for validating timeouts and delays.
- Supercharge with Lodash
- Manipulate data, shuffle arrays, or pick random entries — all inside Cypress using the Lodash library.
- Show/Hide DOM Elements
- Use .invoke(‘show’) and .invoke(‘hide’) to control visibility of success/error messages and test those UI flows precisely.
Section 12 – Cypress with Cucumber(3 Hours)
- Write Tests in Plain English – Let Everyone Understand!
- Why Cucumber? – Collaborate better with product teams by writing readable test cases that even non-coders can follow.
- Setting Up Cucumber – Step-by-step guide to install and configure cypress-cucumber-preprocessor.
- What is Gherkin? – Understand the Given–When–Then syntax that drives your feature files.
- Test Creation – Build both positive and negative test cases with real-life examples.
- Scenario Outlines – Parameterize your tests to run multiple variations with ease.
- Feature Files – Organize tests using .feature files for clean, maintainable code.
- Using Tags – Run selective tests using tags — great for CI/CD and larger test suites.
- Cucumber Reports – Generate detailed test execution reports for visibility and tracking.
- Advanced Concepts – Learn hooks (Before, After), shared steps, custom parameter types, and reusable step definitions for scalable automation.
Bonus Content
Crack Interviews with Confidence!
Get Interview-Ready with Bonus JS Prep!
-
- 2 pre-recorded videos covering the Most Commonly Asked JavaScript Interview Questions
- Clear explanations with real-world examples
- Designed specifically for test automation professionals
- A perfect way to brush up on JS fundamentals before your next interview!