Automation Testing for React
summary
Workshop shows step-by-step setup of a Selenium WebDriver automation framework for a React contact-list app and runs create edit delete flows as concrete tests. Compares WebdriverIO (rich drivers, heavier config, occasional server shutdown), Cypress (zero config, Chrome-only, built-in video and debugger), and Jest + Puppeteer (fast unit-style tests). Recommends using data-test-id selectors, follows TDD red/green/refactor cycle, and shares reusable code samples and config used to run tests and CI.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 1:06Write tests for projects
- 3:56Good test challenges
- 5:38Testing pyramid frameworks
- 7:23Test-driven development workflow
- 9:30Effective test suite qualities
- 13:37Selecting elements in E2E
- 16:28React component testing
- 18:57Demo app overview
- 20:22WebDriver IO framework
- 23:28Setup WebDriver IO tests
- 26:18WebDriver IO test spec
- 32:45WebDriver IO pros and cons
- 33:51Cypress framework
- 35:15Setup Cypress tests
- 37:26Cypress test spec
- 41:28Cypress debugging
- 44:01Jest and Puppeteer
- 45:02Run Jest and Puppeteer tests
- 46:32Compare testing frameworks
- 47:36Q&A
related talks
01h 00mTest Driving React Applications
29mShifting-left and Right to Test a web app with CI
53mModern Web Testing: Going Beyond Selenium
18mTesting React in a Right Way
41mDesign Decisions for Perfect JavaScript Testing Framework
55mModern Web Testing: Going Beyond Selenium
45mEnd to End testing React applications
32mCrafting a Bulletproof testing pipeline for React Apps
