~/talk

VueConf US 2021 | Component testing with Vite, Vue, and Cypress

Talkat Vueconf.US 2021 · on Wednesday, 2021-04-14· [testing, developer-experience]
slides:none on file

Live demo wires Vite, Vue 3, and the Cypress component test runner to mount a modal, exercise its visible prop, type email and zip, click submit and assert a emitted save object plus the native submit event; failures are debugged visually in the browser instead of console logs. A tiny playground enumerates permutations of a base button. Hot reload (not full HMR) gives subsecond updates and source maps remain correct.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Component testing with Vite, Vue, and Cypress
  3. 1:15The biggest problem with component testing
  4. 5:14Testing in the browser gives you visibility
  5. 21:49Exploring components with a Playground
  6. 26:41Where's vite in all this?
  7. 28:25What did we learn?
~/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.