~/talk

Introducing Component Testing with Cypress

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [testing]
slides:none on file

Introduces a Cypress component testing library that provides a mount function with the Vue Test Utils wrapper, bundles components with webpack, and runs tests in real browsers (Chrome/Firefox/Electron headless) so styles, router links and transitions work without polyfills. Features include network stubbing across plain objects, Mirage or express-style handlers, a visual pause/debug workflow and hot-editing of CSS — demo uses a crossword app, shows transitions succeeding, a skeleton loader implemented after fixing a CSS class, and notes the project is alpha with a Vue CLI plugin and routing/bundling work ongoing.

AI-written summary · about

  1. 0:00Start
  2. 3:17Cyprus Does a Stellar Job at Testing in Real Browser Environments
  3. 4:26What Is the Cypress Component Testing Library
  4. 4:44What Is the Cypress Component Testing Library
  5. 7:36Mocking Support
  6. 12:46Chrome Debugger
  7. 13:25Third Party Element Explorer
  8. 16:36Context Switching
  9. 19:50Browser-Based Component Testing
  10. 20:43Demo
  11. 23:03Test Code
  12. 24:05Workflow
  13. 24:28Speed Coding
  14. 25:14Visual Debugging
  15. 27:22Component Testing Should Be in the Browser
  16. 27:47What's Next for the Cypress Component Testing
~/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.