~/talk

Selenium and the Four Rules of Simple Design

Talkat TestCon Vilnius 2017 · 2017-10-18..10-20· [testing, developer-experience]
links:none on file
slides:none on file

Transforms a brittle Selenium test suite into a maintainable set of tests by applying four concrete rules: tests always pass (checks before and after each change), express intent (rename long method names into readable actions), no duplication (extract repeated strings and logic), and small (extract setup, search, locate, add to bag, assert helpers). The demo runs the suite, times are shown (around 12–19 seconds), commits after each refactor, and ends with helpers hiding Selenium details.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Welcome
  3. 1:45The Four Rules
  4. 3:25Test Process
  5. 4:41Expressing Intent
  6. 6:32No Duplication
  7. 8:02Small
  8. 10:00Handson
  9. 11:50Rename
  10. 14:00Intent
  11. 17:30Setup
  12. 19:00Build
  13. 20:50Browser
  14. 23:00Extract
  15. 24:00Close Browser
  16. 26:00Search
  17. 27:00Delegate
  18. 28:00For loop
  19. 29:00Locate product
  20. 31:00Extract product to shopping bag
  21. 32:00Extract assertion
  22. 35:00Express intent
  23. 36:00Test
  24. 38:00Calculation
~/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.