~/talk

Advanced Patterns for Automated UI Testing

Talkat CodeMash 2018 · 2018-01-09..01-12· [testing, frontend-architecture]
links:none on file
slides:none on file

Estimated manual regression takes 7–8 days so the team automates browsers with Canopy and Selenium and focuses UI tests only where lower‑cost tests can’t prove behavior. Concrete patterns include a page object pattern with a base class and go‑to methods, a library of data creation helpers plus a cache‑flush endpoint, and component test harness pages. Tradeoffs and rules for prebuilt vs on‑the‑fly data govern what gets tested at the UI level.

AI-written summary · about

  1. 0:00Start
  2. 3:33Today's agenda
  3. 13:46Setting up a Ultest
  4. 17:01PageObject (it's not just for "pages"!)
  5. 28:354 rules for using pre-existing test data
  6. 40:23Test Data anti-pattern
  7. 43:41Refactor Ul code to make it unit-testable
  8. 46:42Use Ul-test-specific CSS classes & IDs
  9. 48:42Components + Test Harnesses = WIN
~/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.