Front-End Testing Masterclass
- Your instructor
- Gleb Bahmutov
Workshop includes:
Unfortunately, this workshop is fully sold out! But you can join the waiting list in case a ticket becomes available:
Workshop, 4×2h + Q&A • Tue & Wed, Feb 8–16 2022
09:00 – 11:30 AM PT • 18:00 – 20:30 CET • Check your time zone ⏰
Nobody likes broken web applications. To ensure it doesn’t happen, we use front-end testing in various flavors — unit testing, integration testing, regression testing, to name a few.
You might be just starting out with testing, and want to know where and how to start. Or maybe you already have some tests in place — but want to write better tests. Either way, this workshop is for you, as it introduces you to the cypress.io Test Runner and teaches writing realistic tests that are readable, reliable, and fast.
Over 4 sessions, we’ll cover everything you need to know today about front-end testing, to build better applications tomorrow. We’ll learn Cypress, how it works, how to write better tests with it, and how to maintain the tests over time — from start to finish. So by the end of this workshop, you’re able to make better decisions on how to write your tests, and keep your products stable over time.
In this workshop, you’ll learn:
- Installing Cypress
- Writing your first test
- Cypress documentation, examples, and recipes
- Selecting the DOM elements and interacting with the page
- Recording tests using Cypress Studio
- Controlling the network calls from the test runner
- Controlling the application state
- Removing test flake and built-in command retry-ability
- Writing custom commands
- Spying and stubbing the network communication from tests
- Running Cypress tests on Continuous Integration system
- Factoring out pieces of tests into custom commands
Every topic is learned through listening first, then doing hands-on exercises writing end-to-end tests.
Who is this workshop for?
This workshop is very useful for every web developer and QA tester who is looking to automate web application testing. It only requires a minimal knowledge of JavaScript, although previous experience with testing and browser DevTools is very helpful.
What hardware/software do you need?
- Any computer: Mac, Windows, Linux
- Node 12.0.0+ (LTS), see Gleb’s Node install video, and his Node versions using NVM video
- git
About Gleb Bahmutov
Gleb Bahmutov has PhD in Computer Science and has worked at Cypress.io for four years as VP of Engineering and Distinguished Engineer. He was heavily involved in all areas of the Test Runner development, as well as Cypress Dashboard features, plugin writing, and CI integration.
He is an experienced speaker and has many many blog posts and videos about Cypress & testing. Today, Gleb is still heavily using Cypress at a large company, making sure its web applications are always working correctly. Gleb is GitHub Hero, Microsoft MVP, Algolia Ambassador, and CircleCI Champion.
Time & Schedule
This workshop is split over four days. Our virtual doors open at 8:45, we start at 9 AM PDT. Please mark your calendars:
- Tue, February 8, 09:00 – 11:30 AM PDT (18:00 – 21:00 CET)
- Wed, February 9, 09:00 – 11:30 AM PDT (18:00 – 21:00 CET)
- Tue, February 15, 09:00 – 11:30 AM PDT (18:00 – 21:00 CET)
- Wed, February 16, 09:00 – 11:30 AM PDT (18:00 – 21:00 CET)
Day 1
8:45 AM PDT
Virtual doors open, registration, chat, and introductions.
9:00 AM – 11:00 AM
- Introduction to writing end-to-end tests using Cypress
- Installing the test runner and writing the basic test
- Using Cypress in the interactive mode vs headless CI mode
- Practicing writing tests for a TodoMVC application
11:00 AM – 11:30 AM
Q&A with Gleb on the day’s material. Networking!
Day 2
8:45 AM PDT
Virtual doors open, registration, chat, and introductions.
9:00 AM – 11:00 AM
- Finding DOM elements using best practices
- Selecting elements using Cypress Playground
- Recording tests using Cypress Studio
- Resetting the server state before each test
- Controlling the network calls from the test runner
11:00 AM – 11:30 AM
Q&A with Gleb on the day’s material. Networking!
Day 3
8:45 AM PDT
Virtual doors open, registration, chat, and introductions.
9:00 AM – 11:00 AM
- Access the application code and data from the test
- Running E2E tests on continuous integration service
11:00 AM – 11:30 AM
Q&A with Gleb on the day’s material. Networking!
Day 4
8:45 AM PDT
Virtual doors open, registration, chat, and introductions.
9:00 AM – 11:00 AM
- Writing flake-free tests and built-in command retry-ability
- Writing custom commands
9:00 AM – 11:00 AM
Q&A with Gleb on the day’s material. Goodbye’s!
Unfortunately, this workshop is fully sold out! But you can join the waiting list in case a ticket becomes available: