~/lightning

Cypress Component Testing - Lightning talk

Lightningat NG-BE 2023 · 2023-03-23..03-24· [testing]
slides:none on file

Argues that Cypress component testing can replace Jest/Karma by running components in-browser, handling change detection and DOM events automatically, while still using a TestBed-like config. Demonstrates mounting a standalone RequestInfo component, typing an address, clicking to call OpenStreetMap, and using Cypress component testing with the mount command to render and debug the run. Shows using intercept network requests to mock responses, the demo works and proves faster iteration than E2E and easier than Jasmine/Karma.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Theory
  3. 3:52Advantages Disadvantages
  4. 6:26Code Example
  5. 9:44Testing
~/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.