~/talk

Using Cypress to test a Vue Site with Ademola Bhadmus (Pt 2)

Talkat Frontend Nation 2024 Β· 2024-06-04..06-07Β· [testing, vue]
links:none on file
slides:none on file

Live coding shows a Vue site tested with Cypress from init to assertions: creates package.json, installs Cypress, tweaks config like baseUrl and defaultCommandTimeout, and adds a beforeEach visit hook. Tests type "Dynamic naming" into the search input and press Enter, switch strict have.text to forgiving contain, and fix autosave issues. Dropdowns require trigger('mouseenter') or a plugin, and new tabs are handled by invoking or removing target attributes such as invoke('attr','target','_self') so the flow stays in the runner.

AI-written summary Β· about

  1. 0:00Introduction
  2. 3:56Cypress setup for Vue
  3. 5:22Testing search
  4. 17:05Multi-tab navigation
  5. 31:13Dropdown menu tests
  6. 35:12Q&A
  7. 41:57Closing
~/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.