End-to-end testing is one of the best complements to the rapid AI-assisted coding workflows. Leveraging Cursor AI, we can even generate those E2E test to massively speed up the development while maintaining application stability.
Timecodes:
0:00 - Intro
0:56 - Why Test & Test Breakdown
1:54 - Playwright Basics
5:35 - AI E2E Test Generation Setulp
7:43 - Zero-shot Search Feature Impl + Test
9:29 - Multi-shot Complex Upload Feature Impl + Test
14:38 - One-shot Deletion Feature Impl + Test
17:01 - Authentication and Editing Tests
18:15 - Saving Authentication State for Test
19:03 - What about Unit and Integration Tests
Links:
[Installation | Playwright](https://playwright.dev/docs/intro)
[Playwright Notepad](https://gist.github.com/yifanzz/00800ecc4bc73157311b81444664616c)