~/talk

Protractor: A New Hope

Talkat NGConf 2018 · on Thursday, 2018-04-19· [testing, angular]
slides:none on file

Introduces a Protractor workflow: an NPM module called blue harvest that does screenshot comparisons, masking, and a single-command reference update via updateGoldenS (set an env var) claims parity with Google’s internal tooling that runs thousands of visual tests; a new high-level API named action helpers that selects by visible text and positional locators to speed writing and maintenance; migration steps to async/await including setting seleniumPromiseManager: false, targeting ES2017, and debugging with node --inspect-brk plus Chrome DevTools.

AI-written summary · about

  1. 0:00Start
  2. 1:27Light vs Dark side
  3. 2:08Balance in the force...of testing
  4. 4:31Image Diff
  5. 5:08Updating Goldens
  6. 5:48Masking
  7. 7:50Firing Control Form
  8. 8:16Page Objects
  9. 9:57Action helpers
  10. 15:20How well does this work?
  11. 16:36WebDriver Control Flow
  12. 18:16Control flow is gone in Selenium 4
  13. 18:26Use async/await
  14. 18:45protractor.conf.js
  15. 19:16tsconfig.e2e.json
  16. 19:46Starting protractor
~/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.