Workshop: From 0 to 100 with TestCafe
summary
A hands-on workshop showing how to build a TestCafe test framework from scratch using Node.js and Visual Studio Code. It covers installing TestCafe and dotenv via npm, initializing npm scripts to run Chrome or headless mode, implementing Page Object Model files, using environment-based data providers, writing expect assertions for a login flow with one happy path and four negative cases, running tests locally and in parallel, and producing HTML reports.
AI-written summary · about
chapters (18)
- 0:00TestCafe workshop intro
- 1:02Automated testing benefits
- 3:11Initial setup
- 7:52Node.js project init
- 10:20Install TestCafe
- 13:51Why choose TestCafe
- 17:30Page Object Model
- 20:44First automated test
- 27:53Waits in testing
- 32:11Element identification
- 38:12Expect assertions
- 42:58Testing best practices
- 52:50Environment variables
- 1:06:38Negative tests
- 1:13:31Null credential tests
- 1:17:26Test execution optimization
- 1:20:39Headless mode
- 1:22:12Workshop summary
related talks
49mTestCafé: Web Testing Made Easy!
02h 35mTesting from 0 to 100
01h 30mModern Web automation with TestCafe
08m"Selecting a framework that documents your product"
23mGaining Confidence with Cypress Tests
51mAdvanced Playwright Techniques for Flawless Testing
23mGaining Confidence with Cypress Tests
33mPainless JavaScript testing with CodeceptJS
