Protractor: A New Hope
summary
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
chapters (16)
- 0:00Start
- 1:27Light vs Dark side
- 2:08Balance in the force...of testing
- 4:31Image Diff
- 5:08Updating Goldens
- 5:48Masking
- 7:50Firing Control Form
- 8:16Page Objects
- 9:57Action helpers
- 15:20How well does this work?
- 16:36WebDriver Control Flow
- 18:16Control flow is gone in Selenium 4
- 18:26Use async/await
- 18:45protractor.conf.js
- 19:16tsconfig.e2e.json
- 19:46Starting protractor
related talks
29mProtractor: The Hacker Way
48mModern capabilities for organizing a ProtractorJS framework
42mProtractor Framework – Making Stable e2e Tests for Angular Applications
37mEmbrace Innovation: Designing A Protractor Framework For Angular2 Applications
49mProtractor: creating your first script
30mTesting Angular Apps. At Scale.
31mHow do new Angular features improve developer experience?
21mWorking Well, The Future of JavaScript Testing
