~/talk

Readable. Stable. Maintainable. E2E Testing @ Facebook

Talkat SeleniumConf Berlin 2017 · 2017-10-09..10-10· [testing, frontend-architecture]
links:none on file
slides:none on file

Facebook replaces raw WebDriver scripts with a component-based, page-object style framework that makes E2E tests declarative and typed, hiding find/click sleeps and XPath. A provisioning service called OneWorld gives ready simulators/emulators and yields ~10x speedups plus video and system logs. Tests express intent (e.g., scroll until story.author matches X) and the framework guarantees no stale element references, automatic re-querying and uniqueness checks, producing a declarative API that improves readability, reuse and stability.

AI-written summary · about

  1. 0:00Intro
  2. 0:59Outline
  3. 4:00Growth of WebDriver Tests
  4. 7:17Hard to Read and Write
  5. 9:17Key Concepts
  6. 14:07Nested Components
  7. 16:37Page Objects
  8. 17:37Composing Tests
  9. 19:36How Does It Work
  10. 21:48How Did We Fix the Bad?
  11. 22:22Summary
~/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.