~/talk

Cypress for angular devs hands on workshop

Talkat ng-conf 2022 · 2022-08-31..09-02· [testing, angular]
links:none on file
name:Ely Lucas
links:none on file
slides:none on file

Live workshop shows a runnable migration path from Protractor to Cypress: run ng add @cypress/schematic, paste a protractor spec into the Cypress Migrator and get working e2e tests. It demonstrates Protractor Migration tool, the new Cypress Component Testing (mounting components with template syntax and custom cy.mount), using cy.intercept mock POST /auth 401/200 plus spies for outputs, and a labs repo with working examples so the conversions and tests actually run.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Cypress vs other tools
  3. 8:01Migrate from Protractor
  4. 13:04Live demo Tour of Heroes
  5. 15:54Convert Protractor tests
  6. 23:18End-to-end vs component testing
  7. 31:03Component tests setup
  8. 48:05Mocking complex components
  9. 1:03:16Workshop wrap-up Q&A
~/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.