Luca Micieli
Advanced Cypress: custom assertions and tasks
#1about 2 minutes
Understanding the Cypress architecture and tasks
Cypress runs in two processes, and tasks act as remote procedure calls to execute Node.js code from within the browser-based test environment.
#2about 3 minutes
Using tasks for database seeding and auth flows
Tasks enable complex test setups like seeding a database, accessing the file system for email links, or controlling a separate window for OAuth authentication.
#3about 2 minutes
Creating type-safe custom assertions with Chai
Extend the Chai assertion library to create custom assertions and use TypeScript declaration merging to provide type safety for your new commands.
#4about 2 minutes
Applying custom assertions for robust UI tests
Use custom assertions to handle dynamic content like translated text or localized dates, making tests more resilient to content changes.
Related jobs
Jobs that call for the skills explored in this talk.
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Matching moments
05:13 MIN
Introduction to end-to-end testing with Cypress
Testing web3 applications
03:54 MIN
Understanding end-to-end testing and the benefits of Cypress
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
05:55 MIN
Adding assertions and debugging failing tests in Cypress
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
09:14 MIN
Installing Cypress and structuring tests with Arrange-Act-Assert
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
09:50 MIN
Q&A on mocking responses and advanced test patterns
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
03:01 MIN
Playwright's dominance and the expansion of E2E tools
The 2025 State of JavaScript Testing
09:34 MIN
Q&A on Web3 testing tools and security practices
Testing web3 applications
16:15 MIN
Q&A on scaling tests and choosing frameworks
Let's get visual - Visual testing in your project
Featured Partners
Related Videos
Testing web3 applications
Soumaya Erradi
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
Anna McDougall
The 2025 State of JavaScript Testing
Daniel Afonso
Let's get visual - Visual testing in your project
Ramona Schwering
Let's get visual - Visual testing in your project
Ramona Schwering
Accessibility Test Driven Development
Maria Korneeva
Fighting test flakiness with time machines
Filip Hric
How not to test
Golo Roden
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript



Cypress
Municipality of Las Rozas de Madrid, Spain
Gitlab
Cypress
JavaScript
Agile Methodologies
Continuous Integration

Cypress Semiconductor Corporation
Sankt Leon-Rot, Germany
Azure
DevOps
Puppet
Docker
Ansible
+4

Cypress Semiconductor Corporation
Berlin, Germany
API
Java
Node.js
TypeScript
Data analysis
+1

Cypress Semiconductor Corporation
Sankt Leon-Rot, Germany
GIT
Java
Azure
Scrum
DevOps
+4

Cypress Semiconductor Corporation
Sankt Leon-Rot, Germany
Azure
Linux
SAP HANA
Amazon Web Services (AWS)
