In Part 3 I introduced Cursor and why IDE tools beat CLI for QA automation. But before we go deeper into Cursor features, there is a bigger question worth answering. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐๐ฐ๐จ ๐๐ง๐ ๐ข๐ง๐๐๐ซ๐ฌ. ๐๐๐ฆ๐ ๐๐จ๐๐๐ฅ. ๐๐ข๐๐๐๐ซ๐๐ง๐ญ ๐๐๐ฌ๐ฎ๐ฅ๐ญ๐ฌ. Engineer A asks GPT-5.4 to write a login test. Gets back: a clean, structured test. Uses their proper fixtures. Follows their naming convention. Works on first run. Engineer B does the same thing. Same model. Same task. Gets back: a generic, broken test. Hardcoded credentials. No page objects. Fails immediately. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ซ ๐๐จ๐ฌ๐ญ ๐๐๐จ๐ฉ๐ฅ๐ ๐๐ฅ๐๐ฆ๐ ๐ญ๐ก๐ ๐๐จ๐๐๐ฅ "GPT is bad at tests." "GPT doesn't understand Playwright." "I need a better model." That is the wrong diagnosis. The model is not the problem. All modern models can code really well. Three other things determine quality. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ๏ธ ๐๐๐ฒ๐๐ซ ๐: ๐๐ก๐ ๐๐จ๐จ๐ฅ As covered in Part 1, you never talk to the model directly. โบ You โบ Tool โบ Model The tool decides what to send to the model. What context. What files. What history. Cursor sends your repo structure, open files, and recent edits. A chat app sends nothing. Same model. Different tool. Completely different output. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ ๐๐๐ฒ๐๐ซ ๐: ๐๐๐ฉ๐จ ๐๐ฎ๐๐ฅ๐ข๐ญ๐ฒ AI agents amplify whatever already exists in your project. Good framework? The agent writes tests that slot right in. No page objects, no fixtures, no structure? The agent writes whatever it can. Which is usually a mess. This is the hard truth: AI cannot rescue a bad codebase. It makes it worse, faster. The model is only as good as what it can see. If your repo has: โ Clear fixture files โ Consistent naming โ Reusable page objects โ Good test examples The agent pattern-matches against all of that and writes code that fits. If it sees nothing, it invents everything. Pure lottery. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ ๐๐๐ฒ๐๐ซ ๐: ๐๐ก๐ ๐๐๐ฌ๐ค ๐๐ฉ๐๐ "Write a login test" is not a task spec. It is a hint.