~/talk

Protractor: The Hacker Way

Talkat NG-MY 2019 · 2019-07-06..07-07· [testing, angular]
links:none on file
slides:none on file

Explains why Protractor fails on obvious steps: linkText is case-sensitive so CSS text-transform breaks locators, fast webdriver clicks race CSS animations, and ng e2e is slow because it updates webdriver and serves each run. Shows concrete fixes: use ExpectedConditions instead of sleeps (example waiting up to 5s), set chromeOptions for fixed window size/position and headless, persist sessions with user-data-dir to skip logins, and demos a Chrome extension protractor-recorder plus a fedora proxy rule to strip navigator.webdriver — all demos run and pass.

AI-written summary · about

  1. 0:00Introduction to Protractor
  2. 1:54Basic testing workflow
  3. 3:56Handling common test failures
  4. 8:18Solving animation sync issues
  5. 12:56Protractor recorder tool
  6. 18:20Advanced configuration
  7. 23:25Bypassing robot detection
~/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.