~/talk

Using Cypress to improve Test Reusability

Talkat JSworld Conference 2023 · 2023-02-08..02-10· [testing, devops-and-delivery]
slides:none on file

Claims a Cypress-based reusable test framework that eliminates duplication by using config variables, global hooks, test-level config and intercepts, and integrates with the Dashboard. Implementation detail: one spec navigates, types, asserts autocomplete and runs unchanged against different apps, stages and viewports via config-driven runs across apps and viewports. Demo shows the same test executing mobile and desktop and reporting 10 autocomplete suggestions without code changes.

AI-written summary · about

  1. 0:00Start
  2. 2:43Challenges in Testing
  3. 6:39Duplication: Making More Tricky
  4. 7:41Reusability
  5. 9:42Compatibility
  6. 15:06Classes, Functions
  7. 15:40Page Interactions
  8. 16:17Locators & Selectors
  9. 18:26Start Implementation!
  10. 19:55Test Config
  11. 20:38Mobile Testing
~/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.