How to Test Components – It Doesn’t Need to All Be E2E Tests
summary
Argues that full E2E is not required for every UI check and that component tests mounted in a real browser run faster and produce far less flake than sprawling E2E suites. Shows concrete tooling: mounting React/Vue or native web components and querying into shadow root DOM using Nightwatch.js or plain Selenium WebDriver locators, including navigation of open and closed shadow roots, so small, targeted assertions validate behavior without heavy framework weight.
AI-written summary · about
chapters (6)
- 0:00Introduction and speaker background
- 1:25What are components
- 4:17How components are built
- 7:04Web components and testing challenges
- 9:33Testing web components with Selenium
- 13:03Summary and closing remarks
related talks
09mElemental Testing My Dear Watson - Unit Tests for UI Components
53mModern Web Testing: Going Beyond Selenium
38mModern Web Testing: Going Beyond Selenium
30mTesting Front-End Applications
55mModern Web Testing: Going Beyond Selenium
19mImportance of testing & the right way to test React components
24mWriting Good Tests for Vue Applications
17mThe pragmatic front-end tester
