~/talk

End to End tests with Google's Puppeteer

Talkat UtahJS Conf 2018 · on Friday, 2018-09-14· [testing, nodejs]
slides:none on file

Puppeteer controls Chromium from Node and reduces end-to-end testing to a few clear steps, demonstrated by launching a browser, navigating to localhost:3000, asserting an H1 text and filling a form that actually types and submits, all wired into Jest and Create React App. The demo shows a working five lines of code starter, form automation, request interception, and visual diff tests via screenshots, plus the new Puppeteer Recorder extension (v0.3) that generates usable test code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:43Release on a Friday
  3. 6:35What does that mean
  4. 8:08Puppeteer
  5. 8:22What is it
  6. 9:27Testing Environment
  7. 11:15Testing only in Chrome
  8. 12:12Chrome Dev Tools
  9. 16:17AsyncWait
  10. 16:59Get Started
  11. 17:18Create a Page
  12. 18:11Close Browser
  13. 18:57Tips
  14. 19:42Headless
  15. 20:03Do Stuff
  16. 20:19DOM Element
  17. 22:18Running a test
  18. 23:10Form submissions
  19. 24:22Console messages
  20. 24:47Local storage service workers
  21. 25:16Visual differing tests
  22. 28:00Accountability tests
  23. 28:29Puppeteer Recorder
~/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.