Build invincible integration tests using Cypress & cypress-testing-library 

Roman Sandler

Frontend Developer @Fiverr

@romanSndlr

Gleb Bahmutov

VP of Engineering Cypress.io

@bahmutov

Build invincible integration tests with Cypress and cypress-testing-library

So... What is this talk really about?

@romanSndlr

Ask questions at Sli.do #cytesting

Gotcha! What is not about then?

@romanSndlr

Ask questions at Sli.do #cytesting

Testing-library for X

Simple and complete testing utilities that encourage good testing practices

Testing-library for X

Let's Dive In!

Ask questions at Sli.do #cytesting

@romanSndlr

STEP 1: Use the data

Ask questions at Sli.do #cytesting

@romanSndlr

STEP 2: Query the dom at the highest level possible

Ask questions at Sli.do #cytesting

@romanSndlr

STEP 3: Narrow your scope

Ask questions at Sli.do #cytesting

@romanSndlr

Final Advice

@romanSndlr

Always optimize for change.

Time for Q & A

Made with Slides.com