~/talk

Revolutionize Your Testing with Design Patterns in Cypress

Talkat CypressConf 2024 · 2024-10-22..10-23· [testing, frontend-architecture]
links:none on file
slides:none on file

Demonstrates applying concrete design patterns to Cypress end-to-end tests and shows a working repo that logs in and creates students on a public school demo app. Uses Cypress with fixtures, factories, a Page Object Model, decorator for optional logging, fluent interface for long forms, and an assertion strategy pattern; tests run fast and the demo creates and then deletes student records. Claims measurable gains in readability, reusability, and maintainability and provides code examples and a GitHub repo to reproduce.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:42Understanding design patterns
  3. 3:40Pattern classification
  4. 9:50Benefits for automation
  5. 11:23Page object model
  6. 13:19Decorator pattern
  7. 15:41Fluent interface pattern
  8. 17:47Factory pattern
  9. 19:21Strategy pattern
  10. 22:18Practical code demonstration
  11. 29:25Q&A and best practices
~/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.