~/talk

End to End Angular Testing with Protractor

Talkat ng-conf 2014 · 2014-01-16..01-17· [angular]
links:none on file
slides:none on file

Protractor replaces the Angular scenario runner with an end-to-end framework built on WebDriver/Selenium, shipping a bundled webdriver-manager to fetch ChromeDriver/IEDriver and integrating with Sauce Labs. Tests use Jasmine, global helpers like browser and element plus Angular locators (by.binding, by.model). Automatic waitForAngular syncs tests to HTTP/timeouts to avoid flakiness. An interactive elementExplorer REPL debugs selectors, and test setup tweaks (mocking ngAnimate) make suites noticeably faster (initial run ~7s).

AI-written summary · about

  1. 0:00Introduction to Protractor
  2. 1:48Why end-to-end testing matters
  3. 3:36How Protractor works with WebDriver
  4. 5:39Protractor’s improvements over old tools
  5. 7:25Writing tests with Protractor
  6. 9:09Keeping tests maintainable
  7. 11:16Handling slowness and flakiness
  8. 13:20Debugging Protractor tests
  9. 14:05Demo of Element Explorer
  10. 15:51Speeding up tests with mock modules
  11. 17:21Future of Protractor
~/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.