Component Testing with Vite, Vue, and Cypress
summary
Demo shows a Vite + Vue workflow using Cypress component testing where components are mounted instead of visited pages, letting tests interact with live DOM and devtools. The Cypress 10 UI opens projects and runs component specs (tabs, a stepper, a Vuetify canvas, a radio) and supports prop-level and network-level mocks with Faker for fake data. Example radio tests assert label slot/prop and a disabled radio remains unclickable, and the interactive playground reliably reproduces behaviors.
AI-written summary · about
chapters (15)
- 0:00Host intro
- 1:56Speaker's intro
- 3:35Agenda
- 5:47Why test?
- 9:53Testing types
- 11:25Characteristics of an E2E test
- 13:12Integration test
- 14:37Component test
- 18:53Cypress intro
- 21:37Cypress 10 UI tour
- 25:28Component testing example (Tabs)
- 28:47Short Q&A
- 31:16Vuetify example (canvas component)
- 34:05Example (radio component)
- 46:15Resources & closing
related talks
38mComponent Testing with Vite, Vue, and Cypress
22mCypress Component Testing
53mTesting with Vite and the Cypress Component Test Runner
42mStress-free Testing for Vue
25mTesting Vue Components with Cypress
31mVueConf US 2021 | Component testing with Vite, Vue, and Cypress
30mIntroducing Component Testing with Cypress
05mUsing Cypress to test a Vue Site with Ademola Bhadmus (Pt 1)
