Elemental Testing My Dear Watson - Unit Tests for UI Components
summary
Shows concrete component testing wins: mounts a product card and clicks the favorite button with Nightwatch instead of full end-to-end flows, cutting setup and flakiness. Demonstrates a CSS tweak that passes in jsdom but fails in a real browser as “element not interactable,” arguing jsdom misrepresents layout. Runs the same mounted test on a real mobile device via BrowserStack cloud to prove parity with production browsers and surface issues that node-based DOMs miss.
AI-written summary · about
related talks
14mHow to Test Components – It Doesn’t Need to All Be E2E Tests
37mFront-end Testing for Skeptics
15mComponent Testing in 2026: The Return of the Browser
28mFrontend Testing
55mModern Web Testing: Going Beyond Selenium
39mTesting, Testing, 1, 2, NaN
38mModern Web Testing: Going Beyond Selenium
17mThe pragmatic front-end tester
