~/talk

Component Testing with WebdriverIO

Talkat TestingStage 2023 · on Friday, 2023-04-21· [testing, frontend-architecture]
slides:none on file

Shows WebdriverIO running component tests in a real browser (Chrome or Firefox) using the Testing Library render helper and the browser Runner mock API by running npm init wdo@latest to scaffold everything. Demo builds a login component, replaces the API module with a mocked login to avoid network calls, and enforces coverage thresholds (example failing at 93% then raised to 100% after adding a missing case). Tests run headless or with debug, devtools expose accessibility selectors, and the component tests pass locally with coverage and no backend required mock API modules coverage in browser

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 7:49Testing principles and pyramid
  3. 13:07Tooling landscape for component tests
  4. 22:57Live coding demo setup
  5. 34:48Mocking and test coverage
  6. 38:07Future of component testing
  7. 39:53Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.