~/talk

Component Testing with Vite, Vue, and Cypress

Talkat Developer Growth Summit 2022 · 2022-04-06..04-07· [vue, testing]
slides:none on file

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

  1. 0:00Host intro
  2. 1:56Speaker's intro
  3. 3:35Agenda
  4. 5:47Why test?
  5. 9:53Testing types
  6. 11:25Characteristics of an E2E test
  7. 13:12Integration test
  8. 14:37Component test
  9. 18:53Cypress intro
  10. 21:37Cypress 10 UI tour
  11. 25:28Component testing example (Tabs)
  12. 28:47Short Q&A
  13. 31:16Vuetify example (canvas component)
  14. 34:05Example (radio component)
  15. 46:15Resources & closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.