# Cypress.io - the State of the Art End-to-end Testing Tool
Presented at ReactiveConf 2019 in Prague, Czech Republic, video, slides
# Main sections
- Lint pyramid video at 3m46s, slides (Prettier, ESLint,
@ts-check
) - Tests and plugins video at 7m9s, slides (unit, component, web application, visual testing, a11y testing, API testing)
- Code coverage video at 11m39s, slides
- Splitting end-to-end test via App Actions and checkpoints video at 20m5s, slides, read Split a very long Cypress test into shorter ones using App Actions blog post
Cypress test for the current page
cy.visit('/reactiveconf.html')
// YouTube player is embedded
cy.contains('Cypress.io - the State of the Art End-to-end Testing Tool')
cy.get('[data-cy=talk]')
.then($iframe => {
// this ensures the frame loaded
cy.wrap($iframe.contents()).should('have.length', 1)
return cy.wrap($iframe.contents().find("body"))
})
.find('.html5-video-player').should('be.visible')
// main sections links
;['Lint pyramid', 'Tests and plugins', 'Code coverage'].forEach(section => {
cy.contains('li', section).should('be.visible')
})