~/talk

Frontend testing for Wix viewer, case study

Talkat JavaScript fwdays'18 · on Sunday, 2018-03-18· [testing, frontend-architecture]

Describes concrete test choices, tradeoffs and results: why unit tests in Node/JSDOM mask integration bugs, how state-machine unit tests isolate logic, how puppeteer headless Chrome becomes the primary integration tool, when Selenium or Karma still matter, and how visual regression switches from image diffs to rectangle-based visual checks. Gives numbers (puppeteer 80–90% offline tests), specific failures encountered, and what actually worked in the Wix viewer pipeline.

AI-written summary · about

  1. 0:00Start
  2. 20:36Browser Unit Test Karma, Jasmine
  3. 21:40Integration Tests Puppeteer, JEST
  4. 25:39State Unit Test Split your state code from components
~/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.