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.
Matching moments
00:04 MIN
Introduction to end-to-end testing with Cypress
Testing web3 applications
02:58 MIN
Understanding end-to-end testing and the benefits of Cypress
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
23:47 MIN
Adding assertions and debugging failing tests in Cypress
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
06:52 MIN
Installing Cypress and structuring tests with Arrange-Act-Assert
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
43:55 MIN
Q&A on mocking responses and advanced test patterns
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
44:24 MIN
Q&A on Web3 testing tools and security practices
Testing web3 applications
12:29 MIN
Automating Google Lighthouse audits with Cypress
Measure and improve frontend performance by using test automation
04:14 MIN
Why use existing test frameworks for security
Plants vs. Thieves: Automated Tests in the World of Web Security
Featured Partners
Related Videos
Watch Tests Go Brrrr! : Getting Started with Cypress in ReactJS
Anna McDougall
The 2025 State of JavaScript Testing
Daniel Afonso
Testing web3 applications
Soumaya Erradi
Let's get visual - Visual testing in your project
Ramona Schwering
Measure and improve frontend performance by using test automation
Ramona Schwering
Accessibility Test Driven Development
Maria Korneeva
Plants vs. Thieves: Automated Tests in the World of Web Security
Ramona Schwering
Let's get visual - Visual testing in your project
Ramona Schwering
Related Articles
View all articles



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

Software tester | QA engineer | Postman | Cypress
MatchMatters
Blaricum, Netherlands
Remote
CSS
HTML
REST
Scrum
+2

Testautomatisierer - Cypress/Java/Spring/Angular/SQL/CI/CD
ITech Consult AG
Zürich, Switzerland
Remote
€166-208K
Java
Scrum
Spring
+3

Associate Fullstack Developer for Service & Delivery
Cypress Semiconductor Corporation
Sankt Leon-Rot, Germany
GIT
Java
Azure
Scrum
DevOps
+4

Working Student - Release Management for Signavio Security, Compliance and Governance Team
Cypress Semiconductor Corporation
Berlin, Germany
GIT
Java
JIRA
Python
JavaScript
+1

Working Student - UX Designer - Signavio Modeling & Governance
Cypress Semiconductor Corporation
Berlin, Germany
CSS
HTML
Figma
SAP Fiori
JavaScript
+1

Senior Developer for Cloud Integration - Reliability Engineering
Cypress Semiconductor Corporation
Walldorf, Germany
Senior
Java
NoSQL
Python
Docker
JavaScript
+2


Software Developer for Responsible Design & Production
Cypress Semiconductor Corporation
Markdorf GVV, Germany
GIT
Java
Scrum
Node.js
JavaScript
+2

Test Automation Engineer Playright / TypeScript
Sanderson Recruitment Plc
Charing Cross, United Kingdom
Remote
£50-55K
Cypress
Selenium
JavaScript
+1