~/talk

Testing Angular apps with Cypress in CI

Talkat angularday 2022 · on Friday, 2022-10-07· [angular, testing]
github:edodusi
slides:none on file

Argues end-to-end tests catch integration bugs unit tests miss and shows a working setup: Angular CLI scaffolds Cypress, tests run headless and in GUI, and CI uses an official GitHub Actions integration. Demo produces 3 passing 1 failing tests and surfaces failing-state screenshots and videos so CI artifacts explain why. Also shows generated test code from the Cypress GUI and how ng e2e updates package.json angular.json and a cypress folder so the pipeline actually runs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51E2E tests matter
  3. 10:23Requirements over coverage
  4. 17:48Angular’s E2E evolution
  5. 19:32What is Cypress
  6. 21:48Cypress in Angular
  7. 23:33Writing Cypress tests
  8. 26:54Debugging failures
  9. 28:39Cypress GUI exploration
  10. 32:15Q&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.