~/talk

Large scale Angular testing with Protractor

Talkat BuzzJS 2016 · on Friday, 2016-06-03· [angular, testing]
links:none on file
slides:none on file

Protractor is an Angular end-to-end tester built on WebDriverJS, installed via npm and run against a Selenium/driver server, and it waits for Angular to be ready so many explicit waits disappear. It supports Angular 1 and 2, locator strategies like by.model and by.binding, and lazy locators with element.finder and element.all. Google runs tests several times a day, finds suites of 50 tests taking ~9 minutes and 131 tests ~38 minutes, and recommends small independent suites, parallel runs, page objects, and rigorous cleanup.

AI-written summary · about

  1. 0:00Intro
  2. 2:34What is Protractor
  3. 3:08Why use Protractor
  4. 5:57How does it work
  5. 7:21Endtoend testing
  6. 12:23How to write a test
  7. 16:17Element Array Finder
  8. 17:40Promises
  9. 19:24Strategy
  10. 19:58Not free
  11. 20:22What to test
  12. 22:00Writing a test
  13. 22:40Creating a container
  14. 23:18Google Cloud Storage
  15. 23:49How to test
  16. 25:03Testing a list page
  17. 26:24Where to test
  18. 26:53Rules of Protractor
  19. 27:07Continuous Integration
  20. 27:35Test Early
  21. 27:54Test Often
  22. 28:16Cleanup
  23. 28:55Endtime tests
  24. 29:20Independent tests
  25. 29:38Run tests in parallel
  26. 32:27Use page objects
  27. 33:49Plan
  28. 34:00Unit tests
  29. 34:13Why Protractor
  30. 34:54Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.