World Congress 2023 Oct 23, 2023

Advanced Cypress: custom assertions and tasks

Luca Micieli

Break out of Cypress browser isolation using Node.js tasks. Discover how custom, type-safe Chai assertions can make your test suite resilient to routine UI and translation changes.

Pause
Mute Enter Fullscreen
#1 about 2 min

Cypress internal architecture and test execution constraints

How running tests within the browser process prevents direct native access to external databases or the file system.

#2 about 1 min

Creating configuration tasks executing inside Node processes

Bypass browser limitations by defining remote procedure calls executed directly within the Cypress Node configuration context.

#3 about 3 min

Database seeding and handling complex external authentication flows

Implement configuration tasks to initialize database state or handle separate window flows like OAuth interactions.

#4 about 2 min

Extending the Chai library with custom Cypress assertions

Improve test legibility by creating reusable Chai assertions connected directly to internal application logic.

#5 about 3 min

TypeScript integration and testing dynamic translated text keys

Handle internationalization localization checks safely and implement robust static typing using module declaration merging.

Matching moments

3:27 min

Choosing between Puppeteer and Cypress for browser tasks

Miki Lombardi · JS Congress

3:48 min

Analyzing test automation challenges and the Cypress timeline

Filip Hric · LIVE

2:45 min

Advantages of using Cypress for testing workflows

Anna Mcdougall · JS Congress

2:23 min

Keeping up with Web3 testing tools

Soumaya Erradi · LIVE

2:50 min

Introduction to end-to-end testing with Cypress

Soumaya Erradi · LIVE

1:24 min

Intercepting backend responses natively using Cypress network methods

Anna Mcdougall · JS Congress

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 24, 2026 · 10:20–10:50

Stage 6

Practices, Not Prompts: Scale GitHub Copilot with AI-Ready Repositories

Luis Pujols

Staff Customer Success Architect, GitHub

Luis Pujols
Open session

World Congress 2026 North America

September 25, 2026 · 10:20–10:50

Stage 9

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect at Leidos

David Morris
Open session

World Congress 2026 North America

September 24, 2026 · 16:00–18:00

Stage 12

Agentic coding with GitHub Copilot CLI

Christopher Harrison

Senior Developer Advocate at GitHub

Christopher Harrison
Open session

World Congress 2026 North America

September 23, 2026 · 14:20–14:50

Stage 2

Build Interactive Copilot Experiences with Canvas Extensions

James Clancey

Principal Product Manager at GitHub

James Clancey
Open session

World Congress 2026 North America

September 25, 2026 · 10:20–10:50

Stage 6

Agentic Code Validation and Repository Automation with Agentic Workflows

Jose Palafox

Field Copilot Specialist, GitHub

Jose Palafox
Open session

World Congress 2026 North America

September 24, 2026 · 11:00–11:30

Stage 6

Accelerating development and managing agents with the GitHub Copilot app

Christopher Harrison

Senior Developer Advocate at GitHub

Christopher Harrison